Problems with VNC on Mandrake

Daugherty, William WDaugherty "at" fictx.com
Tue, 19 Mar 2002 16:06:17 +0000


Hiyas,

Well I did try running "vncpasswd" and the program executed perfectly.  It
asked me to chnage my password.  However I all it appears to do is write a
out the password in a file "/root/.vnc/passwd" so I am not for sure what
that proves.  I did try to connect from with a viewer both java and
application based and I still get a "Failed to connect to server." error
message.

What do you mean by I need to know which virtual X server I am invoking VNC.
I appologize for my lack needy questions but this is not documented very
well for trying to run on Linux.  Does anyone know where I can find some
highly detailed documentation?  Something other than the lame docs that I
downloaded from the VNC site would be prefered.  I also read the README that
came with the linux relase of VNC but I got very little usable information
related to my problem.

Thanks, 

Bill

-----Original Message-----
From: Larry Honig [mailto:larhonig "at" ix.netcom.com]
Sent: Monday, March 18, 2002 11:10 PM
To: vnc-list "at" uk.research.att.com
Subject: Re:


Try running a shell and typing "vncpasswd". If it is still running it will
prompt you for a password and then a different machine should be able to
connect
to it on :5800. I admit to being a little buffaloed myself when trying to
get
VNCserver to run on Mandrake 8.2RC1 - you need to know and specify which
virtual
X server you are invoking VNC on, and then connect to that screen. Try doing
this from inside Webmin (on the Others tab) - it may be easier.


"Daugherty, William" wrote:

> Hello,
>
> Well I am kind of stumped here while trying to run VNC on my Mandrake
Linux
> web server.  I have had several issues but I will first show you my
> progression path in try to activate the VNC server with my excerpts below
> the screen outputs.
>
> First off I thought I would just try running the "vncserver".
>
> -----
> [root "at" crichton vnc]# ./vncserver
> vncserver: couldn't find "Xvnc" on your PATH.
> -----
>
> This was strike 1 as it did not work, obviously.  So I thought to myself
> since it could not find the "Xvnc" I would just execute it manually.
>
> ----
> [root "at" crichton vnc]# ./Xvnc
> Fatal server error:
> Server is already active for display 0
>         If this server is no longer running, remove /tmp/.X0-lock
>         and start again.
> ----
>
> Well this was strike 2.  Like an idiot I went ahead below and removed the
> file in question without first finding out what it is or does.  Bad move
> normally I know.  But I was tired and I got "rm" and Enter happy.  Please
> tell me I did not screw up majorly on this one.
>
> ----
> [root "at" crichton vnc]# rm /tmp/.X0-lock
> rm: remove `/tmp/.X0-lock'? y
> [root "at" crichton vnc]# ./Xvnc
> _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
> _XSERVTransMakeAllCOTSServerListeners: server already running
>
> Fatal server error:
> Cannot establish any listening sockets - Make sure an X server isn't
already
> run
> ning
> [root "at" crichton vnc]#
> ----
>
>  Finally I have been lead to stike 3 and I am very tired so I am turning
to
> the mailing list for a hint/clue.  According to what I can make of this
last
> error message it is telling me that I cannot intiate VNC if I already have
> an X server running on the box.  If my interpretation is correct please
let
> me know.  If it is not please give me a virtual slap and point me int the
> right direction by way of advice or a link to some real documentation.
>
> I appreciate you taking the time to review my problem.
>
> Thanks,
>
> Bill
> ---------------------------------------------------------------------
> To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------