LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't launch X apps when 'su'd as another user (https://www.linuxquestions.org/questions/linux-newbie-8/cant-launch-x-apps-when-sud-as-another-user-82774/)

davee 08-17-2003 04:50 AM

Can't launch X apps when 'su'd as another user
 
When I try and launch an app as another user, I get the :

Xlib: connection to ":0.0" refused by server

message. What should I be doing? I don't want to have to log out and in again as another user...

Dave

hfawzy 08-17-2003 05:57 AM

Before you switch user, try to type this command in the console :
Code:

xhost +localhost
hfawzy

adz 08-17-2003 07:13 AM

Or just "xhost +" to lett all users access the X server.

davee 08-17-2003 12:54 PM

Thanks guys!


All times are GMT -5. The time now is 02:59 PM.