Jump to content

Broken KDM


Dyslexic
 Share

Recommended Posts

I rebooted last night only to find that KDM was broken. KDM starts as it normally does, and everything looks fine. However, when I log in, I get a bash prompt within KDM instead of it loading a window manager. None of the window managers will load; they all bring me to a bash prompt. Mdkkdm does the same thing. I switched to GDM, which works perfectly, but I'd rather use KDM.

 

Since GDM works, I know that everying in /etc/X11/wmsession.d/ is fine. I suspect that there's a problem in my kdmrc, but everything looks ok.

 

Any ideas? I'll post my kdmrc if anyone thinks it will help.

 

I'm running Mdk 9.1 with kernel-2.4.21.0.25mdk, Mdk 9.1's Gnome 2.2, Texstar's KDE 3.1.2.

Link to comment
Share on other sites

OK, I fixed the problem. Something in my kdmrc file was fux0r3d; I'm not sure what. I copied the kdmrc file from another machine saving only the old "SessionTypes" line, and now everything works just fine.

 

Sorry about posting unnecessarily. At least this might help someone in the future.

Link to comment
Share on other sites

Here's a copy of the /usr/share/config/kdm/kdmrc file. You'll need to change the "sessiontypes" line to include the window managers that you have installed.

 

[Desktop0]

BackgroundMode=Flat

BlendBalance=100

BlendMode=NoBlending

ChangeInterval=60

Color1=33,68,156

Color2=192,192,192

CurrentWallpaper=0

LastChange=0

MinOptimizationDepth=1

MultiWallpaperMode=NoMulti

Pattern=

Program=

ReverseBlending=false

UseSHM=false

Wallpaper=/usr/share/mdk/backgrounds/default.png

WallpaperList=

WallpaperMode=Scaled

 

[General]

PidFile=/var/run/xdm.pid

Xservers=/etc/X11/xdm/Xservers

 

[shutdown]

HaltCmd=/sbin/halt

LiloCmd=/sbin/lilo

LiloMap=/boot/map

RebootCmd=/sbin/reboot

UseLilo=true

 

[X-*-Core]

AllowNullPasswd=false

AllowRootLogin=false

AllowShutdown=Root

AutoReLogin=false

Reset=

Resources=/etc/X11/xdm/Xresources

Session=/etc/X11/xdm/Xsession

Setup=

Startup=

SystemPath=/usr//bin:/sbin:/usr/sbin:/bin:/usr/bin::/usr/local/bin

UserPath=/usr//bin:/bin:/usr/bin::/usr/local/bin

 

[X-*-Greeter]

AntiAliasing=true

AuthComplain=false

EchoMode=OneStar

FailFont=Sans,12,-1,5,75,0,0,0,0,0

FocusPasswd=false

GUIStyle=Galaxy

ColorScheme=Galaxy

GreetFont=Sans,24,-1,5,50,0,0,0,0,0

GreetString=Welcome to %n

GreeterPosFixed=false

GreeterPosX=0

GreeterPosY=0

HiddenUsers=adm,bin,daemon,games,halt,lp,mail,news,nobody,operator,root,rpc,rpcu

ser,rpm,shutdown,sshd,sync,uucp,xfs,

Language=en_US

LogoArea=None

LogoPixmap=

MaxShowUID=65535

MinShowUID=500

PreselectUser=None

SelectedUsers=

SessionTypes=KDE,GNOME,IceWM,fluxbox,failsafe,default

SortUsers=true

StdFont=Sans,12,-1,5,50,0,0,0,0,0

ShowUsers=All

 

[X-:*-Core]

AllowNullPasswd=true

AllowRootLogin=true

AllowShutdown=All

NoPassEnable=false

NoPassUsers=

 

[X-:0-Core]

Authorize=true

AutoLogin1st=true

AutoLoginEnable=false

Reset=/etc/X11/xdm/TakeConsole

Setup=/etc/X11/xdm/Xsetup_0

Startup=/etc/X11/xdm/GiveConsole

 

[X-:1-Core]

Authorize=true

 

[Xdmcp]

Enable=false

KeyFile=/etc/X11/xdm/xdm-keys

Willing=

Xaccess=/etc/X11/xdm/Xaccess

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...