LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problems to lunch graphicals from konsole. (https://www.linuxquestions.org/questions/debian-26/problems-to-lunch-graphicals-from-konsole-489393/)

megaprog 10-04-2006 11:11 AM

Problems to lunch graphicals from konsole.
 
Whenever I try to lunch some programs from my console this is the error i get:

Code:

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

What coud be happening here ?

I'm using Debian Sid.

bigrigdriver 10-04-2006 10:43 PM

Does this error occur when you have logged in as user, then in console you su to root, and try to run a graphical application?

If so, as user, give this command: xhost +localhost

Then su to root, and start the graphical application.

Phiebie 10-05-2006 09:43 AM

Quote:

Originally Posted by bigrigdriver
If so, as user, give this command: xhost +localhost

Then su to root, and start the graphical application.

Much easier way: install sux.
Then you only have to give in the console the command
"sux ..." (see man sux and man su for the ...) and off you go.


All times are GMT -5. The time now is 03:24 AM.