Re: xhost RHEL3 != RHEL4



I'm already using X11Forward in ssh.
I tested using rlogin but also need to set the xhost.

Diego

Message: 7
Date: Tue, 28 Aug 2007 09:45:40 -0400
From: Andrew Bacchi <bacchi@xxxxxxx>
Subject: Re: xhost RHEL3 != RHEL4
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Message-ID: <46D42704.7070500@xxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I find no need to use xhost in RHEL4. But I did find I needed to allow X in the ssh command.

ssh -X -l username hostname

That will allow ssh to forward the X session to your client.

Diego Brito Veiga - b04917 wrote:

> Hi guys,
> > From RHEL3 to RHEL4 there was some security improvements on gdm.conf file.
> I know that I need to enable the gdm.conf DisallowTCP=false, set the > DISPLAY and do a xhost <machine> to open remote X windows.
> End users concerns:
> Is there a way to avoid the xhost <machine>? Just like RHEL3: set the > DISPLAY and open the remote X windows.
> > Cheers
>

-- veritatas simplex oratio est -Seneca Andrew Bacchi Systems Programmer Rensselaer Polytechnic Institute phone: 518.276.6415 fax: 518.276.2809 http://www.rpi.edu/~bacchi/


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: xhost RHEL3 != RHEL4
    ... I find no need to use xhost in RHEL4. ... But I did find I needed to allow X in the ssh command. ... From RHEL3 to RHEL4 there was some security improvements on gdm.conf file. ... set the DISPLAY and open the remote X windows. ...
    (RedHat)
  • Re: ssh -X shop problem...
    ... Gene Heskett wrote: ... using fake authentication data for X11 forwarding. ... "gene" can't run X applications on the local system at that point, and neither can he forward X over ssh. ... Since you've used xhost to add permission to something other than localhost, you probably misunderstand how X forwarding works. ...
    (Fedora)
  • Re: Problems with SSH and X11
    ... I'll leave the "Is xhost ok here" question for others to ... When you ssh with X11 forwarding, and the remote system at least has ... appear on rock and the data is not being forwarded over ssh. ...
    (Debian-User)
  • Re: Securing SSH
    ... I agree, one should never use xhost +, this undoes all the work done by the ... -X or -Y ssh options. ... In fact using ssh -Y user@remote is good enough. ... > You should then see the Xclock on your system from the remote system. ...
    (Fedora)
  • Re: ssh -X shop problem...
    ... somethings gone fubar in the X11 forwarding. ... When you "su" to gene on the X terminal, ... neither can he forward X over ssh. ... classic conditions, you'd use xhost to allow access from a remote host, ...
    (Fedora)