Cannot use x11vnc with Slackware64 current
by Dan Suson from LinuxQuestions.org on (#6HZAA)
I am doing my annual upgrade and have installed the 12/21/2023 version of Slackware64 current, along with some packages from Ponce's SlackBuild repository and others that I have obtained directly. One of the SlackBuild packages that I install early in the process is x11vnc. This allows me to continue installing additional packages without having to be at my desk. Up to this installation, I've never had trouble with x11vnc. I modified /etc/ssh_config so that ForwardX11 yes is turned on, /etc/sshd_config so that it has
Code:Match User XXXX
X11Forwarding yes
X11UseLocalhost yeswhere XXXX is my userid, and restarted the ssh daemon. I'm able to forward X11 windows to a client machine if I log in via
Code:ssh -Y mycomputerURLbut when I try to set up a VNC session via
Code:ssh -Y -L 5900:localhost:5900 mycomputerURL 'x11vnc -localhost -display :0 -nopw -nodamage'I get an error message telling me that
Code:XOpenDisplay (":0") failed.
Trying again with XAUTHLOCALHOSTNAME=localhost ...
Authorization required, but no authorization protocol specifiedThis is the same command amd ssh structure that I was successfully using prior to the upgrade. Has something changed that I'm not aware of? I have a .Xauthority file on my client and host, so I'm not sure what the error message is referring to. Any help is appreciated.
Code:Match User XXXX
X11Forwarding yes
X11UseLocalhost yeswhere XXXX is my userid, and restarted the ssh daemon. I'm able to forward X11 windows to a client machine if I log in via
Code:ssh -Y mycomputerURLbut when I try to set up a VNC session via
Code:ssh -Y -L 5900:localhost:5900 mycomputerURL 'x11vnc -localhost -display :0 -nopw -nodamage'I get an error message telling me that
Code:XOpenDisplay (":0") failed.
Trying again with XAUTHLOCALHOSTNAME=localhost ...
Authorization required, but no authorization protocol specifiedThis is the same command amd ssh structure that I was successfully using prior to the upgrade. Has something changed that I'm not aware of? I have a .Xauthority file on my client and host, so I'm not sure what the error message is referring to. Any help is appreciated.