Now for for the exit is that a separate script?

If I want to do a /etc/init.d /vncserver start is that just

#!/bin/bash
/usr/bin/X11/vncserver -user -depth 16 -geometry 1280x1024 :1 &

and for

/etc/init.d/vncserver stop is that just

To exit,

killall Xvnc

and both of these are just executable scripts that I place in the /etc/init.d directory?


I just want to be clear so I do this right the first time.


On Aug 24, 2004, at 7:21 AM, Bryan Phinney wrote:

On Monday 23 August 2004 09:44 pm, lmcilwain wrote:
I can't seem to find any rpms so I am stuck with what I have which I
know are the latest version. I looked at the rpms that I have on my cd
but I didn't see a vnc server on it. Which is why I believe that I
downloaded thee source before.

Actually, it is called: tightvnc-1.2.9-2mdk.i586.rpm tightvnc-doc-1.2.9-2mdk.i586.rpm tightvnc-server-1.2.9-2mdk.i586.rpm

If you are looking for vnc, you are not going to find it. You need to be
looking for Tightvnc.

I didn't see an rc.d file in my init.d directory in etc so I am wondering is there another place that I can install the startup script that you guys wrote?

Sorry, that must have been a brain spasm on my part. The correct directory
is /etc/rc.d/init.d you can also get there by cd'ing to /etc/init.d which is
a symbolic link to /etc/rc.d/init.d


Is there a way to simply write a script that
points to the executable?

I suppose, although it is not as elegant or functional as the script.

#!/bin/bash
/usr/bin/X11/vncserver -user -depth 16 -geometry 1280x1024 :1 &

To exit,

killall Xvnc
--
Bryan Phinney


____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to