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 |
do you gave a gui installed on BOTH computers
|
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 |
All times are GMT -5. The time now is 02:15 AM. |