Oh, dear. It looks like something is pretty messed. See what you get by
doing the following (as root):

rm -rf /tmp/.X*
killall -9 Xvnc
killall -9 X
/etc/rc.d/init.d/vncserver restart

On Tue, 2001-12-11 at 01:10, Mufit Eribol wrote:
> Ok. Here is the exact commands and errors I get:
> 
> Name of the linux server=linux
> Name of the Win98=mufit
> 
> 1.    Linux runs vncserver as a service automatically
> 2.    I boot Linux to console (X is not running) Level 3
> 3.    I run vncviewer from Win98
> 4.    When I enter linux:0 (or whatever the number I give 1,2,3,4,...) on
> the viewer, I get "Failed to connect to server" message
> 5.    The network (TCP/IP) works ok if I telnet to the linux
> 6.    I telnet to the linux box, and run startx as user. I get "can not
> start X server. Perhaps you do not have console ownership..."
> 7.    I use su, then vncserver :0, vncserver: 1, vncserver :2, vncserver :3,
> vncserver :4. All of them gives "A vncserver is already running as
> :(0/1/2/3)
> 8.    I still can not connect using the viewer. I get "Failed to connect to
> server".
> 9.    When do vncserver :5, I get "Starting applications specified in
> /root/.vnc/xstartup, Log file is /root/.vnc/linux.deltagrup.com.tr:5.log"
> 10.    Then It becomes possible to connect using linux:5 and by entering the
> password. I see the the screen of KDE which is just starting.
> 
> *Could you please explain me why I can not connect with linux:0/1/2/3/4 if
> a vncserver is already running on that display.
> *I don't want to run X on the server all the time, but I prefer using vnc
> instead of telnet. Is it possible?
> *(off topic) How can I start X when I telnet to the linux server as a user?
> ( I get "console ownership" message)
> 
> Your help is appreciated.
> 
> Mufit
> 
> ----- Original Message -----
> From: "ScanMan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 11, 2001 3:01 AM
> Subject: Re: Basic (newbie) questions for VNC setup
> 
> 
> > Please tell exactly what commands you are typing and the errors you get.
> >
> > On Mon, 2001-12-10 at 15:49, Mufit Eribol wrote:
> > > I have a Mandrake 8.1 box with vncserver running as an automatic
> service. It
> > > is possible to telnet from Win98 on the same TCP/IP LAN to the Linux
> without
> > > any problem.
> > >
> > > However, connecting using VNC client (for Windows) is another story. It
> > > normally refuses connection, but sometimes with many running vncservers
> on
> > > the linux side and trials on the windows, it may connect.
> > >
> > > Please help me understand the system by answering the following
> questions:
> > >
> > > 1. Do I have to run X on the server side? Or is it possible to view just
> the
> > > console on the linux without X using VNC client on windows side?
> > >
> > > 2. vncserver automatically starts as a service at the boot on linux.
> However
> > > it seems that I have to run many more vncservers with different display
> > > numbers to connect. Isn't one instance of vncserver service which
> normally
> > > starts at the boot sufficient for the purpose?
> > >
> > > 3. What is the display number of the vncserver which automatically
> starts on
> > > linux?
> > >
> > > Thank you for your kind help and hints.
> > >
> > > Mufit
> ---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED] with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to