In 12.04 LTS, I get "No DBus" errors when running things as root
Posted
by
Seann
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Seann
Published on 2012-08-04T02:18:28Z
Indexed on
2012/09/13
21:50 UTC
Read the original article
Hit count: 281
While attempting to run gEdit as root from a terminal window (was trying to do some tweaking on my HOSTS and FSTAB files), I get a message saying "No DBus connection available" and get booted back to the prompt.
However, I can run Nautilus from the prompt like that (still get the error, but it runs all the same), and use WINE and NOTEPAD, and was able to make my changes.
I thought maybe DBUS was missing, but APT says it's installed and gEdit runs fine when not elevated. Granted, I don't have to elevate often, but on the off-chance I do, (like adding or changing SMB/CIFS mountpoints in FSTAB), I would like to use gEdit, not NOTEPAD from WINE, and not in a terminal window with VI (well VIM).
Ideas? Solutions?
© Ask Ubuntu or respective owner