User Tools

Site Tools


infrastructure:vnc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
infrastructure:vnc [2025/10/02 10:37] pmaniainfrastructure:vnc [2025/11/13 09:49] (current) pmania
Line 109: Line 109:
 <code> <code>
 # on your client machine # on your client machine
-ssh USERNAME@REMOTE.SERVER.IP -t -t -L 5902:localhost:5902  "x0vncserver -localhost -passwordfile ~/.vnc/passwd -fg -display :2"+ssh USERNAME@REMOTE.SERVER.IP -t -t -L 5901:localhost:5901  "x0vncserver -localhost -passwordfile ~/.vnc/passwd -fg -display :1"
 </code> </code>
 Please let this command and the terminal running it open while you want to work with VNC. Please let this command and the terminal running it open while you want to work with VNC.
Line 124: Line 124:
 In the tigervnc-viewer, first open the options and set the compression to 'auto'. In the security options, allow Encryption:None if it is not ticked already. In the tigervnc-viewer, first open the options and set the compression to 'auto'. In the security options, allow Encryption:None if it is not ticked already.
 Afterwards, you can enter '**localhost**' in the connection dialog and hit Connect if you're on Ubuntu 20.04. Afterwards, you can enter '**localhost**' in the connection dialog and hit Connect if you're on Ubuntu 20.04.
-For 24.04, please enter '**localhost:2**'.+For 24.04, please enter '**localhost:1**'.
 Please note: Please __do not__ enter the IP address of your remote machine here, but really 'localhost'. This works, because we have a SSH tunnel running (see above). Please note: Please __do not__ enter the IP address of your remote machine here, but really 'localhost'. This works, because we have a SSH tunnel running (see above).
  
Line 130: Line 130:
  
 ====Errors related to the display==== ====Errors related to the display====
-Depending on your system, using display :might not work. You can try to use :instead. In order to do that:+Depending on your system, using display :might not work. You can try to use :instead. In order to do that:
   * Change the both ports in the ssh commands to 5900+DISPLAYNUMBER. Example: for display :2, both ports should be 5902. for display :1, both parts should be 5901.   * Change the both ports in the ssh commands to 5900+DISPLAYNUMBER. Example: for display :2, both ports should be 5902. for display :1, both parts should be 5901.
   * Change the -display parameter at the end of the ssh command.   * Change the -display parameter at the end of the ssh command.
infrastructure/vnc.txt · Last modified: by pmania

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki