vnc-3.3.3r2_x86_linux_2.0 (Virtual Network Computing)

VNC stands for Virtual Network Computing. It is, in essence, a remote display system which allows you to view a computing 'desktop' environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures.

Many of us, for example, use a VNC viewer running on a PC on our desks to display our Unix environments which are running on a large server in the machine room downstairs.

URL: http://www.uk.research.att.com/vnc/

Installation

# tar zxvf vnc-3.3.3r2_x86_linux_2.0.tar.Z
# cd vnc_x86_linux_2.0/
# cp vncviewer vncserver vncpasswd vncconnect Xvnc /usr/local/bin
# mkdir -p /usr/local/bin/vnc/classes
# cp classes/* /usr/local/bin/vnc/classes

Run VNC Server

# vncserver :1

You will require a password to access your desktops.

Password:
Verify:

New 'X' desktop is hoge:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/hoge:1.log
  • Change color and screen area
    # vncserver :1 -geometry 800x400 -depth 4
    
  • Edit [/usr/local/bin/vncserver] to change default color, screen area and classes path
    $geometry = "1024x768";
    $depth = 8;
    ...
    $vncClasses = "/usr/local/bin/vnc/classes";
    
  • Edit [~/.vnc/xstartup] to change Xserver manager
    1. GNOME
    2. #!/bin/sh
      exec gnome-session
      
    3. KDE
    4. #!/bin/sh
      exec startkde
      
    5. No Manager
    6. xrdb $HOME/.Xresources
      xsetroot -solid grey
      xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
      twm &
      
  • Stop vncserver
    # vncserver -kill :1
    

    Run VNC Viewer

  • Run VNC Viwer on X Server
    # vncviwer
    
  • Run VNC Viwer on Browser
    http://[IP Address]:[5800+Display No]
    

  • Run VNC Viwer from Windows


    Back
    Google
    Web www.grape-info.com