why not just use ntsysv and check the vncserver box??? (or use services in MCC)
you will need to create a passwd for it.. log in as the user that you want to serve.. and run vncpasswd, it will create a passwd file in /home/user/.vnc I think you have to indicate which displays to create somewhere in /etc there is either a vnc directory or a vnc file, I can't remember which, but in there you can set the user.. its pretty simple.. I have it working fine on one of my boxes. rgds Frank -----Original Message----- From: [EMAIL PROTECTED] [mailto:newbie-owner@;linux-mandrake.com]On Behalf Of Derek Jennings Sent: Tuesday, 5 November 2002 9:14 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] vnc I do not know if there is a specific startup script for vnc in 8.2, but you could always put this command in a script which gets executed at boot like /etc/rc.local This line will run a single command as the named user. su username -c 'vncserver -geometry 800x600 -depth 16 :2' (just put it at the end of the file) You might find the biggest problem is getting the vncserver to shutdown cleanly so that there are no temporary files left lying about which could stop the server on the next boot. If you do have a problem precede this command with one to remove the temporary files. derek On Tuesday 05 Nov 2002 12:46 am, Patrick Griffin wrote: > sorry my mistake read all the previous mail on the subject using 8.2 > ----- Original Message ----- > From: "Derek Jennings" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, November 05, 2002 11:36 AM > Subject: Re: [newbie] vnc > > > On Monday 04 Nov 2002 11:53 pm, Patrick Griffin wrote: > > > Hi All, > > > I have sucessfully installed vnc and can make it run from the > > > desktop but how do i cinfigure it ti run as a service from start so i > > can > > > > remotley control the terminal from my windows box. > > > > If you installed Tightvnc from the mandrake 9.0 RPMs you can start vnc as > > a > > > service from boot simply by checking the box in Mandrake > > ControlCentre>System>Services. > > > > There is a configuration file in > > /etc/sysconfig/vncservers > > > > entries in there will start 1 or more vnc servers at boot. The syntax to > > use > > > is > > VNCSERVERS="1:myusername" > > > > derek > > -------------------------------------------------------------------------- - >- ---- > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com