Bug 160251

Summary: allmost no application are starting giving the error Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
Product: [Fedora] Fedora Reporter: Ilja Kogan <news>
Component: xorg-x11Assignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-13 21:05:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ilja Kogan 2005-06-13 20:35:14 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.7.8-2

Description of problem:
Freshly installed FC4. No changes in xorg.conf made. But when starting a lot of graphical applications from the console as root or as user I get the following error: 
# system-config-securitylevel
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

# system-config-services
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Unable to initialize graphical environment. Most likely cause of failure
is that the tool was not run using a graphical environment. Please either
start your graphical user interface or set your DISPLAY variable.
Caught exception: could not open display
$ glxgears
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

glxgears: Error: couldn't open display '(null)'

If starting from GNOME directly nothing happens at all. 
I am not sure, whether it is xorg or anything else, but it seems to. 
The interesting thing is, that GNOME is working without troubles.

Version-Release number of selected component (if applicable):
xorg-x11-6.8.2-31

How reproducible:
Always

Steps to Reproduce:
1.Install a fresh FC4
2.log-in into GNOME
3.open the terminal
4. start a graphical application
  

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

Unable to initialize graphical environment. Most likely cause of failure
is that the tool was not run using a graphical environment. Please either
start your graphical user interface or set your DISPLAY variable.


Expected Results:  the app should have been started

Additional info:

Comment 1 Søren Sandmann Pedersen 2005-06-13 21:05:57 UTC

*** This bug has been marked as a duplicate of 160250 ***