LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem running Eclipse 2.1 on mandrake 9.2 (https://www.linuxquestions.org/questions/linux-software-2/problem-running-eclipse-2-1-on-mandrake-9-2-a-132631/)

nurien 01-08-2004 01:30 AM

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

ashamril 01-08-2004 01:53 AM

as user nurien export DISPLAY=:0.0

nurien 01-08-2004 02:54 AM

Hi,

Unfortunately I get the same error message.

Any other ideas?

Thx for the reply anyway

nurien 01-08-2004 04:30 AM

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:D


All times are GMT -5. The time now is 12:13 PM.