Hi all, 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. Thanks in advance
On 01/22/2013 03:52 PM, Bruce Ferrell wrote:> Hi all, > > 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.Depending on what you are really trying to accomplish, freenx/nx might be what you need (and on centos-6, the OpenNX client): http://wiki.centos.org/HowTos/FreeNX -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20130122/02dfdd53/attachment-0005.sig>
On 01/22/2013 02:15 PM, Johnny Hughes wrote:> On 01/22/2013 03:52 PM, Bruce Ferrell wrote: >> Hi all, >> >> 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. > Depending on what you are really trying to accomplish, freenx/nx might > be what you need (and on centos-6, the OpenNX client): > > http://wiki.centos.org/HowTos/FreeNXyep, I'm aware of freenx... and it drops you directly into a desktop. Not acceptable for this situation. I'm *really* trying to be dropped into a *dm (gdm/kdm) screen to log into the system
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
This might be a little off-subject but look at xrdp. That sits on top of vnc and let's you use Windows' remote desktop client to log in as any local user. On Jan 22, 2013 9:53 PM, "Bruce Ferrell" <bferrell at baywinds.org> wrote:> Hi all, > > 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. > > Thanks in advance > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Bruce Ferrell <bferrell at ...> writes:> > Hi all, > > I'm looking for pointer for setting up VNC so that access to the system is viagdm/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 directinto a desktop.> > Thanks in advance >This doe what you want - not sure if it's optimal, but by putting it in /etc/rc.local I can see gdm on reboot: x11vnc -xkb -auth guess -q -rfbauth /home/bhepple/.vnc/passwd -display :0 -clear_all -loop