Re: How to setup VNC for GDM access on 6.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Bruce Ferrell wrote:
>I'm looking for pointer for setting up VNC so that access to the system
>is via gdm/kdm.  Yes, I know about vino, and /etc/sysconfig/vncservers
>but what I'm looking for is a sertup that allows me to see the *dm login
>screen instead of being dropped direct into a desktop.

I set this kind of thing up many years ago on CentOS 4.  I was curious to
see if it still worked on CentOS 6 and found that this works for me:

   Edit /etc/gdm/custom.conf to add 'Enable=true' to the '[xdmcp]'
   section.  Restart gdm.  (I just did 'telinit 3; telinit 5'.)

   Run this command to start a server:

   /usr/bin/Xvnc :1 -query localhost -geometry 1100x850 -securitytypes none &

Given a properly configured (or disabled) firewall you should then be able
to run 'vncviewer hostname:1' to get a login screen.

Once you've logged in the session will persist even if you close vncviewer,
so you can reconnect later.  This is, of course, hopelessly insecure.

Starting Xvnc from xinetd is also possible, but then sessions aren't
persistent.

For some reason that I've never been able to fathom if you log out from
a persistent session there's an annoying delay until the login screen
reappears.

Ron
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux