Gnome Installation Problem

Rick Stevens rstevens at vitalstream.com
Tue Apr 12 17:12:13 UTC 2005


Vincent Ngundi wrote:
> Hi All,
> 
> I installed RedHat 9 on a server but without X Windows and neither Gnome
> nor KDE. Now I need to run an application that requires Gnome from
> another host.
> 
> When I try running 'redhat-config-packages', I get the following error:
> 
> ##################beginning of error###################################
> 
> Unable to import gtk module.  This may be due to running without
> $DISPLAY set.  Exception was:
> could not open display
> Traceback (most recent call last):
>   File "/usr/share/redhat-config-packages/MainWindow.py", line 11, in ?
>     sys.exit(0)
> NameError: name 'sys' is not defined
> 
> ################## end of error###################################
> 
> Could anyone please let me know how to install Gnome given the above
> scenario?
> 
> Thnx in advance.

To install Gnome, you must install X completely.  Gnome is just one of
many possible window managers (KDE is another) that run under X.

Hmmmm.  Lessee.  I'm not surprised that redhat-config-packages requires
X/Gnome/Gtk.  It shouldn't...but under RH9 it probably does.  To be
honest, I'd really recommend you install yum on that machine first.
Download and install yum from here:

ftp://ftp.freshrpms.net/pub/freshrpms/redhat/9/yum/yum-2.0.4.rh.fr.1386.rpm

To install X, Gtk and Gnome, as the root user, run

	# yum -y install Gnome

Oh, by the way, to keep your RH9 machine up to date, use

	# yum -y update

And remember that Red Hat 9 has been dead for well over a year.  Current
support is only through the kind folk at the Fedora Legacy Project.  I
don't know how much longer they intend to support RH9.  You should
SERIOUSLY think about updating to Fedora Core 3.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-     I.R.S.: We've got what it takes to take what you've got!       -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list