terminal services prototype

Rex Dieter rdieter at math.unl.edu
Fri Jun 4 17:15:37 UTC 2004


On Thu, 3 Jun 2004, Rex Dieter wrote:

> Havoc Pennington wrote:
> 
> > Cool! How much work to get this to work with gdm as the login prompt
> > instead of vncviewer, so you auth via gdm which starts a fullscreen
> > vncviewer on the client and connects it to the server without a second
> > login? (Ignore any naive assumptions in the foregoing...)
> 
> It's pretty trivial to do that.  I've got that setup for many of our 
> boxes already.  I'll give more details tomorrow, if nobody beats me to 
> the punch.

Attached is vncts.services and vncts.xinetd.

Append vncts.services to /etc/services

Drop vncts.xinetd into /etc/xinetd.d/

Add/append-to /etc/X11/xdm/Xaccess to add:
localhost

enable XDMCP in your loginmanager 
(gdm/xdm/kdm/whatever)

restart X.

-- Rex
-------------- next part --------------
# default: off
# To use this remote vnc method: 
# * Allow local accesss to Xserver/XDMCP, add to /etc/X11/xdm/Xaccess:
#   localhost	
# Then, this server is accessible at vncviewer <server>:0-5

service vnc-1024x768x16
{
	disable		= yes 
	socket_type	= stream        
	wait		= no
	user		= nobody 
	server		= /usr/bin/Xvnc 
	server_args	= -inetd -once -query localhost -fp unix/:7100 -depth 16 -geometry 1024x768
}

service vnc-800x600x16
{
        disable 	= yes 
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -once -query localhost -fp unix/:7100 -depth 16 -geometry 800x600 
}

service vnc-640x480x16
{
        disable		= yes 
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -once -query localhost -fp unix/:7100 -depth 16 -geometry 640x480 
}

service vnc-1024x768x8
{
        disable 	= yes 
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -once -query localhost -fp unix/:7100 -depth 8 -geometry 1024x768
}

service vnc-800x600x8
{
        disable 	= yes 
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -once -query localhost -fp unix/:7100 -depth 8 -geometry 800x600 
}

service vnc-640x480x8
{
        disable 	= yes 
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -once -query localhost -fp unix/:7100 -depth 8 -geometry 640x480 
}

-------------- next part --------------
vnc-1024x768x16 5900/tcp
vnc-800x600x16  5901/tcp
vnc-640x480x16  5902/tcp
vnc-1024x768x8  5903/tcp
vnc-800x600x8   5904/tcp
vnc-640x480x8   5905/tcp


More information about the Fedora-desktop-list mailing list