You are not logged in.
I recently had a huge ordeal where all of my /etc was deleted. I reinstalled everything and reconfigured my stuff and almost everything is fine.
But when I log into my computer and run ck-list-sessions, this is the output:
[rob ~ ]$ ck-list-sessions
Session2:
unix-user = '1000'
realname = 'Rob Agnese'
seat = 'Seat3'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = '/dev/tty2'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = FALSE
on-since = '2011-08-24T13:53:41.441696Z'
login-session-id = '4294967295'
This prevents me from rebooting properly and xfce4-power-manager suspending, etc.
SOLUTION: I was using fgetty to log in. Use agetty (the Arch default).
Last edited by pogeymanz (2011-08-24 21:21:10)
Offline
how do you login into xfce?
Give what you have. To someone, it may be better than you dare to think.
Offline
Actually, I'm using openbox-session, but my .xinitrc file is as such:
xmodmap .Xmodmap &
numlockx &
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session openbox-session
EDIT: And I use startx, no DM.
Last edited by pogeymanz (2011-08-24 14:53:59)
Offline
is active/is-local TRUE before you run startx?
those are the only lines from ~/.xinitrc?
do you auto login into your graphical session using some hack in /etc/inittab ?
do you use slim?
Last edited by wonder (2011-08-24 14:54:38)
Give what you have. To someone, it may be better than you dare to think.
Offline
Before I run startx, ck-list-sessions doesn't return anything...
And yes, that is my whole .xinitrc
Offline
paste /etc/pam.d/login
Give what you have. To someone, it may be better than you dare to think.
Offline
[rob ~ ]$ cat /etc/pam.d/login
#%PAM-1.0
auth required pam_securetty.so
auth requisite pam_nologin.so
auth required pam_unix.so nullok
auth required pam_tally.so onerr=succeed file=/var/log/faillog
# use this to lockout accounts for 10 minutes after 3 failed attempts
#auth required pam_tally.so deny=2 unlock_time=600 onerr=succeed file=/var/log/faillog
account required pam_access.so
account required pam_time.so
account required pam_unix.so
#password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
#password required pam_unix.so md5 shadow use_authtok
session required pam_unix.so
session required pam_env.so
session required pam_motd.so
session required pam_limits.so
session optional pam_mail.so dir=/var/spool/mail standard
session optional pam_lastlog.so
session optional pam_loginuid.so
-session optional pam_ck_connector.so nox11
Offline
Well, I figured it out. I have been using fgetty instead of agetty. Apparently, that was the problem. Back to agetty for me. Too bad, because fgetty came up much quicker.
Offline
Mingetty should work as well with console-kit btw.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline