Setting up Tigervnc [FAILED] ?!?
Ed Greshko
Ed.Greshko at greshko.com
Sat Jan 9 00:34:35 UTC 2010
William Case wrote:
> On Sat, 2010-01-09 at 06:00 +0800, Ed Greshko wrote:
>
>> William Case wrote:
>>
>>> Hi;
>>>
>>> I think I have yummed every thing I need.
>>>
>>> What is the following warning telling me?
>>>
>>> ]# service vncserver start
>>> Starting VNC server: no displays configured
>>> [FAILED]
>>>
>>> And how do I fix it?
>>>
>>> I have checked the /etc/sysconfig/vncservers file. I don't see anything
>>> about a display. I assume something is looking for an X display:0
>>>
>>>
>> It would be useful for you to tell people what you have in your
>> vncservers file.
>>
>>
>
> Sorry Ed. I have tried and removed so many different combinations that
> I am now double thinking a simple instruction.
>
> My latest attempt:
>
> /etc/sysconfig/vncservers
> VNCSERVERS="1:bill"
> VNCSERVERARGS[1]="-geometry 800x600 -nolisten tcp -localhost"
>
First of all.... Why not try something "simple" by dumping the
VNCSERVERARGS line since it may confuse things since "nolisten tcp"
prevents X connections to your VNC server via TCP and -localhost will
prevent remote VNC clients connecting except when doing so through a
secure tunnel.
> ]# service vncserver restart
> Shutting down VNC server: [ OK ]
> Starting VNC server: 1:bill [FAILED]
>
> ( I have tried 0 and 2, 0 gives me
> ]# service vncserver start
> Starting VNC server: 0:root A VNC server is already running as :0
> [FAILED]
> ]# vncviewer (I get a screen asking for VNC server but no answer
> satisfies. Tried name/address (192.168.1.7) of other machine and get --
> main: unable connect to socket: No route to host (113))
>
Don't forget that the format of vncviewer is "vncviewer [options]
[host][:display#]"
So, if you started vncserver using VNCSERVERS="1:bill" and you start
vncviewer on the same machine with no parameters you'd use.... "localhost:1"
Remember that if you are connecting from a remote host you'll need to
change your firewall settings assuming you are running a firewall.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20100109/b1b81f79/attachment-0001.sig>
More information about the fedora-list
mailing list