Hello everyone,
Following the directions I found here: http://wiki.centos.org/HowTos/VNC-Server
I get to part 2.4, and when I start the vncservice, I get this error message:
Starting VNC server: 1:blah Invalid null command. if: Expression Syntax. A VNC server is already running as :1 else: endif not found. [FAILED]
If I stop it, and then restart it, I get the same error message. "blah" has been changed for security purposes on this email, but the real name is a valid user. I want to be on window "0", not 1.
Any tips or suggestions would be greatly appreciated!
Gilbert
******************************************************************************* Gilbert Sebenste (My opinions only!) *******************************************************************************
On Tue, 8 Oct 2013 16:56:39 -0500 (CDT) Gilbert Sebenste wrote:
I get to part 2.4, and when I start the vncservice, I get this error message:
Starting VNC server: 1:blah Invalid null command. if: Expression Syntax. A VNC server is already running as :1 else: endif not found. [FAILED]
Where do you get an "if" and "else" in the /etc/sysconfig/vncservers file?
All you really need is one line. For example, here is what it says in /etc/sysconfig/vncservers on one system that I log into all the time:
VNCSERVERS="1:frankcox"
That's it and that's all, folks. If you're trying to do something else your problem is with that something else, not with vncserver.
. I want to be on window "0", not 1.
Now that is something else. I assume that you mean you want to control the local desktop with vnc, right? I have never done that myself, but running "vnc display 0" through google gives a lot of hits to various howtos which will probably get you where you're going.
On Tue, 8 Oct 2013, Frank Cox wrote:
On Tue, 8 Oct 2013 16:56:39 -0500 (CDT) Gilbert Sebenste wrote:
I get to part 2.4, and when I start the vncservice, I get this error message:
Starting VNC server: 1:blah Invalid null command. if: Expression Syntax. A VNC server is already running as :1 else: endif not found. [FAILED]
Where do you get an "if" and "else" in the /etc/sysconfig/vncservers file?
All you really need is one line. For example, here is what it says in /etc/sysconfig/vncservers on one system that I log into all the time:
VNCSERVERS="1:frankcox"
That's it and that's all, folks. If you're trying to do something else your problem is with that something else, not with vncserver.
I just did this...and I get the same error message. (Shrug)
. I want to be on window "0", not 1.
Now that is something else. I assume that you mean you want to control the local desktop with vnc, right? I have never done that myself, but running "vnc display 0" through google gives a lot of hits to various howtos which will probably get you where you're going.
OK, but first things first...I am totally stumped. My Google-fu didn't help on this one, either.
Gilbert
******************************************************************************* Gilbert Sebenste (My opinions only!) *******************************************************************************
On Tue, 8 Oct 2013 17:15:22 -0500 (CDT) Gilbert Sebenste wrote:
I just did this...and I get the same error message. (Shrug)
Ok, you installed the tigervnc-server rpm and after that you changed some configuration files. What files did you change, and EXACTLY what were the changes that you made?
vnc is usually dead-dog simple to get up and running.
I'm very sorry...I accidentally deleted a response to my email, and it was a good one. Someone (Frank C.?) stated that it should be straightforward...do a few things, and BAM! It just works!
And that is exactly what I have experienced with CentOS 5. But with 6...it's like pulling teeth. I followed the smae instructions that got me working with 5...I don't know why I am getting the errors with 6.
Gilbert
Where do you get an "if" and "else" in the /etc/sysconfig/vncservers
file?
All you really need is one line. For example, here is what it says in /etc/sysconfig/vncservers on one system that I log into all the time:
VNCSERVERS="1:frankcox"
That's it and that's all, folks. If you're trying to do something else
your
problem is with that something else, not with vncserver.
I just did this...and I get the same error message. (Shrug)
. I want to be on window "0", not 1.
Now that is something else. I assume that you mean you want to control
the
local desktop with vnc, right? I have never done that myself, but
running "vnc
display 0" through google gives a lot of hits to various howtos which
will
probably get you where you're going.