Re: VNCsever not starting at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





Craig White wrote:
On Thu, 2007-12-06 at 18:10 -0500, Robert Moskowitz wrote:
Craig White wrote:
On Thu, 2007-12-06 at 17:11 -0500, Robert Moskowitz wrote:
Craig White wrote:
On Thu, 2007-12-06 at 16:34 -0500, Robert Moskowitz wrote:
When I run system-config-services, it shows vncserver set to start at boot.

in /etc/inittab I have init 3

vncserver does not start at boot.

I log in on the console as root and

service vncserver start

and it starts with some warning messages about bad display name in "add" command, but I do not see where these are logged to copy them into this message.

Once I start it from the console, I have trouble using the vnc client to access the server.

I really need for the vncserver to start at boot, as I want it to run in a place with no monitor or keyboard....
----
I don't recall there being an issue vs runlevel 3 or 5

First off, nx is a much better way to go
yeah, but that will take a bit of work. At least when I look at it back in the summer, it was not just a drop in as vnc has ALMOST been.
Anyway...what's contents of /etc/sysconfig/vncserver ? Is it configured?
Only thing I have configured is the vncservers= line

and for ~/.vnc I have run vncpasswd to set the password and edited the xstartup file to run gnome instead of X:

For Gnome, replace "twm &" with "exec gnome-session &"

also uncommented the two lines in xstartup for 'normal desktop'. Didn't notice any difference though,
----
service vncserver restart should be all that you need then
And how do I do that without logging into the console? My goal is I boot the system up, and then over the network I remote into the server. I suppose I could 'cheat' and have webmin running....
----
you issue 'service vncserver restart' command from any command line
(i.e. ssh)
I see, of course sshd is running, so I can ssh in, restart vncserver then run vnc client. Kind of cludgy, as why is vncserver NOT starting at boot?
VNC does not have any encryption built in so remember, if you are using
over any network, your login/passwords/traffic are not encrypted.
'They' tell you to run vnc at localhost, and ssh tunnel for the security. But one senario of use has the server connected to the client via a crossover cable, so I am not concerned about packet sniffing!
FreeNX handles all that for you PLUS it gives you really nice data
compression (better performance over limited bandwidth).
I will be getting back to FreeNX. I am SOOO far behind on SOOO many projects. I just needed some remote login working right now already.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux