Working Remotely

Important

  1. Visit https://netid.rutgers.edu/ and choose the link for Service Activation in the left-hand navigation.
  2. Choose Remote Access VPN, Cisco AnyConnect Access for Rutgers. If you are not already signed up for two-step login with Duo, instructions will be provided to sign up as part of this process.
  3. Download the Cisco AnyConnect software at https://vpn.rutgers.edu.

 

Establish a VPN connection and follow the below steps.

 

Enabling remote desktop on your office linux computer

  1. Open putty
  2. For Hostname enter the full hostname of your office computer
  3. Enter the same for Saved Sessions
  4. Click Save
  5. Click Open to start an ssh session to your office linux computer
  6. Run the following commands. Say no to View-only password
    • vncpassd
    • vncserver :1
  7. If the computer is rebooted you only need to rerun the vncserver command.

remote desktop to linux from windows 1

 

remote desktop to linux from windows 2

 

Creating an ssh tunnel from remote machine to office linux machine

  1. Open putty
  2. Under Category go to Connection, SSH, Tunnels
    • Enter 5901 for the Source Port
    • Enter 127.0.0.1:5901 for the Destination
    • Click Add

      remote desktop to linux from windows 3

  3. Under Category go to Session
    • Enter the Hostname or IP of your office machine
    • Enter Hostname_Tunnel in Saved Sessions
    • Click Save to save the tunnel configuration
  4. Click Open
  5. Log in as you normally would. Leave this session running as it the ssh tunnel for VNC.

remote desktop to linux from windows 4

 

Viewing the remote desktop of your office linux computer

  1. Install and start your vnc client software (tightvnc, vncviewer, etc)
  2. Enter the 127.0.0.1::5901 as the remote host and click connect
  3. Enter the password when prompted.
  4. Your desktop should now be visible.

remote desktop to linux from windows 5

 

remote desktop to linux from windows 6