Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-02-2004, 09:09 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Unhappy Xlib: connection to ":0.0" refused by server Xlib: No protocol specified

hi all,
I'm new here.
I have similar problem with running a C project that uses GLUT/OpenGL graphics...

every run result with the two lines:

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

sometimes the graphics works ok sometimes there is an infinite loop, but every execution result with the two lines above.

what is the meaning of these 2 lines?
Is it an Error or Warning?
How can I fix the code?

My guess is that there is a fundamental problem with the graphics Glut Library...Or that I didn't write the MakeFile OK

Please help me, I would extremly appriciate it.
Old 03-02-2004, 09:22 AM   #2
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Rep: Reputation: 32
Are you running the program as root or normal user ?
I get that message with Suse if I try to run a program as root that starts the X server.


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
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified eyalkz Linux - Newbie 12 11-27-2018 02:30 PM
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 > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:40 AM.

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