*nix Thread, Xterm not conecting to proxy in Technical; Ok, probably a very simple solution to this. Finally got an Ubuntu test station up and running. I've set up ...
-
4th October 2006, 09:24 AM #1 Xterm not conecting to proxy
Ok, probably a very simple solution to this. Finally got an Ubuntu test station up and running. I've set up tunnelier which all works but I can't get it to work for anything externally. On the station I can ping, apt-get and everything like that. From an xTerm window it doesn't manage that at all. I have a feeling it is a proxy problem and I have entered our proxy details into the tunnelier setup but no go.
I though that the xTerm window would just run the commands from teh linux box so if it works from there it shoudl work remotely. Am I wrong in this assumption? ANy ideas?
Ta
-
-
IDG Tech News
-
4th October 2006, 09:32 AM #2 Re: Xterm not conecting to proxy
Your using Xterm? So I guess your running an X server on one machine and running Xterm remotely from the other?
Did you alter your xhosts to allow a remote tcp/ip connection? Is your xserver listening on tcp/ip? By default it only listens on UNIX sockets.
-
-
4th October 2006, 10:40 AM #3 Re: Xterm not conecting to proxy
Well it is the BitVise xterm window.
Currently it is a standard Ubuntu Desktop installation while we test out various packages. Once we have a bit more knowledge we are going to move it over to a server install.
Haven't changed any config files, but it is accepting a connection. I can run commands from the xterm cmd line and as long as they are only referencing things on the machine or local network they are fine. So running apt-get, it checks the directory tree, tells me of the dependancies and then tries to contact the external server and just sits there. Not frozen just trying to contact the server. If I do this directly on the station though it is fine.
-
-
4th October 2006, 10:48 AM #4 Re: Xterm not conecting to proxy
Oh I see. Add the following to /etc/apt/apt.conf
Code:
Acquire::http::Proxy "http://proxy.mydomain.com:8080"
Obviously alter the url and port number as required.
-
-
4th October 2006, 11:00 AM #5 Re: Xterm not conecting to proxy
Excellent. Thats worked. What is that file? I had entered the proxy just about everywhere I could find before but as I am finding there is always another config file to find
-
-
4th October 2006, 11:03 AM #6 Re: Xterm not conecting to proxy
It's the configuration file for Apt? 
Generally if you set the HTTP_PROXY enviroment variable in the bash profile that should be sufficent.
I set it up seperately in the apt.conf and wgetrc files as well, just to make sure. You can sometimes end up with no shell enviroment after using sudo or su to run a command.
-
-
4th October 2006, 11:08 AM #7 Re: Xterm not conecting to proxy
Ta.
Think I nned a book. A large book. WIth many pictures 
Getting there though
Thanks again
-
-
4th October 2006, 11:08 AM #8 Re: Xterm not conecting to proxy
-
SHARE:
Similar Threads
-
Replies: 24
Last Post: 19th September 2009, 12:33 PM
-
By GavRob in forum Network and Classroom Management
Replies: 20
Last Post: 30th July 2007, 10:05 PM
-
By NetworkGeezer in forum Networks
Replies: 1
Last Post: 2nd February 2007, 09:59 PM
-
By alonebfg in forum Networks
Replies: 15
Last Post: 20th November 2006, 06:48 PM
-
By Norphy in forum How do you do....it?
Replies: 22
Last Post: 18th September 2006, 10:56 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules