Re: Cannot run X over ssh (it's fine now)



On Thursday, September 29th, 2011 at 13:28:02h +0000, Vahis wrote:

On 2011-09-29, J G Miller <miller@xxxxxxxx> wrote:
On Thu, 29 Sep 2011 12:04:21 +0000, Vahis wrote:

So please could you try it?

xhost -localhost

$ xhost -localhost
localhost being removed from access control list

xhost +local:

xhost +local
xhost: bad hostname "local"

local is NOT a hostname, it is a family type,
that is why there is a colon after it.

xhost +local:
*^*

Works.

So that means that no remote access is permitted which is
the default state.

But I can connect, no problems.

Because the originating connection is already authorized,
because if it were not, you would not have an Xsession
running.
.



Relevant Pages

  • Several issues with /etc/hosts.allow at a university setting
    ... automatically created a new hostname for my computer. ... Other problems that occur of this new arrangement is that my display ... I've heard xhost + is an insecure way of doing things though ... I don't want to be booted into the new host name even if the ...
    (comp.os.linux.networking)
  • Re: ssh -X shop problem...
    ... Although one should probably mention that "xhost" could more ... allow_keylogging_from +hostname ... It basically turns off what little protection X had. ...
    (Fedora)
  • Re: xhost question: syntax
    ... so how do I specify a username instead of a hostname? ... > No, you don't give any usernam in the argument, just the hostname ... > xhost +localhost ...
    (comp.os.linux.x)
  • Re: Cannot run X over ssh (its fine now)
    ... $ xhost -localhost ... local is NOT a hostname, it is a family type, ... But I'm puzzled with How exctly the authorization takes place. ... Why is it that one out of eight stays in a non-working state? ...
    (alt.os.linux.suse)
  • Re: Cannot run X over ssh (its fine now)
    ... $ xhost -localhost ... local is NOT a hostname, it is a family type, ... But I'm puzzled with How exctly the authorization takes place. ... Why is it that one out of eight stays in a non-working state? ...
    (alt.os.linux.suse)