[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to run X apps as root?



On Tuesday,  3. July 2001 05.17, D-Man wrote:
> solve the problem (it ususally does for me) then type something like
> 'xhost +localhost' in a terminal as a regular user (ie the one who
> started the xserver).

I don't find this a good solution, as you open up your X session to everyone 
else on your machine (might even be hackers).

What I do is use 'su -p' instead of just su. It's not perfect tough since 
your $HOME, $LOGIN etc variables are still referring to your login account 
tough.

Christian.



Reply to: