![]() (Not all processes could be identified, non-owned process info If the problem persists, try to determine what process is listening on port netstat -lp | grep 5900 Furthermore, if x11vnc in its logging output gives you something other than PORT=5900 on Ubuntu you most likely already have the “vino-server” running. You can leave this line out, but not with guaranteed success. ![]() The DISPLAY=:0.0 statement sets the DISPLAY environment variable for x11vnc, telling it to use the default X session. This ensures that it will only accept local connections and not connections from the internet. The endpoint of this tunnel will be 127.0.0.1:5900 on the remote side, which is where x11vnc is instructed to listen for connections. The -L switch tells ssh to set up a local forwarding on port 5900. The connection itself can be done with a one-liner: Check your package manager.įor the server you need the openssh-server package as well as x11vnc. The setup is simple:įor the client you need nothing but ssh and a VNC client, Ubuntu comes with “vinagre” (in the menu it can be found as “Remote Desktop Viewer”) which works out of the box, but there are plenty of alternatives such as gtkvncviewer, gvncviewer and xtightviewer. ![]() This is the natural followup to the old article I wrote about tunnelling VNC from a thumb drive in Windows.
0 Comments
Leave a Reply. |