> -----Original Message----- > From: Andrew Falanga [mailto:[EMAIL PROTECTED]]
> I'm working on getting things working under Linux (Red Hat 7.2). > There is a file, called vncservers, in /etc/sysconfig. It > might be in a > different directory on different distrobutions, but that the > file none > the less. This file has a very simple syntax. It goes like this: > > VNCSERVERS="#:uid" > > Where # == some ?login port? on the TCP stack, and uid is self > explainatory. I did as the instructions said, and changed it > as follows: > I've seen the RH-vnc stuff and I don't like it. I prefer the setup as at http://www.sourcecodecorner.com/articles/vnc/linux.asp. Anyhow, I got the RH-vnc stuff working the next way: - Create normal (unix) users to login (afalanga). - Login as that user and start `vncserver :#` (# is 1 to 60 or something) just to have it started once to create a user setup, including password. - Stop the vncserver once ageain `vncserver -kill :#` (same #) IN the file edit the line to be the next: VNCSERVERS="24:afalanga" Where the number should range from 1 to 49 and must be unique in this VNCSERVERS list. The uid is as you'd expect the unix user. For more users, separate them with spaces (VNCSERVERS="7:me 9:you 24:afalanga") Now use the vncserver init script to start all servers at once: `/etc/rc.d/init.d/vncserver start` and the vncserver for the user (afalanga) is at the given display number (:24). Optionally have it started at system start in your runlevel. See the sysadmin tools for details here. THis (rh) setup has one advantage: a vncserver is started at systemboot for every user that is configured as shuch. THe disadvantages are many: if this server is killed somehow, it is not restarted and since there is no need to reboot a proper configured linux machine at any time, it's not automatically restarted. Then there is the resources issue: the vncserver is always started for all users in the list. This is Xvnc and all the apps in there including windowmanagers and such. The sourcecodecorner setup only starts the vnc and windows stuf as it is required. CBee --------------------------------------------------------------------- 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 ---------------------------------------------------------------------
