aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse + RedHat -> Gtk-warning Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse + RedHat -> Gtk-warning" Watch "Eclipse + RedHat -> Gtk-warning" New topic
Author

Eclipse + RedHat -> Gtk-warning

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1365
I extracted eclipse tar and try to start eclipse using /eclipse/./eclipse gives
Gtk-warning: can not open display
. Any suggestion ?
denis sorn
Ranch Hand

Joined: Apr 30, 2008
Posts: 33
Are you trying to do that as root? If yes could be that root doesn't have right to start/run X applications.
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1365
I am not trying from root (trying from my home directory).
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

Are you physically sitting at the Linux machine, or are you logged in remotely? If remotely, do you have an X/Windows server running on your desktop machine? If not, you need one. If you're not sure, then you probably don't.


[Jess in Action][AskingGoodQuestions]
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1365
Even my xterm and xhost are not working. Any input ?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

kri shan wrote:Even my xterm and xhost are not working. Any input ?


DO YOU HAVE AN X/SERVER RUNNING ON YOUR DESKTOP? IF YOU DO NOT, YOU NEED ONE. IF YOU DO NOT HAVE ONE, XTERM, XHOST, ECLIPSE, OR ANY OTHER PROGRAM THAT USES X WILL NOT WORK!
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1365
How shall i check X/SERVER RUNNING ON MY DESKTOP ?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

If your desktop machine is a Windows machine, and you have never installed an X/Window server, then you don't have one. You need to install either a commercial or freeware one, and run it. That will allow the remote machine's graphics libraries to display their windows on your machine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse + RedHat -> Gtk-warning
 
Similar Threads
Linking a group of classes togather
Odd behaviour ?
Installation of Eclipse On Linux
Type Mismatch - why i am getting this error?
Running Eclipse remotely??