After getting a 3G modem for my laptop, I've started using Network Manager to manage my connections, and I quite like it. However, it is slightly annoying to have to be root to make any changes, especially since the applications (nm-applet, nm-connection-editor) do not ask for elevation - I have to launch them manually with "sudo". If I understand correctly this is because my minimal install lacks a login manager (I log in at a prompt and startx
) and thus DBus privileges are not being set. So I tried installing both LightDM and GDM, but my god the bl0at! Pulseaudio required for DBus? I don't think so. Here's the shocking package list generated by apt-get install lightdm
:
The following NEW packages will be installed
apg cheese-common cups-pk-helper dialog evolution-data-server
evolution-data-server-common evolution-data-server-online-accounts geoclue
geoclue-ubuntu-geoip gir1.2-gnomebluetooth-1.0 gir1.2-ibus-1.0 gkbd-capplet
gnome-bluetooth gnome-control-center-shared-data gnome-desktop3-data
gnome-screensaver gnome-session-bin gnome-settings-daemon-schemas
gnome-user-share gsettings-ubuntu-schemas gstreamer1.0-clutter hwdata ibus
ibus-gtk ibus-gtk3 im-config indicator-bluetooth indicator-datetime
indicator-keyboard indicator-power indicator-session indicator-sound
libaccount-plugin-1.0-0 libaccount-plugin-generic-oauth
libaccount-plugin-google libaccounts-glib0 libaccounts-qt5-1 libcamel-1.2-45
libcanberra-pulse libcheese-gtk23 libcheese7 libclutter-1.0-0
libclutter-1.0-common libclutter-gst-2.0-0 libclutter-gtk-1.0-0
libcogl-common libcogl-pango15 libcogl15 libebackend-1.2-7 libebook-1.2-14
libebook-contacts-1.2-0 libecal-1.2-16 libedata-book-1.2-20
libedata-cal-1.2-23 libedataserver-1.2-18 libfftw3-single3 libgdata-common
libgdata13 libgnome-desktop-3-7 libgnomekbd-common libgnomekbd8
libgoa-1.0-0b libgoa-1.0-common libgweather-3-6 libgweather-common
libibus-1.0-5 liblightdm-gobject-1-0 liboauth0 libopenobex1 libpulsedsp
libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5
libqt5positioning5 libqt5printsupport5 libqt5qml5 libqt5quick5
libqt5sensors5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5webkit5
libqt5widgets5 libqt5xml5 librest-0.7-0 libsignon-extension1 libsignon-glib1
libsignon-plugins-common1 libsignon-qt5-1 libsystemd-journal0
libtimezonemap1 libunity-control-center1 liburl-dispatcher1 libwacom-common
libwacom2 libxcb-icccm4 libxcb-image0 libxcb-render-util0 libxcb-xkb1
libxkbcommon-x11-0 lightdm mousetweaks nautilus-data obex-data-server
obexd-client pulseaudio pulseaudio-module-x11 pulseaudio-utils rtkit
session-migration signon-keyring-extension signon-plugin-oauth2 signon-ui
signond ubuntu-system-service unity-control-center
unity-control-center-signon unity-greeter unity-settings-daemon
0 to upgrade, 121 to newly install, 0 to remove and 47 not to upgrade.
Need to get 18.7 MB/32.1 MB of archives.
After this operation, 128 MB of additional disk space will be used.
Do you want to continue? [Y/n] Most definitely NOT!
Abort.
I don't want any of those things, thank you! Surely there must be a better way to gain permissions for editing Network Manager config?
Edit: I should add that I tried changing /etc/dbus-1/system.d/org.freedesktop.NetworkManager.conf
from at_console="true"
to group="netdev"
, but that seemed to have no effect. Yes, I am a member of netdev
.
Edit: And the irony of seeing a libclutter
in the list is not lost on me. This is clearly a terrible, awful, cluttery mess... What were they thinking?
libqt5printsupport5
? Nope.libgnome-desktop-3-7
? Nope.geoclue-ubuntu-geoip
? Nope.libwacom2
? Nope.libgweather-3-6
? Nope. It's just wrong. Very, very, very, very wrong. I have been hacking on 'buntu flavours for more than a decade, so I know quite well how I want my system configured and what parts can be thrown out. Pulseaudio for example belonging firmly in the latter category. – Ola Tuvesson Jun 21 '15 at 11:33.xinitrc
contain? Or if you don't use it, what is your usualstartx
command? – muru Jun 22 '15 at 03:23