> -----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
'dadmin' name.

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 '.').


CBee
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to