LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2006, 01:12 PM   #1
jungleking
LQ Newbie
 
Registered: Jun 2005
Location: Wells, Somerset, UK
Distribution: Ubuntu Dapper, Suse 10, Debian 3.1
Posts: 28

Rep: Reputation: 15
connection to ":0.0" refused by server


Hi everyone
I'm running Debian 3.1 system with INTEL 845 graphics. Whenever I try to type anything in terminal that brings up a program (eg synaptic), I get the below error - I've tried typing
Code:
xhost +
and
Code:
export DISPLAY=:0.0


Code:
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(synaptic:4109): Gtk-WARNING **: cannot open display:
The below error is what I get when I try to reconfigure or install a new package using apt-get.
Code:
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
dpkg-preconfigure: cannot connect to X server :0.0
debconf: unable to initialize frontend: Kde
debconf: (DISPLAY problem?)
debconf: falling back to frontend: Dialog
Any help is appreciated
 
Old 05-31-2006, 01:21 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
I assume you're trying to start a program while you're root user. I installed and use gksu. Just type as a regular user gksu synaptic and it should prompt you for a root password and then open Synaptic as root.
 
Old 05-31-2006, 01:25 PM   #3
jungleking
LQ Newbie
 
Registered: Jun 2005
Location: Wells, Somerset, UK
Distribution: Ubuntu Dapper, Suse 10, Debian 3.1
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks for that - synaptic runs but I get the error
Code:
(gksu:4711): Pango-WARNING **: Error loading GPOS table 4097
Is this a problem?
 
Old 05-31-2006, 01:28 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Maybe google the error. I've also used sudo to run gui programs from the cli, but it usually also spits out errors at me. As near as I can tell the programs still work, so I never worried much about it...
 
Old 05-31-2006, 01:30 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Just found this. Looks like it's just a font error. So no big deal. Not sure how to fix it, but this guy makes a suggestion of somehow auditing your font files...
 
  


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
XERROR: 'Xlib: connection to ":0.0" refused by server' tsiMental Debian 11 02-16-2007 08:30 PM
Wine not working. Xlib: connection to ":0.0" refused by server Xerop Linux - General 1 02-18-2004 10:37 PM
What is "Xlib: connection to ":0.0" refused by server " rack201 Linux - Software 1 02-04-2004 08:49 AM
Mplayer: [Xlib: connection to ":0.0" refused by server] elluva Slackware 2 12-18-2003 07:12 AM
Synaptic Error: connection to":0.0" refused by server xsis4me Linux - Software 2 11-18-2003 08:59 PM


All times are GMT -5. The time now is 04:16 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration