You are not logged in.

#1 2020-12-11 17:46:42

AnArchUser123
Member
Registered: 2020-11-07
Posts: 7

x11vnc not working on login screen GDM

Hello,
Since the latest xorg update. x11vnc doesn't work on GDM. I get the following error message:
Dec 11 16:09:03 PC x11vnc[1032]: caught X11 error:
Dec 11 16:09:03 PC x11vnc[1032]: 11/12/2020 16:09:03 deleted 60 tile_row polling images.
Dec 11 16:09:03 PC x11vnc[1032]: X Error of failed request:  BadAccess (attempt to access private resource denied)
Dec 11 16:09:03 PC x11vnc[1032]:   Major opcode of failed request:  130 (MIT-SHM)
Dec 11 16:09:03 PC x11vnc[1032]:   Minor opcode of failed request:  1 (X_ShmAttach)
Dec 11 16:09:03 PC x11vnc[1032]:   Serial number of failed request:  57
Dec 11 16:09:03 PC x11vnc[1032]:   Current serial number in output stream:  119

Anyone know why?

Offline

#2 2020-12-13 10:08:31

AnArchUser123
Member
Registered: 2020-11-07
Posts: 7

Re: x11vnc not working on login screen GDM

For anyone else having issues with this you need to make the systemd job run as the GDM user now. X11vnc only starts if it is running as the same user who is running X11.

Offline

#3 Yesterday 22:59:05

loveisfoss
Member
Registered: Yesterday
Posts: 1

Re: x11vnc not working on login screen GDM

AnArchUser123 wrote:

For anyone else having issues with this you need to make the systemd job run as the GDM user now. X11vnc only starts if it is running as the same user who is running X11.

I registered on this forum just to thank you! I ran my command on the login screen like this.

"sudo -u Debian-gdm x11vnc -auth /.../... -rfbauth /.../... -display :0"

The user Debian-gdm does not have access to my "-rfbauth" file. But when I run the x11vnc command without it, it works! One just have to find a way to use a password file for the user "Debian-gdm", I am going to look into it.

After hours of troubleshooting and searching your solution came like manna from the sky! Thanks again! smile

Offline

Board footer

Powered by FluxBB