LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-24-2009, 12:46 AM   #1
lourensc
LQ Newbie
 
Registered: Nov 2005
Location: Johannesburg South Africa
Distribution: Debian Lenny; Ubuntu; Arch Linux
Posts: 12

Rep: Reputation: 1
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
 
Old 02-24-2009, 12:59 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,638
Blog Entries: 3

Rep: Reputation: 221Reputation: 221Reputation: 221
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.
 
Old 02-24-2009, 01:13 AM   #3
lourensc
LQ Newbie
 
Registered: Nov 2005
Location: Johannesburg South Africa
Distribution: Debian Lenny; Ubuntu; Arch Linux
Posts: 12

Original Poster
Rep: Reputation: 1
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.
 
Old 02-24-2009, 01:32 AM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,166

Rep: Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506
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
 
Old 02-24-2009, 01:52 AM   #5
lourensc
LQ Newbie
 
Registered: Nov 2005
Location: Johannesburg South Africa
Distribution: Debian Lenny; Ubuntu; Arch Linux
Posts: 12

Original Poster
Rep: Reputation: 1
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hardy alternate install fails at manual partition wyndetygre Ubuntu 6 08-03-2008 05:06 PM
GDM Fails to start on boot NetRAVEN5000 Debian 5 02-11-2008 11:59 PM
nfs install fails manual mounting remote share dohpaz Slackware - Installation 3 05-04-2007 12:00 PM
Cannot start xdm, kdm or gdm icisyd Linux - Newbie 13 09-23-2004 06:38 PM
GDM fails to start sanjeevdas Linux - Software 3 03-21-2004 11:20 AM


All times are GMT -5. The time now is 11:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration