LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   xdm/gdm fails to start after manual install of X (http://www.linuxquestions.org/questions/debian-26/xdm-gdm-fails-to-start-after-manual-install-of-x-707030/)

lourensc 02-24-2009 12:46 AM

xdm/gdm fails to start after manual install of X
 
Hi I need advice please.

I just installed Lenny. I downloaded the net install cd image and installed from there. I might have made a wrong turn somewhere because after the installation I had a very minimal system with no X. I installed X manually and all went well. I got it running but it still booted to a text console from where startx worked fine. I then installed gdm but it still booted to a console. I installed xdm, still no joy. I tried dpkg-reconfigure for both xdm and gdm but it made no difference. I tried fiddling with the runlevels but have since learned that Debian treats them differently than most distro's and it made no difference. Please help me make this box boot to a graphical login.

Regards

Lourens

Drakeo 02-24-2009 12:59 AM

well there is a little hidden file in root or user if you are using a dpm display manager xdm gdm it is called .xinitrc this file tells what windows manager to load for what user. so if I logged in as joe it would look for my /home/joe/.xinitrc ok may be this will help you I like slim DPM the best but if you are using ubuntu gdm will need the xdm will need .xinitrc kde keeps a copy in /root/ good luck when you install a gdm try /usr/sbin/./gdm if nothing happen you need to make it executable.

lourensc 02-24-2009 01:13 AM

It doesn't even get that far. xdm/gdm does not load on boot at all. They run fine if I start them manually though.

jlinkels 02-24-2009 01:32 AM

I am not sure how accurately you described what you installed, but what you need is gnome. AFAIK gdm is part of gnome, but gnome is not part of gdm, that is, with installing gdm you won't pull in a desktop.

You can also try to run:
Code:

update-rc.d gdm defaults
to add gdm to the startup programs.

Are you sure that you want gnome and not KDE? Wars have been started for less than preference for either gnome or KDE, but if you have formed yourself an opinion and you decided for KDE, install kde, kdm, kdesktop and that should pull in about 500 MB of packages, install a full GUI environment and eventually start up in a GUI.

Sorry about the confusion with runlevels in Debian. It is not according to what is standard in *nix. Debian should not have tampered with runlevels in the way they did, although they must have had their reasons.

jlinkels

lourensc 02-24-2009 01:52 AM

I believe that something went wrong during my install. After posting here I went to the Debian IRC channel, a friendly guy there helped me and we found that my start stop deamon was a fake.
I ran:
Code:

apt-get install dpkg --reinstall
and that fixed it.


All times are GMT -5. The time now is 02:38 PM.