You are not logged in.
Recently I started using SLIM to log into Arch Linux. I was having trouble with the gnome-keyring window popping up everytime I logged in while using GDM. I downloaded SLIM and changed some settings so that gnome-keyring wouldn't pop up everytime.
Here are the changes I made:
~/.xinitrc using this article https://bugs.archlinux.org/task/18930
exec ck-launch-session gnome-session
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh)
And /etc/pam.d/slim
#%PAM-1.0
auth requisite pam_nologin.so
auth required pam_env.so
auth required pam_unix.so
account required pam_unix.so
password required pam_unix.so
session required pam_limits.so
session required pam_unix.so
session optional pam_loginuid.so
session optional pam_ck_connector.so
auth optional pam_gnome_keyring.so*
session optional pam_gnome_keyring.so auto_start*
*= the changes I made to the file.
I was hoping to just stop gnome-keyring from popping up everytime I log into Arch Linux (ideally I wanted to auto log in) and now I can't shutdown unless I use the $ sudo shutdown -h now command in the terminal. When I click on the "Power Off" button in Gnome 3 it basically logs me out to the SLIM log in screen. I was able to shutdown the computer before by shutting the laptop screen/lid but that doesn't do anything now for some reason. Is there a way for me to auto log into arch without the gnome-keyring popping up everytime?
Additionally, with the gnome keyring dialog I wasn't able to click the "Automatically log in....." radio button because it was grayed out for some reason.
Last edited by rg_arc (2011-09-06 19:45:05)
Offline
Sounds like a consolekit issue.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
What would you recommend? ConsoleKit Arch Wiki mentions appending "startxfce4" for xfce in ~/.xinitrc... of course... I am using Gnome 3.
Offline
it is very important that you add
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh)
before
exec ck-launch-session gnome-session
edit: Also your problem seems very related to this: https://bbs.archlinux.org/viewtopic.php?id=125929 give it a try!
Last edited by justl (2011-09-06 13:20:32)
Offline
Thanks for the very helpful info justl!
I switched the ~/.xinitrc commands like you said and also just have exec gnome-session.
now.. I looked at the link and I see that they mention using the ck-launch-session command in the /etc/slim.conf file. What about this command in my file? Would this cause any trouble?
login_cmd exec ck-launch-session dbus-launch /bin/bash -login ~/.xinitrc %session >~/.xsession-errors 2>&1
rgedit_ *dbus-launch
Last edited by rg_arc (2011-09-06 15:08:36)
Offline
post the output of ck-list-sessions in code tags, Run it as your user in a terminal in your X session.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
$ ck-list-sessions
Session2:
unix-user = '1000'
realname = 'Ricky ******'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-09-06T10:32:31.899610Z'
login-session-id = '1'
Session1:
unix-user = '1000'
realname = 'Ricky *******'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-09-06T10:32:31.706583Z'
login-session-id = '1'
$
I believe everything is working smoothly after I rebooted... I think this is solved... but its good measure to double check.
thanks for the input guys
Last edited by rg_arc (2011-09-06 15:37:05)
Offline
Ok now the gnome keyring is popping up again when I choose the auto login option in /etc/slim.conf. I remember when I was using Arch about a year ago before I reinstalled I was using the auto login option with slim and the keyring never popped up... I believe it was because I clicked the "automatically unlock this keyring whenever I am logged in" and it never came up again. Gnome keyring is really frustrating, is this some sort of bug?
Offline
Thanks to the advice above, plus adding "gnome-session" to the sessions line in /etc/slim.conf, I also now have shutdown and restart available again in SLiM.
Great stuff!
6.5.3.arch1-1(x86_64) w/Gnome 44.4
Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | Intel NUC 7i5RYK | ASUS ux303ua | Surface Laptop
Offline
I've removed gnome-keyring.. what a frustrating package.. I don't have any use for it
Offline