Wow - what service! Not only has the work been done for me, but it's
delivered to my mailbox!
I have just a couple of questions, and some comments...
----- Original Message -----
From: Tim Waugh <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 21, 2001 6:11 AM
Subject: Re: Linux startup scripts for vncserver
> We have fixed display numbers per user, which is more predictable.
I agree. The other problem with my notion of using UID as display number is
that it would result in some ludicrous port numbers, some of which would
likely overlap other services. That was just a bad idea.
> > 3. create a script to kill or kill-and-restart the vnc server for a
> > single user name
>
> Okay, we don't have that.
That makes more sense as a separate script anyway. It's a command-line
activity, not a system startup activity.
> # Source function library.
> . /etc/init.d/functions
For RedHat, that would be /etc/rc.d/init.d/functions
> prog=$"VNC server"
> echo -n $"Starting $prog: "
Question: What are the dollar signs for?
> RETVAL=$?
> [ "$RETVAL" -ne 0 ] && break
I'll probably modify this to log any failed startups, and continue to start
up the other users.
Thanks!
-Lee Allen
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------