You are not logged in.

#1 2012-06-22 17:55:40

mino.sk
Member
Registered: 2011-07-07
Posts: 16

[SOLVED] Problem with privileges (nm-applet and mounting devices)

Hi,

I have a little problem after a system update made a few weeks ago. (At least I think it started after that update, but I am not sure.)

It's something related to lack of privileges or sth...
When I right-click on nm-applet icon some options are greyd out as well as when I try to add a new network - everything in the dialog is grey. But when I "sudo nm-applet", everything works.
And the next problem is: When I plug my USB stick/drive to NB it is not mounted automatically but I need to open nautilus, mount it manually and an "Authenticate" dialog shows up and my password is required. But why? It didn't use to work that way. I don't understant what might have changed.

I use SLiM starting my gnome-session.
My ~/.xinitrc:

exec ck-launch-session dbus-launch gnome-session

My /usr/share/gnome-session/sessions/gnome-fallback.session

RequiredComponents=gnome-settings-daemon;
RequiredProviders=windowmanager;
DefaultProvider-windowmanager=compiz
DefaultProvider-notifications=notify-osd
DefaultProvider-displaymanager=slim

(I don't use gnome-shell nor gnome-panel, but Gnome with xfce4-panel big_smile)

Thank you in advance.

Last edited by mino.sk (2012-06-22 21:25:57)

Offline

#2 2012-06-22 18:05:49

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: [SOLVED] Problem with privileges (nm-applet and mounting devices)

Try to remove only "ck-launch-session" from your exec line while leaving everything else.  SLiM had an update a while back that added console-kit to it and that was causing what sounds like the same problems.  SLiM now does the console-kit part so you take it out of your exec line.

In a terminal type:

ck-list-sessions

If the output shows more than one session then the SLiM issue is very likely your cause.

Offline

#3 2012-06-22 20:18:19

mino.sk
Member
Registered: 2011-07-07
Posts: 16

Re: [SOLVED] Problem with privileges (nm-applet and mounting devices)

Thank you, headkase, you were right about it! Removing "ck-launch-session" solved my problems. smile I also removed "dbus-launch" because I didn't have it there originally, I had added "dbus-launch" to exec line just today as I had read somewhere that it might help (it didn't)...

So, I'm going with "exec gnome-session" and everything works, thanks. smile

//Edit: Admin can mark this as "[SOLVED]" smile

Last edited by mino.sk (2012-06-22 20:22:39)

Offline

#4 2012-06-22 21:10:39

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: [SOLVED] Problem with privileges (nm-applet and mounting devices)

Right on, you're welcome! smile  You can mark your own post as [Solved] by editing the first post in this thread and adding that to the title! wink

Offline

Board footer

Powered by FluxBB