LibVNC / x11vnc

a VNC server for real X displays
GNU General Public License v2.0
717 stars 139 forks source link

x11vnc as systemd service steals focus on login screen #231

Open arminfuerst opened 1 year ago

arminfuerst commented 1 year ago

I created a systemd service to start x11vnc automatically (tray mode), this is working fine even on the login screen (I'm using lightdm). There is an annoying side effect: When the service is starting, there is no system tray, so x11vnc starts the icon in a window and this window steals the focus. As x11vnc typically starts while I type the password, this results in a login-failure. I'm looking for a way to start x11vnc in a way that: