> -----Original Message-----
> From: Michael Khusid [mailto:[EMAIL PROTECTED]]
> 
> Folks, I tried to make vnc start as a non-root and I had little luck.
> Could anyone please help me?
> 
>  
> 
> The script runs perfectly from interactive shell. but when I 
> am running
> it from rc.d, it comes out with the xauth not found in the path error.
> The system is Solaris 8.

Generally, actions from rc.d (or init or init.d, which are the same)
generally don't do a login, the just do a 'su' to change the rights and end
up with a strange, minimal or alternate environment.

The best thing I have found for this purpose is this setup: 
http://www.sourcecodecorner.com/articles/vnc/linux.asp
It starts Xvnc from inetd, not from init.



I guess the vncserver package in RedHat 7.2 has something like you try to
startup. You can get those packages from www.redhat.com or ftp.redhat.com.
This has several flaws and I prefer the inetd approach.

An other idea is to do a command like `rsh localhost -l <user> vncserver :7`
This does a login as the user's and then starts vncserver as if the user
does it manually.

The startup problems on Solaris have been addressed before, check the
archive to find a permanent solution.



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

Reply via email to