Run as su
When I try to run thunar as su I get the following error...
Code:
bash-4.1$ su Being a poor typist, this is my preferred way to navigate to files for editing. The computer is a Dell XPS l702x with dual video (integrated intel and discrete nvidia) running BumbleBee 3.0 I can enter Code:
export XAUTHORITY=~/.Xauthority And I know running as root is not the best way to go about it, but, It's the way I like to do it... |
Usually you have a tool comming with your wm... For kde it's "kdesu"... It launches a command as root, but setup display so it can use the "user space" xserver (it's a simplification).
You can use kdesu even with other wm comming with slackware, of course, if you've done a full install... Code:
bash-4.1$ kdesu thunar &>/dev/null & EDIT: I haven't tried, but you might even be able to do something like: Code:
bash-4.1$ kdesu terminal &>/dev/null & Bests. |
You can just add a xhost line like the following:
Code:
xhost local:root &>/dev/null |
Quote:
|
Quote:
|
Quote:
Just a word of caution on this one. The "local:" family option on xhost ignores the username so the above would open the xserver up to any local user, not just root. If you're running a desktop machine it's probably not a big deal, but if you want to keep things tighter, you can use the following instead. Code:
xhost +si:localuser:root |
Did you try
Code:
su - |
Quote:
|
All times are GMT -5. The time now is 11:32 PM. |