Guest bulia Posted December 30, 2002 Report Share Posted December 30, 2002 On mdk8.2, I had the following at the end of my inittab: # Run xdm in runlevel 5 # xdm is now a separate service ##x:5:respawn:/etc/X11/prefdm -nodaemon x:5:respawn:/opt/kde3/bin/kdm -nodaemon After I installed 9.0, the last line became commented out. As a result, I now end up in text console after boot. I can run startx and I get my KDE, but I want it to load automatically. Enabling auto login in KDE control center did not help. So, after figuring out that KDE3 is now in usr/bin, I uncommented that last line in inittab again and replaced the path so: x:5:respawn:/usr/bin/kdm -nodaemon Now X starts during boot, but there's no KDE! There's an empty X screen and a black-on-white terminal window (without decorations) in top left corner. In that window, I can type "startkde" and then KDE loads as usual. So, what on earth makes kdm behave like that? Where to look for ways to fix this? Quote Link to comment Share on other sites More sharing options...
chalex20 Posted December 30, 2002 Report Share Posted December 30, 2002 When you are in the text console, try to run the following command : service dm start If that succeeds, just run chkconfig dm on and then chkconfig --list dm to ensure that dm is on for runlevel 5. That's all. Quote Link to comment Share on other sites More sharing options...
Guest ndeb Posted January 2, 2003 Report Share Posted January 2, 2003 bulia, As root, open the file /etc/sysconfig/desktop and add this line: DESKTOP=KDE Save the file and quit. Restart X server and login. Now KDE should start automatically at login. Quote Link to comment Share on other sites More sharing options...
Guest bulia Posted January 4, 2003 Report Share Posted January 4, 2003 thanks for the suggestions, but unfortunately none of these worked... 1. I checked and dm was on for runlevel 5 already. I switched it on, and the only change was that it now appears to be also on for runlevels 3 and 4. The above described problem persisted. Maybe I need to also change something in inittab? However when I say "service -s" it says, among others: dm dead but subsys locked why might this be? 2. My /etc/sysconfig/desktop contained just "KDE". I changed that to "DESKTOP=KDE" but this did not change anything. So, I still get an empty terminal and no window manager when kdm is run from inittab. The funny thing is, if I remove kdm from the inittab, load into the console and say "startx", X starts with KDE! So I have an idea - can I put just "startx" into the inittab, instead of kdm? will that work? Quote Link to comment Share on other sites More sharing options...
Guest bulia Posted January 4, 2003 Report Share Posted January 4, 2003 One more thing: I tried to use xdm instead of kdm and wrote in the inittab thus: x:5:respawn:/usr/X11R6/bin/xdm -nodaemon That's a little better - there is no autologin, X starts and asks me for username & password, and when I provide them it launches KDE. If only I could make it autologin, I would be perfectly happy with xdm... Quote Link to comment Share on other sites More sharing options...
Falcdragon Posted January 11, 2003 Report Share Posted January 11, 2003 Have you tried using Control center to change the Rez after You've made the changes it asks you if you want to start X at boot. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.