Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Eclipse + RedHat -> Gtk-warning

 
Ranch Hand
Posts: 1491
  • 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 ?
 
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: 1491
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not trying from root (trying from my home directory).
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • 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: 1491
  • 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
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • 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: 1491
  • 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
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • 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.
 
Climb the rope! CLIMB THE ROPE! You too tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic