Red Hat Topics - Enterprise KDM XDMCP problem

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > September 2006 > Enterprise KDM XDMCP problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Enterprise KDM XDMCP problem
Lars Madsen

2006-07-18, 7:13 am


has anyone succeeded in getting KDM work work with XDMCP requests in RH
Enterprise 4?

I can get GDM to respond just fine, but not KDM (and I need KDM for various reasons)

--

/daleif (remove RTFSIGNATURE from email address)
Ivan Marsh

2006-07-18, 1:15 pm

On Tue, 18 Jul 2006 10:54:53 +0200, Lars Madsen wrote:


> has anyone succeeded in getting KDM work work with XDMCP requests in RH
> Enterprise 4?


Yes.

> I can get GDM to respond just fine, but not KDM (and I need KDM for various reasons)


Do you have XDM enabled in /etc/X11/xdm/kdmrc ?



--
The USA Patriot Act is the most unpatriotic act in American history.
Feingold-Obama '08 - Because the Constitution isn't history,
It's the law.

Lars Madsen

2006-07-18, 1:15 pm

Ivan Marsh wrote:
> On Tue, 18 Jul 2006 10:54:53 +0200, Lars Madsen wrote:
>
>
>
>
>
> Yes.
>
>
>
>
> Do you have XDM enabled in /etc/X11/xdm/kdmrc ?
>


XDM ???

I have XDMCP enabled in kdmrc

(as far as I can see from my GDM chooser log, KDM never responds when it gets a
request for a login manager, it does respond to chooser broadcast, but nothing
happens when I click the server entry in the chooser, at least nothing other
than a gray display)

--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
Lars Madsen

2006-07-21, 7:14 am


>
> XDM ???
>
> I have XDMCP enabled in kdmrc
>
> (as far as I can see from my GDM chooser log, KDM never responds when it
> gets a request for a login manager, it does respond to chooser
> broadcast, but nothing happens when I click the server entry in the
> chooser, at least nothing other than a gray display)
>


any other ideas?

--

/daleif (remove RTFSIGNATURE from email address)
ivanmarsh

2006-08-17, 7:12 pm

Lars Madsen wrote:
>
> any other ideas?


Hey Lars,

Yea... XDMCP is what I meant.

I've been playing around with this issue trying to duplicate the
results you're getting and I may have it figured out.

If your /etc/sysconfig/desktop file doesn't include both of these
lines:
DISPLAY=KDE
DISPLAYMANAGER=KDE

You will end up with the results you described.

Lars Madsen

2006-08-30, 7:14 am


> Hey Lars,
>
> Yea... XDMCP is what I meant.
>
> I've been playing around with this issue trying to duplicate the
> results you're getting and I may have it figured out.
>
> If your /etc/sysconfig/desktop file doesn't include both of these
> lines:
> DISPLAY=KDE
> DISPLAYMANAGER=KDE
>
> You will end up with the results you described.
>


Nope doesn't help, I still get a gray screen as usual.

currently /etc/sysconfig/desktop contains this:

DISPLAY=KDE
DESKTOP=KDE
DISPLAYMANAGER=KDE
#DISPLAYMANAGER="GNOME"

and kdmrc contains this:
[General]
PidFile=/var/run/kdm.pid
Xservers=/usr/share/config/kdm/Xservers


[Shutdown]
#BootManager=None
HaltCmd=/sbin/halt
RebootCmd=/sbin/reboot

[X-*-Core]
AllowNullPasswd=true
AllowRootLogin=true
AllowShutdown=None
AutoReLogin=false
AutoLoginEnable=false
ClientLogFile=.xsession-errors-%s
Reset=/usr/share/config/kdm/Xreset
Session=/usr/share/config/kdm/Xsession
Setup=/usr/share/config/kdm/Xsetup
Startup=/usr/share/config/kdm/Xstartup
Authorize=false


[X-*-Greeter]
#AntiAliasing=true
#ColorScheme=kubuntuColours
#EchoMode=OneStar
#FaceSource=AdminOnly
#FailFont=Sans Serif,10,-1,5,75,0,0,0,0,0
#GUIStyle=Windows
#GreetFont=Serif,20,-1,5,50,0,0,0,0,0
#GreetString=Welcome to Wendell Library
#GreeterPos=50,50
#Language=en_US
#LogoArea=Logo
#LogoPixmap=/opt/ltsp/templates/images/k12ltsp.png
#MaxShowUID=29999
#MinShowUID=1000
#Preloader=/usr/bin/preloadkde
#StdFont=Sans Serif,10,-1,5,50,0,0,0,0,0
#Theme=/usr/share/apps/kdm/themes/kubuntu
#UseBackground=true
#UseTheme=true
#UserCompletion=false
#UserList=true
#NumLock=On

[X-:*-Core]
#AllowNullPasswd=true
#AllowShutdown=Root
#NoPassEnable=false
#NoPassUsers=
#ServerArgsLocal=-nolisten tcp
#ServerCmd=/usr/bin/X -br

[X-:*-Greeter]
#AllowClose=false
#DefaultUser=admin
#FocusPasswd=false
#LoginMode=DefaultLocal
#PreselectUser=None

[X-:0-Core]
#AutoLoginAgain=false
#AutoLoginDelay=0
#AutoLoginEnable=false
#AutoLoginLocked=false
#AutoLoginUser=


[Xdmcp]
Enable=true
Willing=/usr/share/config/kdm/Xwilling
Xaccess=/usr/share/config/kdm/Xaccess


--

/daleif (remove RTFSIGNATURE from email address)
Ivan Marsh

2006-08-30, 1:14 pm

On Wed, 30 Aug 2006 13:35:12 +0200, Lars Madsen wrote:

>
> Nope doesn't help, I still get a gray screen as usual.
>
> currently /etc/sysconfig/desktop contains this:
>
> DISPLAY=KDE
> DESKTOP=KDE
> DISPLAYMANAGER=KDE
> #DISPLAYMANAGER="GNOME"
>
> and kdmrc contains this:
>
> [Xdmcp]
> Enable=true
> Willing=/usr/share/config/kdm/Xwilling
> Xaccess=/usr/share/config/kdm/Xaccess


Damn.

Well, other than that the only other file you should have to check is
/etc/X11/xdm/xdm-config

and make sure the last line (DisplayManager.requestPort:0) is commented
out.

--
The USA Patriot Act is the most unpatriotic act in American history.
Feingold-Obama '08 - Because the Constitution isn't history,
It's the law.

Lars Madsen

2006-08-31, 7:14 am


> Damn.
>
> Well, other than that the only other file you should have to check is
> /etc/X11/xdm/xdm-config
>
> and make sure the last line (DisplayManager.requestPort:0) is commented
> out.
>


it is by default

we don't know what's going on either.

--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
Ivan Marsh

2006-08-31, 1:15 pm

On Thu, 31 Aug 2006 09:57:07 +0200, Lars Madsen wrote:

>
> it is by default
>
> we don't know what's going on either.


This is a real head scratcher.

Have any changes been made to /etc/X11/prefdm?

--
The USA Patriot Act is the most unpatriotic act in American history.
Feingold-Obama '08 - Because the Constitution isn't history,
It's the law.

Lars Madsen

2006-08-31, 7:19 pm

Ivan Marsh wrote:
> On Thu, 31 Aug 2006 09:57:07 +0200, Lars Madsen wrote:
>
>
> This is a real head scratcher.
>
> Have any changes been made to /etc/X11/prefdm?
>


Not that I know of:

#!/bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin


# shut down any graphical boot that might exist
if [ -x /usr/bin/rhgb-client ]; then
/usr/bin/rhgb-client -quit
fi

# We need to source this so that the login screens get translated
[ -f /etc/profile.d/lang.sh ] && . /etc/profile.d/lang.sh

# Run preferred X display manager
preferred=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop
if [ "$DISPLAYMANAGER" = GNOME ]; then
preferred=gdm
elif [ "$DISPLAYMANAGER" = KDE ]; then
preferred=kdm
elif [ "$DISPLAYMANAGER" = XDM ]; then
preferred=xdm
fi
fi

shopt -s execfail

[ -n "$preferred" ] && exec $preferred "$@" >/dev/null 2>&1

# Fallbacks, in order
exec gdm "$@" >/dev/null 2>&1
exec kdm "$@" >/dev/null 2>&1
exec xdm "$@" >/dev/null 2>&1

# catch all exit error
exit 1


/daleif
Ivan Marsh

2006-09-01, 1:16 pm

On Thu, 31 Aug 2006 23:36:41 +0200, Lars Madsen wrote:

> Ivan Marsh wrote:
>
> Not that I know of:


Looks like it's unchanged.

If you run:
ps aux | grep kdm
does it show kdm running at all?

If not try running kdm as root in at the console and then see if you can
get a remote connection.

--
The USA Patriot Act is the most unpatriotic act in American history.
Feingold-Obama '08 - Because the Constitution isn't history,
It's the law.

Lars Madsen

2006-09-02, 1:13 pm


> Looks like it's unchanged.
>
> If you run:
> ps aux | grep kdm
> does it show kdm running at all?
>
> If not try running kdm as root in at the console and then see if you can
> get a remote connection.
>


kdm runs just fine, when ever I do a direct request for it in the GDM
chooser on my terminal, it shows up fine in the chooser, which means
that kdm is answering, but if I choose it in the chooser I just get a
gray screen.

(we're using LTSP based terminals, and several servers people can choose
from)

/daleif
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com