LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   xawtv: does anybody know how to solve this ? (https://www.linuxquestions.org/questions/linux-newbie-8/xawtv-does-anybody-know-how-to-solve-this-254315/)

Deep-Blue-ro 11-13-2004 08:17 AM

xawtv: does anybody know how to solve this ?
 
When i try to run xawtv (as root) i get this:

This is xawtv-3.93, running on Linux/i686 (2.4.26)
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: :0.0

on slackware 10.

i suppose that there is a problem with xserver but i can't figure out what can be.
radio works fine.

Deep-Blue-ro 11-13-2004 09:48 AM

Normaly, it has to be something extremly simple: I have started xawtv from console as root but i have logged as a user. I had logged to system as root and with few ajustments (overlay changed to grab) it worked ok.

Does anybody know how to make xawtv run when i login as user pls ?

karlan 11-13-2004 04:15 PM

this is nifty, you can also use this for remote connections

say you are logged in at :0 (Alt+F7 on slackware) as karlan

you open up a terminal and type the command
"xhost +127.0.0.1"


now you go to the root window, assuming you are using bash you type:

"DISPLAY=127.0.0.1:0"
"export DISPLAY"


now test it out with xlogo/xeyes, anything opened up in the root terminal should now open up in karlan's X session!

Your welcome:D :D :D


All times are GMT -5. The time now is 07:45 AM.