LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-12-2008, 12:54 PM   #1
ciphyre
Member
 
Registered: Aug 2008
Distribution: FEDORA, RHEL, SLES
Posts: 51

Rep: Reputation: 15
Unhappy Having issue running system-config-packages using X11 Forwarding


New to this forum, first time posting here, hello to all fellow Linux users and Admins!!!!

I am trying to use system-config-packages to install some RPMs on a remote server using a network install of RHEL that is on my local LAN.

Here is my setup:

SSH2 on remote server setup to do X11 forwarding to 127.0.0.1:8890 (configured via terminal application when connection is made)

Local terminal configured to forward from remote server to the destination host on local LAN.

When I launch system-config-packages via:

/usr/sbin/system-config-packages --tree="http"://127.0.0.1:8888/RHEL4u4

I get the following:

Unable to import gtk module. This may be due to running without
$DISPLAY set. Exception was:
could not open display.

Not sure where to look for the issue as this config works for every other server but this one.

Any help would be appreciated!!!

Thanks!!

David
 
Old 09-13-2008, 06:13 AM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
do you gave a gui installed on BOTH computers
 
Old 09-13-2008, 07:48 AM   #3
ciphyre
Member
 
Registered: Aug 2008
Distribution: FEDORA, RHEL, SLES
Posts: 51

Original Poster
Rep: Reputation: 15
To answer your question, I am not running the GUI on either side of the connection.

However I figured out the issue, I hadn't set my remote terminal to request X11 packets be forwarded to it so the DISPLAY variable was not being set when I was connecting.

I typically do this sort of thing from another Linux box using the SSH -X option but since I was trying to use my laptop as a proxy for the remote server to get to the network install on my local LAN I was uing a third party application and missed a step.

I run my servers in init 3 so there is not an active desktop manager running, X applications are then available on demand instead of taking up system resources. In addition my laptop is (unfortunately) running windows XP so I run a X server locally in order to display the target X app. I don't usually run a full desktop manager over a WAN connection I restrict that to/from local boxes on the same LAN.

Thanks for responding though.

David
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to show up all available packages in system-config-packages (RHEL 5) sean_zhang Linux - Newbie 1 03-10-2008 05:05 AM
ssh remote desktop - xserver config for x11 forwarding b345713 Linux - Networking 6 03-15-2006 04:14 PM
ssh remote desktop - xserver config for x11 forwarding b345713 Linux - Newbie 1 03-14-2006 06:38 PM
X11 Forwarding Issue gauge73 Linux - Networking 1 11-10-2004 09:20 AM
Problem in running redhat-config-packages satimis Red Hat 2 09-29-2003 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration