|
||||||||||
|
|
How To install VNC server?April 9, 2008 on 8:57 pm | In Installation, VNC server | 1 Comment\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ For RHEL4 For RHEL5 or Centos Edit the lines below in the file /etc/sysconfig/vncservers and add a user “test” (user should be a valid user created on your server and not just simply a name). Add a password Edit the startup script # Uncomment the following two lines for normal desktop: Go for Reboot…….(for KDE installation to take effect) When the server is back Test whether the port is listening. Open up the port 5901 in your Firewall settings. From your local machine telnet to the VNC port ———————- The server is now ready to serve the request. Connect to VNC server from your local machine. Now from the console type ————————— How To install VNCserver?
Usually Linux servers are not installed with graphical interface(only text mode). Installation of KDE or GNOME =========================== RHEL4 RHEL5 or Centos =========================== Reboot is required for this to take effect. VNC server =========================== RHEL5 or Centos The installation is over. Next part is to configure VNC. =========================== Next we need to add at least 1 VNC user, open the file /etc/sysconfig/vncservers as root and add the information —————— VNCSERVERS=”1:test”, this sets up a users for the vnc server, you can add as many as you like here. The VNCSERVERARGS[1] line refers to the arguments for user 1, in this case the only user (user should be a valid user created on your server and not just simply a name). Geometry sets the size and depth sets the colour depth The Port number is obtained 5900 + usernumber. If, for example I have 20 users to access the server. The user should in /etc/sysconfig/vncservers as VNCSERVERS=”10:newone” Setting password for vncserver Add a password that must be given before a connection can be established, open a terminal and type: —————— Edit some startup options and start the server To start the server we type the command ‘vncserver’ and the session you wish to start (if you have set up more than 1 entry in the $ vncserver :1 To start 10th user $ vncserver :10 The part below will be shown up. +++++++++++++++++++++++++ Starting applications specified in /home/test/.vnc/xstartup
———————- # Uncomment the following two lines for normal desktop: Next we need to restart vncserver to pick up the change we just made. ———————- Go for Reboot. Type the command below to start the VNC server. ———————- Test whether the port is listening. ———————- Open up the port 5901 in your Firewall settings. From your local machine telnet to the VNC port ———————- The server is now ready to serve the request. =========================== Connect to VNC server. If your local machine is running Linux (Fedora). ————————— Now from the console type vncviewer IP:5901 You need to install the VNC viewer in your local machine. If your local machine is running Windows, then please use the link to install the VNC client. http://www.internetfixes.com/remote_setup/vnc_install.htm ————————— Thats all enjoy. |
![]() Powered and designed by Presoon.com. |