You are not logged in.
Hi, could someone help me out? I'm almost pulling my hair out trying for two days to get the net working. It worked only once then I got back to the same error. It's not a driver fault, it's PAM that isn't playing nice to me, or me with him I guess
I use openbox and login manually through tty1, then call startx.
This is the error
** (nm-applet:1558): WARNING **: <WARN> activate_connection_cb(): Connection activation failed: No user settings service available
The relevant links:
https://bugs.archlinux.org/task/21391 # PAM login and shining's solution
https://bugs.archlinux.org/task/21796
https://bbs.archlinux.org/viewtopic.php?id=108084
Shining solution (that got it working once) --- (1st link)
Comment by Xavier (shining) - Sunday, 07 November 2010, 06:58 GMT-5
I've just spent one hour looking into this pam crap.
I simply use startx and gnome, because login managers piss me off even more than pam.With consolekit 0.4.1, I simply needed this in .xinitrc :
exec ck-launch-session gnome-sessionWith 0.4.2, I also had to bother with pam...
Just add at the bottom of /etc/pam.d/login:
session optional pam_loginuid.so
session optional pam_ck_connector.so
I used this and it fixed my wireless. I was prompted for the wireless password, stored that in the keyring without pass, because it can get annoying, and browsed the net. I believe I even rebooted just to confirm that it was solved but I'm not sure.
Now i can't use the wireless again, I get the same error and no prompt for password (maybe because it's already stored or maybe because of the error).
Maybe the keyring manager needs some permissions too now that the pass is stored? (don't have a clue)
Enough rambling.
So I login through tty1 and do startx.
/etc/rc.conf:
DAEMONS=(syslog-ng dbus networkmanager !network !netfs @crond @alsa)
.xinitrc:
exec ck-launch-session openbox-session ## it was like this when it worked once
/etc/pam.d/login:
...
session optional pam_loginuid.so
session optional pam_ck_connector.so
I would REALLY appreciate it if someone could help me out because I'm back to college on monday and I need the wireless. If I can't get it working 'till there I'll have to format the whole thing and reinstall ubuntu and that would be a shame 'cause I'm really linking my fast archie .
Thanks
Last edited by Alberto Ferreira (2011-02-12 12:12:31)
Offline
if irc you need to start the gnome-keyring with your openbox session to get your issue solved.
Offline
Hi, it turns out it is a problem in login.
In inittab, I use a C one-liner to log me in automatically:
execlp("login","login","-f","my_username",NULL)
I have in .bash_profile:
[[ -z $DISPLAY && $(tty) = /dev/tty1 ]] && startx;
And the .bash_profile isn't playing nicely with PAM. If I kill X, logout and login again (without rebooting) it starts working, during that boot.
If someone knows how to get it working with pam, I'd appreciate it
Offline