[SOLVED] -current NetworkManager in non-KDE sessions
SlackwareThis 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.
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.
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:)
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?
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
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
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.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,158
Rep:
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)?
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)?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.