Hi Mike,
I think these steps should set you up to it.
1. Edit /etc/X11/gdm/gdm.conf to enable XDMCP.
To do this, go to the section
[xdmcp]
and set
Enable=1
2. In the /etc/services file add
vnc 5951/tcp
3. In the /etc/xinetd.d create a file called vnc as follows:
service vnc
{
flags = REUSE
socket_type = stream
port = 5951
wait = no
user = nobody
server = /usr/local/bin/Xvnc
server_args = -inetd -desktop gnome -broadcast -once -ac
-geometry 1024x768 -depth 8 -rfbwait 120000 -rfbport 5951 -httpport 5851 -co
/usr/lib/X11/rgb
}
4. run init 3 and init 5 to restart your xsession.
Please keep in mind that the port 177 should be open.
You can verify this by running netstat -nap > netstat.out as root and
verifying for this.
You should look for something like this in netstat.out
OR using this su -c "nmap -sU localhost", look for 177/udp XDMCP.
Then you should be able to login using your vncviewer yourmachine:51.
HTH,
Cheers
Pramodh
> -----Urspr|ngliche Nachricht-----
> Von: Mike Morrell [SMTP:[EMAIL PROTECTED]]
> Gesendet am: Donnerstag, 25. Oktober 2001 17:38
> An: [EMAIL PROTECTED]
> Betreff: VNC, xinted, and multiple users
>
> Can anyone please summarize again the steps to setup VNC to launch with
> xinetd on linux. I have had some troubles in the past getting it to work
> fully.
>
> I also had a related question. When I do run VNC using xinetd, does VNC
> use
> the vnc startup script and password from the home directory for the user
> it is
> running as (as specified in the xinetd.d config for vnc) or does it get it
> from some default location? Is it possible then to assign different ports
> for
> users to log into their specific accounts? Or, is there any easy way to
> get
> vnc on launch to prompt for the account to log into?
>
> Thanks,
>
> Mike
> ---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED] with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------