Anyone have any ideas here? Is this possible? I want to have an additional
process start in another xterm window on a vnc session that is already
created. This way it's starts on boot (following the vnc session) and when I
vnc to that session, it's already there and running.
Thanks,
James
----- Original Message -----
From: "James Pifer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 2:24 PM
Subject: Autostart additional process
> I'm using the following script that I found on the mailing list archive
for
> autostarting a VNC session for root. Is there a way for me to start an
> application in that session as well? How about a second xterm window?
>
> vnc_users="root"
> disp=1
> for user in $vnc_users
> do
> echo -e "Starting VNC server for $user (display no. :$disp)...\c"
> vncstart="/usr/bin/vncserver :$disp -depth 16 -geometry 1024x768"
> vnc_cmd="su -l $user -c \"$vncstart\" >/dev/null"
>
> if eval $vnc_cmd; then
> echo "DONE"
> else
> echo "***VNC FAILED***"
> fi
>
> disp=$(( $disp + 1 ))
> done
>
> Thanks,
> James
> ---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED] with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------