Re: xhost problem

From: Matthew Seaman (m.seaman_at_infracaninophile.co.uk)
Date: 10/30/04

  • Next message: jason: "Re: throttling cpu speed to run cooler"
    Date: Sat, 30 Oct 2004 18:39:34 +0100
    To: Gary Aitken <garya@Dreamchaser.org>
    
    
    

    On Sat, Oct 30, 2004 at 10:50:01AM -0600, Gary Aitken wrote:
    > I can't get an xterm from another machine to display on my 5.3 system.
    > I've tried xhost with the ip of the machine I want to allow in,
    > and finally tried xhost + to allow any machine in,
    > but attempts to display still fail with "Can't open display w.x.y.z:0.0"
    >
    > firewall_enable and ipfilter_enable are NO at the moment,
    > and the source (xterm) system is open on the internal network.
    >
    > What am I missing?

    Xservers don't listen on the network by default nowadays, because
    running X across the network in plain is about as bad as using rsh(1),
    or unencrypted telnet(1). Ideally you should be tunnelling the X
    session through ssh(1) -- look for the description of the '-X' and
    '-Y' flags to ssh ('-Y' is only available with more recent versions of
    ssh(1)), and the 'ForwardX11' command you can use in
    /etc/ssh/ssh_config or ~/.ssh/config.

    If you're tunnelling through ssh(1), everything should be setup
    automatically for you: your $DISPLAY on the remote machine will look
    like 'localhost:10.0' or 'remote.host.name:10.0' -- don't fiddle with
    the $DISPLAY setting, or you'll never get the forwarding to work.

            Cheers,

            Matthew

    -- 
    Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                          Savill Way
    PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
    Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
    
    


    • application/pgp-signature attachment: stored

  • Next message: jason: "Re: throttling cpu speed to run cooler"

    Relevant Pages

    • xhost problem
      ... I can't get an xterm from another machine to display on my 5.3 system. ... I've tried xhost with the ip of the machine I want to allow in, ... but attempts to display still fail with "Can't open display w.x.y.z:0.0" ...
      (freebsd-questions)
    • SUMMARY: remote CDE logins
      ... access by any client (e.g. xterm running on what you call your server). ... your "DISPLAY" is what is serving X to the X application ... xhost + will disable access control, so anyone can access your X server. ... Do you want an entire CDE login session from the remote machine ...
      (Tru64-UNIX-Managers)
    • Re: xhost +localhost
      ... > No, in fact, xhost needs the DISPLAY variable already set so that it ... > knows which display to try and connect to to change access control. ... allows anyone to access the X server through unix domain sockets. ... > the cookie is then sends it to the X server to authenticate itself. ...
      (freebsd-questions)
    • Re: how to send a Display message via CAPI driver?
      ... gezielt auf das Display zB. eines an der pbx angeschlossenen Dect-Phones schreiben? ... ISDN-card/capi, but only received, isnt it? ... And has no explicit ... UUS is (network) transparent user-data as I understood. ...
      (comp.dcom.isdn.capi)
    • Re: DHCP and remote access problem
      ... Right click My Network Places>Properties. ... Les Connor [SBS MVP] ... > I noticed in DHCP that some of our systems display under name -> username. ...
      (microsoft.public.windows.server.sbs)