Re: How to run an application in X under another user?
On Sat, May 16, 2009 at 18:00:14 +0700, Sthu Deus wrote:
> Good day.
>
> As I try to run oowriter in terminal under another user with
>
> su - another_user
> another_user$ oowriter
>
> I get error messages notifying me that it can not open a display.
> How this can be overcome?
Install the package "sux" and use
sux - another_user
This should automatically transfer your X credentials to the new user
and make sure his $DISPLAY is set correctly.
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
Reply to: