You are not logged in.

#1 2010-08-01 17:12:29

SmartWish
Member
From: Nigeria
Registered: 2010-08-01
Posts: 15

[SOLVED] I need to login two times to get to my desktop-enviorment

When I start my laptop, Arch boots normally, but when I get to my gdm and login to my user I wait two seconds and the gdm shows up again. When I log in the 2nd. time everything works flawlessly. Is there a solution for this?

PS: Sorry for bad english, and I'm quite new to Arch.

Last edited by SmartWish (2010-08-02 11:25:35)

Offline

#2 2010-08-01 17:15:15

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: [SOLVED] I need to login two times to get to my desktop-enviorment

Weird. Maybe gdm gets started twice? Like in the daemons array in rc.conf and in inittab? (Just a guess)

Ogion


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

#3 2010-08-01 17:17:32

Proofrific
Member
Registered: 2008-01-05
Posts: 215

Re: [SOLVED] I need to login two times to get to my desktop-enviorment

Ogion wrote:

Weird. Maybe gdm gets started twice? Like in the daemons array in rc.conf and in inittab? (Just a guess)

Also check .xinitrc.  Maybe gdm is starting again there?  Weird.

Offline

#4 2010-08-01 17:28:19

SmartWish
Member
From: Nigeria
Registered: 2010-08-01
Posts: 15

Re: [SOLVED] I need to login two times to get to my desktop-enviorment

Thanks for quick answers.

Just so i dont miss anything I'll just output my whole inittab-file:

#
# /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:3: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

# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 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 2>&1

# End of file

My Daemons are: DAEMONS=(syslog-ng crond alsa netfs dbus hal gdm wicd)

edit: My .xinitrc is just commented

Last edited by SmartWish (2010-08-01 17:35:54)

Offline

#5 2010-08-01 17:44:20

Zeist
Arch Linux f@h Team Member
Registered: 2008-07-04
Posts: 532

Re: [SOLVED] I need to login two times to get to my desktop-enviorment

umm... doesn't that mean that inittab starts xdm and daemons start gdm?


I haven't lost my mind; I have a tape back-up somewhere.
Twitter

Offline

#6 2010-08-01 17:45:18

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: [SOLVED] I need to login two times to get to my desktop-enviorment

Thee inittab says it should go into 3 normally. That is fine, i'm not sure though wether that line near the end which is not commented which starts xdm on runlevel 5 affects this. How about you comment that line and then retry. Alsoo, are you sure both of these are gdm? (Do they look the same and such, and not that one might be xdm..) (I do not think so, since inittab sets 3 as runlevel, but still).

Oh and btw, there are [ code ] tags [/ code ] (Remove the spaces between the [ ] they help show quoted config snippets and stuff a bit better wink

Ogion


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

#7 2010-08-01 17:55:32

SmartWish
Member
From: Nigeria
Registered: 2010-08-01
Posts: 15

Re: [SOLVED] I need to login two times to get to my desktop-enviorment

I uncommented the "x:5:respawn:/usr/bin/xdm -nodaemon" line and rebooted, and everything worked flawlessly. I really appreciate your help! Thanks a lot wink

Offline

#8 2010-08-02 00:59:08

Proofrific
Member
Registered: 2008-01-05
Posts: 215

Re: [SOLVED] I need to login two times to get to my desktop-enviorment

SmartWish wrote:

I uncommented the "x:5:respawn:/usr/bin/xdm -nodaemon" line and rebooted, and everything worked flawlessly. I really appreciate your help! Thanks a lot wink

Great!  Can you prepend "[SOLVED]" to the beginning of the thread title?  Thanks!

Offline

#9 2010-08-02 06:02:04

SmartWish
Member
From: Nigeria
Registered: 2010-08-01
Posts: 15

Re: [SOLVED] I need to login two times to get to my desktop-enviorment

Proofrific wrote:
SmartWish wrote:

I uncommented the "x:5:respawn:/usr/bin/xdm -nodaemon" line and rebooted, and everything worked flawlessly. I really appreciate your help! Thanks a lot wink

Great!  Can you prepend "[SOLVED]" to the beginning of the thread title?  Thanks!

This is really embarrassing, ehh, I can't figure out how to add the "[SOLVED]"

Offline

#10 2010-08-02 06:04:06

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED] I need to login two times to get to my desktop-enviorment

SmartWish wrote:
Proofrific wrote:
SmartWish wrote:

I uncommented the "x:5:respawn:/usr/bin/xdm -nodaemon" line and rebooted, and everything worked flawlessly. I really appreciate your help! Thanks a lot wink

Great!  Can you prepend "[SOLVED]" to the beginning of the thread title?  Thanks!

This is really embarrassing, ehh, I can't figure out how to add the "[SOLVED]"

Editing the first post will let you edit the title. smile

Offline

Board footer

Powered by FluxBB