VNC Remote Desktop Commands

How to access the Tesla box from a Windows box using the RealVNC viewer?

Create a Remote Display

  1. Download PuTTY.

  2. Run putty.exe.

  3. Open a SSH connection to the Tesla box (IP address: (your IP), Port: 22).

  4. Log on with your local Tesla box username and password.

  5. Start a VNC server process.

    Command: vncserver -depth 24 -geometry 1024x768

    If you run this command the first time, you will be asked to set your VNC password.

    Optional: Change the geometry setting to fit the screen size of your local box.

  6. Have a look at the output. The display number is highlighted bold here.

    New 'SCRGP2:1 (username)' desktop is SCRGP2:1
    Starting applications specified in /home/username/.vnc/xstartup
    Log file is /home/username/.vnc/SCRGP2:1.log

  7. Your VNC server process is running now. Close PuTTY using the exit command.

Access a Remote Display

  1. Download RealVNC viewer.

  2. Run vncviewer.exe on your box.

  3. Connect to your display (here: 1) at the Tesla box (IP address: (your IP)).

  4. Enter your VNC password.

Kill a Remote Display

  1. Open a SSH connection to the Tesla box (cf 1.3).
  2. Kill your VNC server process (here: display 1).

    Command: vncserver -kill :1

    Output: Killing Xvnc process ID id

  3. Close PuTTY using the exit command.