LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-02-2004, 08:09 AM   #1
eyalkz
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.
Jonathan
 
Old 03-02-2004, 08:22 AM   #2
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Mandriva 2008 Spring
Posts: 652

Rep: Reputation: 31
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.
 
  


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
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified eyalkz Linux - Newbie 10 02-07-2014 12:53 AM
XERROR: 'Xlib: connection to ":0.0" refused by server' tsiMental Debian 11 02-16-2007 07:30 PM
Wine not working. Xlib: connection to ":0.0" refused by server Xerop Linux - General 1 02-18-2004 09:37 PM
What is "Xlib: connection to ":0.0" refused by server " rack201 Linux - Software 1 02-04-2004 07:49 AM
Mplayer: [Xlib: connection to ":0.0" refused by server] elluva Slackware 2 12-18-2003 06:12 AM


All times are GMT -5. The time now is 06:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration