Here is a script:- su root -c "vncserver -name gnome :0" su user1 -c "vncserver -name gnome :1" .. su usern -c "vncserver -name gnome :n"
My pleasure when it works successfully. ----- Original Message ----- From: "Rao Pramodh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 11, 2001 11:44 AM Subject: Starting vncserver for more than one user on linux > Hi, > > I would automatically like to start the vncserver for "n" users on a linux > machine everytime the system reboots. > > I would like to do it as follows: > root <display:0> > user1 <display:1> > ...... > usern <display:n> > > I tried to write a script that su the username and starts the vncserver with > a command like this > su - user1 vncserver -name gnome :1 > > I got an error saying invalid su options. > > Does anybody know how to do this so that the users on this Linux server have > their sessions at any point of time. > > Any help appreciated. > > Thanks in advance > Pramodh > > > ========================================= > Pramodh Rao > Informatiker > Derendinger AG > Industriestrasse 8 > 8305 Dietlikon > Tel : +41 1 805 24 58 > Fax : +41 1 805 22 66 > mail to: [EMAIL PROTECTED] > homepage : www.derendinger.ch > ========================================= > --------------------------------------------------------------------- > 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 ---------------------------------------------------------------------
