LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2010, 10:41 AM   #1
Nielssonnich
LQ Newbie
 
Registered: Nov 2007
Location: Denmark
Distribution: Arch Linux
Posts: 17

Rep: Reputation: 0
Unhappy GDM/GNOME stops loading in Arch Linux


This is a copy of my topic on Arch Forums.. But since nobody seems to have the answer over there I'm giving LQ a try..

Hi. Just got my Acer Aspire 1410 and decided to install Arch like on my previous laptop and this time I decided to use GNOME as desktop environment. Well.. It's working (writing from Epiphany right now), but when I start GDM nothing happens, it just starts X (and displays a cursor in the middle) and then freezes and does nothing.. But if I switch to e.g. tty1 and then back it loads instantly and I can log in.. Same thing happens when I log in, it freezes and I have to switch to tty1 and back before anything happens. It's kind of annoying and I don't know how to fix it..?

BTW.. Used Ubuntu on this machine for at day or two before going back to Arch, and nothing like this ever happened in GDM.

KDE/KDM works fine.

- Niels

/Edit: Same thing happens when using SLiM as login manager (SLiM loads fine but when logging in (exec gnome-session) nothing happens until I switch to tty1 and back)

Btw.. I have also been trying Ubuntu and Fedora on this machine.. Both with the same version of GNOME (2.28) and without having this problem....

Last edited by Nielssonnich; 01-20-2010 at 11:11 AM.
 
Old 01-22-2010, 01:00 AM   #2
slightlystoopid
Member
 
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64

Rep: Reputation: 16
what does your /etc/inittab look like? does it also happen if you use startx? what's in your .xinitrc? what video driver and window manager are you using? and also, if this happens with startx, do you see any interesting messages in tty1?
 
Old 01-23-2010, 12:53 PM   #3
Nielssonnich
LQ Newbie
 
Registered: Nov 2007
Location: Denmark
Distribution: Arch Linux
Posts: 17

Original Poster
Rep: Reputation: 0
Code:
$ cat /etc/inittab
#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)	Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
id:5:initdefault:
# Boot to X11
#id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null

# End of file
(almost default.. since I used the DAEMONS-array in rc.conf to start GDM, and now use it to start SLiM)

And my .xinitrc says "exec ck-launch-session startlxde" since I've been using SLiM + LXDE + Compiz for the last couple of days (without any problems...), btw as far as I know GDM doesn't use .xinitrc... but I may be wrong. Video driver is xf86-video-intel, and seems to be working fine since I can run Compiz without problems.
When I ran GNOME with startx it didn't seem to spit out anything unusual, it just resumed loading when I switched back to tty1.

It's almost been a week since I last tried, but I will run some more tests and return with the results.
 
Old 01-23-2010, 07:04 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
what is in your "DAEMONS" line of your /etc/rc.conf ( as per the gnome wiki instructions)

this is a copy of my line
Code:
DAEMONS=(syslog-ng hal iptables network netfs crond firestarter alsa cups xinetd gpm gdm @autofs @acpid @dbus)
 
Old 01-23-2010, 08:51 PM   #5
slightlystoopid
Member
 
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64

Rep: Reputation: 16
why don't you uncomment the appropriate display manager line in your inittab, so that it looks like the following?

Code:
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
and

Code:
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
here is the wiki to start display managers at boot.

Last edited by slightlystoopid; 01-23-2010 at 08:52 PM.
 
Old 01-24-2010, 03:30 AM   #6
Nielssonnich
LQ Newbie
 
Registered: Nov 2007
Location: Denmark
Distribution: Arch Linux
Posts: 17

Original Poster
Rep: Reputation: 0
John VV:
At the moment it looks like this:
Code:
DAEMONS=(syslog-ng @gpm hal networkmanager netfs @crond @alsa slim)
When I try GDM i just remove slim and add gdm to the line.

Quote:
Originally Posted by slightlystoopid View Post
why don't you uncomment the appropriate display manager line in your inittab, so that it looks like the following?

Code:
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
and

Code:
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
here is the wiki to start display managers at boot.
Because (as I wrote) I'm not using inittab to start my display manager, but instead the DAEMONS-array in rc.conf. I also tried the inittab-method, but that made no difference at all.
 
Old 01-24-2010, 05:05 AM   #7
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by Nielssonnich View Post
This is a copy of my topic on Arch Forums.. But since nobody seems to have the answer over there I'm giving LQ a try..

Hi. Just got my Acer Aspire 1410 and decided to install Arch like on my previous laptop and this time I decided to use GNOME as desktop environment. Well.. It's working (writing from Epiphany right now), but when I start GDM nothing happens, it just starts X (and displays a cursor in the middle) and then freezes and does nothing.. But if I switch to e.g. tty1 and then back it loads instantly and I can log in.. Same thing happens when I log in, it freezes and I have to switch to tty1 and back before anything happens. It's kind of annoying and I don't know how to fix it..?

BTW.. Used Ubuntu on this machine for at day or two before going back to Arch, and nothing like this ever happened in GDM.

KDE/KDM works fine.

- Niels

/Edit: Same thing happens when using SLiM as login manager (SLiM loads fine but when logging in (exec gnome-session) nothing happens until I switch to tty1 and back)

Btw.. I have also been trying Ubuntu and Fedora on this machine.. Both with the same version of GNOME (2.28) and without having this problem....
http://wiki.archlinux.org/index.php/GDM
 
Old 01-24-2010, 05:11 AM   #8
slightlystoopid
Member
 
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64

Rep: Reputation: 16
@cola: hey, there's the link I posted.

does it do this if you startx with 'xinit /usr/bin/gnome-session --failsafe'?
 
Old 01-24-2010, 05:21 AM   #9
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by slightlystoopid View Post
@cola: hey, there's the link I posted.

does it do this if you startx with 'xinit /usr/bin/gnome-session --failsafe'?
If you have this line
Code:
exec ck-launch-session gnome-session
in ~/.xinitrc , startx should work.
But i haven't tried failsafe.
 
  


Reply



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
[SOLVED] Arch Install with GNOME, system defaults to GDM, GDM no mouse or keyboard lupusarcanus Linux - Newbie 8 01-30-2011 04:30 PM
Gnome/gdm startup apps: Why are some children of gdm and others children of init? sixerjman Linux - Software 1 07-04-2009 10:48 AM
JDS stops before GDM login racingsnake JDS 9 08-10-2006 08:51 PM
GDM not loading? sw67 Slackware 1 02-10-2005 07:06 AM
loading gdm contrasutra Slackware 12 04-20-2003 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration