VNC Server setup on Linux

Joel Sherrill joel.sherrill "at" OARcorp.com
Tue, 15 Jan 2002 18:10:55 +0000


Dumas Patrice wrote:
> 
> Hi,
> 
> I tried to do what the instructions are about in the past, but never
> succeded... I hope I will, now. Well, I tested, it works well !

Thanks all.  This certainly seems to be closer for me but I must
still be missing something.  Perhaps something broken from my previous
attempts at this.  :(

I am on RedHat 7.1

I now have gotten far enough to get a grey screen on each of the
ports I have tried but no login screen.  I am getting a message
like this in /var/log/messages each time I get a grey screen 
so I must be close. :)

<date> <host> gdm[PID]: Failed to start X server several times in 
a short time period: disabling display:0

Any ideas on something I might have missed.?

Thanks. 

--joel

> > Hi all,
> >
> > With the recent threads on setting up VNC Server on Linux systems, I have put
> > everything that Jeff Vincent said on my web site. This works for RH6.2, 7.1
> > and 7.2. If anyone has setups for other systems, it would be appreciated. If
> > you find anything wrong with it, can you let me know.
> 
> - I cannot find any 'vncserver.*' on my system (redhat 7.0 with some 7.1 and
> 7.2 packages)
> 
> - I use gdm, and not xdm nor kdm. Thus the instructions for setting up XDMCP
> are different, and are, if not wrong
> in gdm.conf, in the [xdmcp] section, there should be Enable=true
> 
> - to have xdm, gdm or kdm reread their config file, sending a SIGHUP should be
> fine.
> 
> - I suggest you to rearrange your instruction the following way: instead of 2)
> 3) and 4), only one point explaining how to set up XDMCP. For example:

According to ps eax | grep dm, I am running gdm.
 
>         3) enable XDMCP
>                 a) xdm, old kdm
>                         i) RedHat 6.2, 7.1, 7.2
>                         edit '/etc/X11/xdm/xdm-config' and comment out the line '!
> DisplayManager.requestPort: 0' (should be the last line)
>                         edit /etc/X11/xdm/Xaccess and uncomment the line '*        #any
> host can get a login window'

I did these.

>                 b) new kdm - edit 'kdmrc' and enable XDMCP on port 177
>                         i) RedHat 7.2 - '/etc/kde/kdm/kdmrc'

The only kdmrc I see is in /etc/X11/xdm and I don't know what to do to
it.  I
don't think I am running it anyway.

>                 c) gdm - edit gdm.conf and in the section [xdmcp] set Enable=true
>                         i) Redhat 7.1, 7.2 - '/etc/X11/gdm/gdm.conf'

I have set Enable=true and Enable=1 with the same resault.

> (note: maybe I said a mistake, and for the new kdm, one should also change
> Xaccess)
> 
> Pat
> ---------------------------------------------------------------------
> 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
> ---------------------------------------------------------------------

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel "at" OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985
---------------------------------------------------------------------
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
---------------------------------------------------------------------