LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-08-2004, 01:30 AM   #1
nurien
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
problem running Eclipse 2.1 on mandrake 9.2


Hi,

If I run eclipse using my nurien account , I get the following error :

[nurien@licence-appserver nurien]$ eclipse&
[1] 4574
[nurien@licence-appserver nurien]$ Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: Couldn't find per display information
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: :0.0

[1]+ Exit 1 eclipse

However if I run it as root, it will work!

I would be very grateful for help (I am new to linux)


Thanks a lot in advance
 
Old 01-08-2004, 01:53 AM   #2
ashamril
Member
 
Registered: Jan 2003
Location: cyberjaya
Distribution: rh mdk deb fed suse
Posts: 99

Rep: Reputation: 15
as user nurien export DISPLAY=:0.0
 
Old 01-08-2004, 02:54 AM   #3
nurien
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

Unfortunately I get the same error message.

Any other ideas?

Thx for the reply anyway
 
Old 01-08-2004, 04:30 AM   #4
nurien
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

Finally I found a fix :

As root , you have to run the following command which allows to allow access to the X server for every user:
xhost +


Then eclipse graphical interface can be launched using local account.

It is also needed to set LD_LIBRARY_PATH to the Eclipse installation path to avoid some warning messages
 
  


Reply



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
error running eclipse rich_montana Linux - Software 1 11-18-2005 03:04 AM
Problem running Eclipse with gij lvella Linux - Software 2 05-11-2005 03:30 PM
Problem running Eclipse 3.0 on RedHat Linux 9.0 kasturiranganr Linux - Software 3 09-02-2004 03:14 PM
Problem's running eclipse UmneyDurak Linux - Software 2 09-01-2004 09:29 PM
Eclipse SDK v3.0 running problem: "Permission denied" AlexDunnCpp Linux - Newbie 1 08-03-2004 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:09 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