Opening GUI as another user

Thilo Six T.Six at
Tue Sep 19 19:08:11 UTC 2006

Dotan Cohen wrote the following on 19.09.2006 19:44:
> 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

as allready has been mentioned sudo is probably better but if you just
like to stuck with su use this one:

$ aptitude search sux
 p   | 1.0.1-3    | sux | wrapper around su which will transfer your X

it´s a patched su version just for the purpose you have arisen.

bye Thilo
i am on Ubuntu 2.6 KDE
- some friend of mine

gpg key: Ox4A411E09

More information about the kubuntu-users mailing list