Tech Support


5. Accessing VNC, SSH, using secured tunnel OPENVPN.

Overview

  • Download and Install openvpn client
  • Download required openvpn keys from your gateway server, where you can get it from your gateway page.
  • Open the openvpn profile using the openvpn client.
  • Accessing putty to start VNC server for first time on server.
  • Launch VNC Server on your computing pc.
  • Launch VNC viewer from your host/client pc.

Once you login to linux use vncserver command to launch VNC Server.

5.4 Launching VNC Server on Linux Server.

  1. Type the below command to launch the vnc server in your login on linux server.
    user1 [trishuli][~] $ vncserver -geometry 1220x720 -depth 16 -cc 4 -name "Trishuli - User-1"
    -geometry this you can set as per your requirement keep around 30px from your desktop resolution
    1. ‐geometry <widht x height>
    2. ‐depth 16/8 color depth
    3. ‐name <you can give your own naem>
  2. Once the above command is executed you will display with a available display number on the screen.

    For first time you will be asked to enter vnc password. This password is not linked with unix login.

  3. In the above snap display no is allotted with 13. To access this session, you need to launch vnc viewer from your Windows / Linux client desktop end.
  4. For first time login you will get twm session. To change this session to kde or gnome you need to edit the xstartup file, which is located in your home folder ~/.vnc/ . To open this file you can use vi/vim editor.
    [vasant][trishuli][.vnc]$ vim xstartup
    #twm & → comment this line and kde session line.
    Startkde & #for kde session
    gnome-session & # for gnome session.
    Note: You can use either one of the startkde or gnome-session. Now save the file and exit.
  5. To re-start the session login through putty kill the vncsession.
    $ vncserver ‐ kill :<your display no>
    EX: Vasant [ trishuli ][~/.vnc ]$ vncserver ‐kill :13
    Killing Xvnc process ID 20404
    Vasant [ trishuli ][~/.vnc ]$
  6. To start the vnc session do as shown in step 'i'.
  7. Now you must able to open vnc session in twm/kde/gnome, which you have set in the xstartup file.

5.5 To Launch VNC Viewer from client end.

  1. Open vncviewer
  2. To get full color, go to options select Full (all available colors)
  3. Now click on ok to connect. It will ask for password.
  4. Now your VNC Session is reqdy to USE.