* Wouter Vanwalleghem (2003-07-09 11:02 +0200)
> On Wed, 2003-07-09 at 04:41, Thorsten Kampe wrote:
>> I want to connect to kdm so I can log in as any user. SuSE 8.2 does
>> this easily and VNC is started via xinetd with:

>> # description: This serves out a VNC connection which starts at a KDM login
>> # prompt. This VNC connection has a resolution of 1024x768, 16bit depth.
>> service vnc10
>> {
>> type         = UNLISTED
>> port         = 5910
>> socket_type  = stream
>> protocol     = tcp
>> wait         = no
>> user         = nobody
>> server       = /usr/X11R6/bin/Xvnc
>> server_args = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16

>> I tried this setting in xdm-config 

>> ! SECURITY: do not listen for XDMCP or Chooser requests
>> ! Comment out this line if you want to manage X terminals with xdm
>> !DisplayManager.requestPort:  0

>> ...and this in kdmrc:
>> [Xdmcp]
>> Enable=true
>> Willing=/etc/X11/xdm/Xwilling
>> Xaccess=/etc/X11/xdm/Xaccess

>> ...but I'm still getting the standard ugly fvm(?) Window! Has anyone
>> ever managed to get this working?

>> Thorsten 

> Nothing to do with the ~/.vnc/xstartup script?

No, I don't even have ~/.vnc. The solution is [1] - meaning I forgot
to edit /etc/X11/xdm/Xaccess. Allthough now it works beautifully when
I start Xvnc manually with
Xvnc :42 -once -query localhost -geometry 1024x768 -depth 24

...it doesn't work when I wan't it to be started via xinetd[2]:
"Connection closed" (immediately).

The syslog shows this:
Jul  9 13:58:35 [xinetd] xinetd Version 20030122 started with libwrap loadavg options 
compiled in.
Jul  9 13:58:35 [xinetd] Started working: 3 available services
Jul  9 13:58:55 [xinetd] START: vnc10 pid=11766 from=172.31.150.150

but no reason for Xvc closing the connection...


Thorsten
[1] http://www.sourcecodecorner.com/articles/vnc/linux.asp
[2]
service vnc10
{                                                                                      
                                      
type        = UNLISTED                                                                 
                                      
port        = 5910                                                                     
                                      
socket_type = stream                                                                   
                                      
protocol    = tcp                                                                      
                                      
wait        = no                                                                       
                                      
user        = nobody                                                                   
                                      
server      = /usr/bin/Xvnc                                                            
                                      
server_args = :42 -inetd -once -query localhost -geometry 1024x768 -depth 24           
                                      
disable     = no                                                                       
                                      
}                                                                           


--
[EMAIL PROTECTED] mailing list

Reply via email to