User Tools

Site Tools


vnc

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vnc [2020/03/13 13:35]
jansen [Starting the viewer]
vnc [2020/06/04 07:04] (current)
jansen [Setting up port forwarding manually]
Line 27: Line 27:
 ===== Starting a session ===== ===== Starting a session =====
 ---- ----
-A VNC session is started using the command **''​vncserver ​-localhost''​**. The first time you run this command, it will ask you for a password, as an additional security measure (this password can later be changed using the vncpasswd command, or by removing **''​~/​.vnc/​passwd)''​** ​+A VNC session is started using the command **''​vncserver''​**. The first time you run this command, it will ask you for a password, as an additional security measure (this password can later be changed using the vncpasswd command, or by removing **''​~/​.vnc/​passwd)''​** ​
  
 Suppose your desktop is named **''​eendracht.strw.leidenuniv.nl''​** (so, replace this name with the name of your desktop wherever it is appropriate). The vncserver command will then print out a message like this: Suppose your desktop is named **''​eendracht.strw.leidenuniv.nl''​** (so, replace this name with the name of your desktop wherever it is appropriate). The vncserver command will then print out a message like this:
Line 49: Line 49:
 There is a graphical interface to start the viewer and set options, this is calles tsclient (or Terminal Service Client in the menu). This same program can also interface to Windows terminal services so make sure to select "​VNC"​ as the protocol. ​ There is a graphical interface to start the viewer and set options, this is calles tsclient (or Terminal Service Client in the menu). This same program can also interface to Windows terminal services so make sure to select "​VNC"​ as the protocol. ​
  
-For accessing a VNC session running on another computer (either at the observatory,​ or somewhere else in the world), our Fedora desktop computers come with a list of VNC vieuwers ​to choose from:+For accessing a VNC session running on another computer (either at the observatory,​ or somewhere else in the world), our Fedora desktop computers come with a list of VNC viewers ​to choose from:
  
   * vncviewer: the basic commandline viewer (part of TigerVNC)   * vncviewer: the basic commandline viewer (part of TigerVNC)
Line 88: Line 88:
   ssh -NfL 5901:​127.0.0.1:​5901 user@remote.host.domain   ssh -NfL 5901:​127.0.0.1:​5901 user@remote.host.domain
 This forwards local port 5901 to port 5901 on the remote computer This forwards local port 5901 to port 5901 on the remote computer
 +
 +If you would like to configure port forwarding through a gui, good choices are: ''​putty''​ for Windows and Linux, ''​bitvise''​ for Windows; or ''​ssh tunnel manager''​ for Mac OS X
  
  
vnc.1584106514.txt.gz ยท Last modified: 2020/03/13 13:35 by jansen