vncserver startup at boot
Rick Stevens
rstevens at vitalstream.com
Thu Feb 19 19:13:40 UTC 2004
Stewart Walker wrote:
> if I run vncserver as root.. viewer works fine. If I run it as a service
> viewer responds with failed to connect to server.
> I think its due to not finding the files vncserver creates in the
> /root/.vnc directory.
>
> How do I fix this?
Er, how do you mean "run it as a service"? If you simply run Xvnc, it
should create the necessary stuff and detatch. You should then be able
to get at it from any client if your firewall allows it.
If you want to run Xvnc from xinetd, make sure you specify the "-inetd"
option in the "serverargs =" bit.
Also, make sure you use the ":displaynumber" stuff on the host name if
the display is anything but ":0" or it surely won't work.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- "You think that's tough? Try herding cats!" -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list