starting multiple vncservers at bootup on solaris
Mon Nov 11 11:39:00 2002
> -----Original Message-----
> From: morry [mailto:Morry.Davis@Sun.COM]
> Thanks I got this all working with inetd now. I used dadmin
> user but the
> viewer still shows 'root's X11 desktop' I was trying to get rid of the
> reference to root.
I think your user 'dadmin' is on uid number 1. Xvnc only sees the uid, not
the name you used to login. If you alter the order in the /etc/passwd file
(put the line for 'dadmin' above the line for 'root') you might see the
On the other hand, now you have it working for root, you can try other users
in the system area like 'sys' or 'bin'.
An other idea (not so secure) is to give Xvnc the s-bin (`chmod u+s
/usr/local/bin/Xvnc` and make it root with `chown root:root
/usr/local/bin/Xvnc`) and use an other account in the /etc/inetd.conf file.
I don't know if the displayed user is the real uid or the effective uid. If
it is the real one, you get the one in the /etc/inetd.conf file, if it is
the effective one, you get the owner of the file /usr/local/bin/Xvnc.
Maybe the best idea is to make the directory for the X11 locks writable for
the world (it is most likely a subdir in /tmp and has 'X11' in the name. It
can be 'hidden' (e.g. name start with a dot '.').