On Thu, 2006-10-12 at 14:14 -0400, Mark Shields wrote:
> On a related note, I'm looking for something similar, but I want a
> user to be presented with an xdm (or gdm) login.  Just one remote
> connection, one resolution. 

Short answer.

1. Emerge xinetd, if not already installed
2. add a vnc file to /etc/xinetd.d - mine looks like:

service vnc
{
        type            = UNLISTED
        port            = 5900
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = :42 -inetd -once -query localhost -geometry 1400x1050 
-depth 24 -fp /usr/share/fonts/misc/,/usr/share/fonts/Type1/ -co 
/usr/share/X11/rgb
        disable         = no
}

3. Enable xdmcp in your gdm/xdm configuration file
4. start/restart xdm/gdm and xinetd

Note: There are security implications with having both xdmcp and xinetd
turned on. Please make sure that you understand those risks.

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list

Reply via email to