> Hello,
>
> I have switched to SuSE Desktop from Red Hat and am trying to run a
> command after su-ing to root. This is what I get:
>
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
>
> What do I need to do to give myself the ability to run anything I want
> when I su to root?
First, you need to allow access from localhost as the user that logged
into the X session:
xhost + localhost
Then you need to set the DISPLAY variable as the new (root) user
export DISPLAY=localhost:0
You should be able to "su" and do this without any of the above. Doing "su
-" will probably not work because DISPLAY will likely be overwritten.
If you want more security you can look into magic key stuff.
>
> I am trying to get my Nortel VPN client running, but don't want to do so
> as root.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:45:44 EDT