> -----Original Message-----
> From: Scruggs, David [mailto:[EMAIL PROTECTED]
> I am running Solaris 8 and connecting to it from a Win 2000 machine. It
> works exactly as we need, as long as someone has previously logged in and
> started vncserver as a user, not as root.
> 
> What I want to be able to do is start Xvnc (or vncserver) as a daemon at
> system boot, and log in as the user. Right now, when I log in, it brings
up
> the Root desktop, not the user desktop. The exact same script brings up
the
> user desktop when started as the user. 
> 
> I put the start up script in /etc/rc3.d/ and made the user the owner of
the
> script, plus set the "user-id" bit on the script permissions as well as on
> the Xvnc application.  Xvnc is running as the user. 

Basically, all stuf from /etc/rc... is started as root. Change to an other
user with  `su - otheruser command`

> 
> Any ideas?

For normal users, setup as on
http://www.sourcecodecorner.com/articles/vnc/linux.asp . Most likely, you
need to only edit /etc/services and /etc/inetd.conf.

Details for Solaris: read manual on inetd.conf file, use an account for Xvnc
that can create an X11 socket (have write access to /tmp/....X11... socket
directory).

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

Reply via email to