Gentoo Archives: gentoo-user

From: Paul Varner <fuzzyray@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] VNC server / windows viewer
Date: Thu, 12 Oct 2006 18:48:07
Message-Id: 1160678249.4420.5.camel@txslpc1d36.wkst.vzwnet.com
In Reply to: Re: [gentoo-user] VNC server / windows viewer by Mark Shields
1 On Thu, 2006-10-12 at 14:14 -0400, Mark Shields wrote:
2 > On a related note, I'm looking for something similar, but I want a
3 > user to be presented with an xdm (or gdm) login. Just one remote
4 > connection, one resolution.
5
6 Short answer.
7
8 1. Emerge xinetd, if not already installed
9 2. add a vnc file to /etc/xinetd.d - mine looks like:
10
11 service vnc
12 {
13 type = UNLISTED
14 port = 5900
15 socket_type = stream
16 protocol = tcp
17 wait = no
18 user = nobody
19 server = /usr/bin/Xvnc
20 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
21 disable = no
22 }
23
24 3. Enable xdmcp in your gdm/xdm configuration file
25 4. start/restart xdm/gdm and xinetd
26
27 Note: There are security implications with having both xdmcp and xinetd
28 turned on. Please make sure that you understand those risks.
29
30 Regards,
31 Paul
32 --
33 gentoo-user@g.o mailing list