Ssh -t -L 5900:localhost:5900 far-host 'x11vnc -localhost -display :0' See the FAQ for details how to tunnel the VNC connection through an encrypted channel such as ssh(1). usually "vncviewer hostname:0".īy default x11vnc will not allow the screen to be shared and it will exit as soon as the client disconnects. Machine running x11vnc and N is XXXX - 5900, i.e. One would next run something like this on the local machine: "vncviewer hostname:N" where "hostname" is the name of the Once x11vnc establishes connections with the X11 server and starts listening as a VNC server it will print out a string: PORT=XXXX where XXXX is typicallyĥ900 (the default VNC server port). Then run this in another window on the machine you are sitting at: Run this command in a shell on the remote machine "far-host"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |