These are instructions I use install VNC on Linux. They work great. Good
luck.
VNCSERVER Configuration on Linux
To upgrade from an existing system to 3.3.7
Step 1 - Back up important files / Remove existing install
a) save the init script
# cp /etc/rc.d/init.d/vncserver /root
b) remove the vnc common rpm from the system
# rpm -e vnc
c) remove the vncserver rpm from the system
# rpm -e vncserver
Step 2 - Install the source RPM
a) obtain the 3.3.7 rpm file
b) install the source rpm
# rpm -ivh vnc-3.3.7-1.src.rpm
Step 3 - Build the source RPM into a binary RPM
a) go to the spec directory
# cd /usr/src/redhat/SPECS
b) build the binary RPM
# rpmbuild -bb vnc.spec
Step 4 - Install the new binary RPM
a) go to the rpm directory
# cd /usr/src/redhat/RPMS/i386
b) install the rpm
# rpm -ivh vnc-3.3.7-1.i386.rpm
Step 5 - Restore the init script and start
a) move the init script back (get file from LTSP server by scp. #scp
hostname:/etc/rc.d/init.d/vncs*)
# mv /root/vncserver /etc/rc.d/init.d
b) restore the link to start it automatically
c) start vnc (only do step c if VNC is already installed on box)
# /etc/rc.d/init.d/vncserver start
# ln -s /etc/rc.d/init.d/vncserver
/etc/rc.d/rc3.d/S35vncserver
1.First make sure that the installation of linux has included the vncserver.
If not download from http://www.realvnc.com/ or you could try loading it
again in server settings and services in XWindows.
2.Go to /etc/sysconfig
3.Edit vncservers
4.Go down to the line that says #VNCSERVERS=1:myusername"
5.Go to the next line and type
6.VNCSERVER="1:username" (example root). Make a space before the quotes if
you want to add another user and type 2:username, etc.
7.In the next line type ARGUS="geometry 1024x768 -alwaysshared "
8.Save
9.Make sure there is a file in /etc/init.d. IT should be called vncserver
10.Then type /etc/init.d/vncserver start
11.Sometimes you need to put in the vnc password before it will start
12.Type vncpasswd
13.Type in password.
14.Lastly type /etc/init.d/vncserver restart
Magdalena Hernandez
Network Consultant
Westline Medical Management
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 5:09 PM
To: [EMAIL PROTECTED]
Subject: How to add vnc starting to the service
Hi:
I installed vnc3.3.7 on linux,and vncviewer : win2000,
but every time when I restart my linux ,I must start the vncserver
manualy,I want to make it auto start when my computer restaring,
what should I do?
Thanks
---------------------------------
Do You Yahoo!?
[EMAIL PROTECTED]&SP>!SP#,"R;KQ"[EMAIL PROTECTED]<!"Q^M<:M?aM<
100UWSJOd9;2;9;SC#?QE;"5gSJWTVz@)H]#!
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list