Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-23-2012, 08:46 AM
|
#1
|
Member
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295
Rep:
|
-current NetworkManager in non-KDE sessions
So, I just recently upgraded to Slackware 14.0 beta, seeing the new XFCE 4.10 series fresh in, and I wanted to try it so I switched my .xinitrc to startxfce4.
X11 under XFCE is nice and simple, but I missed NetworkManager; reading around I noticed I need to launch the DE under ck-launch-session to get ConsoleKit integration, for nm-applet/nm-tool to authenticate to DBus correctly (aside from DBus, which the DE invoked should already pull in anyway:)
Code:
#!/bin/sh
. ~/.xsession
exec ck-launch-session startxfce4
That got nm-applet to show up under XFCE4, but now it asks me for WiFi credentials, which I know is already saved under KDE (I don't get asked this when I switch back to my old DE;) is there anything else I should add to my .xinitrc/.xsession to enable credentials lookup for NetworkManager to connect to my existing WiFi?
Last edited by zakame; 07-23-2012 at 08:49 AM.
|
|
|
07-23-2012, 09:26 AM
|
#3
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,247
|
xinitrc for xfce has changed: now it contains this
Code:
#!/bin/sh
# Xfce's startxfce4 script includes support for launching itself inside
# a new ConsoleKit session, so let's use it instead of hacking our own
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec /usr/bin/startxfce4 --with-ck-launch
else
exec /usr/bin/startxfce4
fi
to use the new, just run again xwmconfig.
|
|
1 members found this post helpful.
|
07-23-2012, 11:57 AM
|
#4
|
Member
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295
Original Poster
Rep:
|
Thanks ponce, good catch there, though it doesn't really change anything with regards to getting saved WiFi configurations.
I notice in the console log of a GLib-GIO-Message, possibly from nm-applet:
Code:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be save or shared with other applications.
There is a similar message for Emacs that was reported, so that could be something...
|
|
|
07-23-2012, 11:24 PM
|
#5
|
Member
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295
Original Poster
Rep:
|
Figured it out now I needed to edit the connection for my WiFi and save the password once, and this will invoke the KDE DaemonSecret service for the first time to create the 'default' collection which nm-applet will read saved passwords from; once that is done, subsequent NetworkManager re-auths now lookup the saved password and do not bug me anymore
I'll post screenshots later to better see what I'm writing about; hope this will be useful to others
|
|
|
07-24-2012, 05:30 PM
|
#6
|
LQ Veteran
Registered: Feb 2007
Distribution: Slackware64-current with KDE4Town.
Posts: 9,356
|
Isn't that why gnome-keyring and libgnome-keyring are now part of Slackware, i.e., to support the use of NetworkManager in Xfce-4.10?
|
|
|
07-24-2012, 07:39 PM
|
#7
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,728
|
Quote:
Originally Posted by cwizardone
Isn't that why gnome-keyring and libgnome-keyring are now part of Slackware, i.e., to support the use of NetworkManager in Xfce-4.10?
|
Nope. That was gvfs requiring udisks2 and libsoup, which then required gnome-keyring and libgnome-keyring (and libproxy). NetworkManager doesn't need those, but nm-applet does. Didn't decide to go for network-manager-applet until Xfce had progressed to the point where I'd finished splitting it up and had it in its own series, but then I was happy those deps were already there.
|
|
|
07-24-2012, 08:18 PM
|
#8
|
LQ Veteran
Registered: Feb 2007
Distribution: Slackware64-current with KDE4Town.
Posts: 9,356
|
Quote:
Originally Posted by volkerdi
Nope. That was gvfs requiring udisks2 and libsoup, which then required gnome-keyring and libgnome-keyring (and libproxy). NetworkManager doesn't need those, but nm-applet does. Didn't decide to go for network-manager-applet until Xfce had progressed to the point where I'd finished splitting it up and had it in its own series, but then I was happy those deps were already there.
|
Ah, so....
So let me ask the question in a different way; Doesn't the network-manager-applet (for Xfce) require gnome-keyring and libgrome-keyring in order to save password information (or maybe just libgnome-keyring)?
|
|
|
07-24-2012, 08:24 PM
|
#9
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,728
|
Quote:
Originally Posted by cwizardone
Ah, so....
So let me ask the question in a different way; Doesn't the network-manager-applet (for Xfce) require gnome-keyring and libgrome-keyring in order to save password information (or maybe just libgnome-keyring)?
|
Yes, it does. Both of them, I think.
|
|
|
All times are GMT -5. The time now is 09:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|