Invalid error messages out of 'dbus'...how to suppress?

Thiago Macieira thiago at kde.org
Tue Dec 18 00:10:10 UTC 2018


On Monday, 17 December 2018 15:12:12 PST Lawrence D'Oliveiro wrote:
> On Mon, 17 Dec 2018 15:04:21 -0800, L A Walsh wrote:
> > When I typed in "sudo su" to run as root.
> 
> Which is kind of redundant, isn’t it? Either use “sudo” or “su”, not
> both.

If you want to get a root shell, either use
	su -
or
	sudo -s

That clears the environment variables from the user shell and runs the login 
scripts. Your problem is that XDG_RUNTIME_DIR is being passed to the root 
shell.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center





More information about the dbus mailing list