• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse + RedHat -> Gtk-warning

 
kri shan
Ranch Hand
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not trying from root (trying from my home directory).
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
kri shan
Ranch Hand
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even my xterm and xhost are not working. Any input ?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How shall i check X/SERVER RUNNING ON MY DESKTOP ?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic