+ Post New Thread
Results 1 to 8 of 8
*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 ...
  1. #1

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,317
    Thank Post
    226
    Thanked 426 Times in 309 Posts
    Rep Power
    171

    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

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    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.

  3. #3

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,317
    Thank Post
    226
    Thanked 426 Times in 309 Posts
    Rep Power
    171

    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.

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    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.

  5. #5

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,317
    Thank Post
    226
    Thanked 426 Times in 309 Posts
    Rep Power
    171

    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

  6. #6

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    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.

  7. #7

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,317
    Thank Post
    226
    Thanked 426 Times in 309 Posts
    Rep Power
    171

    Re: Xterm not conecting to proxy

    Ta.

    Think I nned a book. A large book. WIth many pictures

    Getting there though

    Thanks again

  8. #8

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227



SHARE:
+ Post New Thread

Similar Threads

  1. apt-get proxy
    By Samson in forum *nix
    Replies: 24
    Last Post: 19th September 2009, 01:33 PM
  2. Proxy switch "proxy on" & " proxy off" software
    By GavRob in forum Network and Classroom Management
    Replies: 20
    Last Post: 30th July 2007, 11:05 PM
  3. FTP proxy
    By NetworkGeezer in forum Wireless Networks
    Replies: 1
    Last Post: 2nd February 2007, 09:59 PM
  4. proxy nightmare
    By alonebfg in forum Wireless Networks
    Replies: 15
    Last Post: 20th November 2006, 06:48 PM
  5. Proxy
    By Norphy in forum How do you do....it?
    Replies: 22
    Last Post: 18th September 2006, 11: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
  •