LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-09-2004, 07:32 PM   #1
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Linux Mint, FreeBSD, Android
Posts: 358

Rep: Reputation: 32
FC3: no video: "can't open X11 display"


Hi all,

I have just now installed mplayer and xine under Core 3, which I got up and running this afternoon. Neither totem nor mpayer will display video. mplayer quits with:

Code:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
vo: couldn't open the X11 display (:0.0)!
Error opening/initializing the selected video_out (-vo) device.
Nearly the same message from Totem:
Code:
 
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(totem:19829): Gtk-WARNING **: cannot open display:
Anyone know what is going on? (It seems pretty strange, given that totem is now bundled with Fedora)
 
Old 11-10-2004, 07:02 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
you're probably trying to run it as root. don't run it as a normal user. if for some reason you insist on using a user other than the one that owns the X instance, run "xhost +localhost" to allow other connections
 
Old 11-10-2004, 11:14 AM   #3
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Linux Mint, FreeBSD, Android
Posts: 358

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by acid_kewpie
you're probably trying to run it as root. don't run it as a normal user. if for some reason you insist on using a user other than the one that owns the X instance, run "xhost +localhost" to allow other connections
Hmmm, perhaps you are right, however I am getting the same behaviour again this evening, this time just trying to run programs as a regular user. For example:

Code:
$ xhost
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xhost:  unable to open display ":0.0"
It seems to effect starting any graphic-mode program, although the ones which are already running, like Firefox, aren't effected. I haven't seen this problem before installing Core 3 yesterday.
 
Old 11-10-2004, 11:25 AM   #4
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Linux Mint, FreeBSD, Android
Posts: 358

Original Poster
Rep: Reputation: 32
So, the problem is gone if I log out and log in again. But for how long???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot connect to X11 window server using ":).0" as DISPLAY variable cclack Linux - Newbie 4 09-06-2007 09:32 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
xset: unable to open display "mycomputer.mynetwork:0.0" nicolaeancuta Linux - Networking 2 07-13-2005 01:39 AM
"Can't open display" error when try to use a program remote heande Linux - Newbie 2 03-11-2005 10:13 AM
unable to open display "24.228.61.72:0.0" while installing oracle remotely cheeku Linux - Newbie 3 08-13-2004 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration