Opening GUI as another user

Henri Girard henrigira at numericable.fr
Tue Sep 19 17:51:27 UTC 2006


on sudo user run :
xhost +
and then on test : DISPLAY=:0 firefox
good luck
Henri

On Tue, 19 Sep 2006 19:44:42 +0200, Dotan Cohen <dotancohen at gmail.com>  
wrote:

> In addition to my regular user, I have created another user, "test",
> to test things. When I work as this user in Konsole, I cannot open GUI
> applications:
> dotancohen at ubuntu:~$ su - test
> Password:
> test at ubuntu:~$ kate
> kate: cannot connect to X server
> test at ubuntu:~$ gedit
> cannot open display: (null)
> Run 'gedit --help' to see a full list of available command line options.
> test at ubuntu:~$ firefox
>
> (firefox-bin:13339): Gtk-WARNING **: cannot open display:
> test at ubuntu:~$
>
> What can I do to have the user "test" open GUI apps from Konsole? Thanks.
>
> Dotan Cohen
> http://what-is-what.com
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/




More information about the kubuntu-users mailing list