Is there a way to get VNC access without logging into the server manually? With the built in CentOS 6 remote desktop I can VNC to it when it's logged in, but not from the login prompt. I want to run this machine without monitor or keyboard attached eventually, so I need a way to VNC to it at the login prompt.
I used this guide.
http://wiki.centos.org/HowTos/VNC-Server
and now it doesn't work at all. Even when logged in, no response.
If it's possible to do it with the stock VNC app then great, how? If not, how do you configure tigervnc-server to do it?
I've disabled the firewall for now, so that's not a potential issue.
VNC server from startup
VNC server from startup
So what (EXACTLY) did you do?
I use the wiki instructions and it works fine - so without more info, it will hard for anyone to hazard a guess.
I use the wiki instructions and it works fine - so without more info, it will hard for anyone to hazard a guess.
Re: VNC server from startup
I did exactly what the wiki page says to do. Except for step 2.4 which it says to skip if you're running 6. No errors, the service is up and running, I can ping the server and get a response. It just doesn't respond at all when I try to VNC into it.
If I'm reading it right step 2.6.3 is how I can accomplish my goal, getting VNC access before login.
The only success I've had is before I installed tigervnc-server, just using whatever version is included in the OS. Should that be turned off or on when using tigervnc-server? I tried it both ways with no luck, but the wiki doesn't say anything about that.
If I'm reading it right step 2.6.3 is how I can accomplish my goal, getting VNC access before login.
The only success I've had is before I installed tigervnc-server, just using whatever version is included in the OS. Should that be turned off or on when using tigervnc-server? I tried it both ways with no luck, but the wiki doesn't say anything about that.
Re: VNC server from startup
Make it simpler. If the username is john
Just do
VNCSERVERS="1:john"
in /etc/sysconfig/vncservers
Now, as user john make sure it's not running
pkill vnc
(If it says permission denied, do it as root or with sudo)
pgrep vnc
You should get a command prompt back. Fine, it's stopped
As user john
vncserver
It should ask john to create a password.
Create it.
Now from client
vncviewer :1
See if that works. If not, it might be the firewall.
Just do
VNCSERVERS="1:john"
in /etc/sysconfig/vncservers
Now, as user john make sure it's not running
pkill vnc
(If it says permission denied, do it as root or with sudo)
pgrep vnc
You should get a command prompt back. Fine, it's stopped
As user john
vncserver
It should ask john to create a password.
Create it.
Now from client
vncviewer :1
See if that works. If not, it might be the firewall.
Re: VNC server from startup
Ok, when I typed vncserver in it did nothing. Didn't prompt for a password.
Now the service won't come up. It gives an error at startup, failed to start vncserver. Can't start it manually once logged in either, it just sits there.
Firewall is totally disabled.
And the built in remote desktop thing doesn't work at all now either.
Now the service won't come up. It gives an error at startup, failed to start vncserver. Can't start it manually once logged in either, it just sits there.
Firewall is totally disabled.
And the built in remote desktop thing doesn't work at all now either.