[TriLUG] X server now doesn't listen for X clients

Bill Farrow via TriLUG trilug at trilug.org
Wed Jul 15 13:09:13 EDT 2020


Did you authorise clients to connect with  "xhosts +"  ?

On Wed, Jul 15, 2020 at 12:39 PM Joseph Mack NA3T via TriLUG
<trilug at trilug.org> wrote:
>
> I haven't done a linux install for 10 years. Back then the X server would
> happily serve X clients like xterm, xeyes or xclock out of the box.
>
> However the current install refuses to do this. If I set
>
> export DISPLAY=:0
>
> X will run X clients, but if I do
>
> export DISPLAY=127.0.0.1:0
> or
> export DISPLAY=my_ip:0
>
> and run an X client (eg xhost +) I get
>
> cannot open $DISPLAY
>
> I can't run remote X clients either.
>
> It turns out that the current install of X is not listening on port 6000.
>
> You turn this on in startx
>
> defaultserverargs="-listen tcp "
>
> and now the X server is listening on port 6000 and the X server will accept
> connections from X clients. It seems that now you have to turn X on after you
> install it. Presumably having X working is a security hole.
>
> I guess the next step is for the default configured ethernet devices not to
> accept packets.
>
> What did surprise me, was that the window manager brought up its xterms, but
> when in the window, I tried to start another xterm, it failed. Presumably the
> window manager has its own way of starting xclients. Anyone know how this works?
>
> Thanks
>
> Joe
>
>
> --
> Joseph Mack NA3T EME(B,D), FM05lw North Carolina
> jmack (at) wm7d (dot) net - azimuthal equidistant
> map generator at http://www.wm7d.net/azproj.shtml
> Homepage http://www.austintek.com/ It's GNU/Linux!
> --
> This message was sent to: Bill Farrow <bill.farrow at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
> TriLUG mailing list : https://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  : https://www.trilug.org/mailman/options/trilug/bill.farrow%40gmail.com
> Welcome to TriLUG: https://trilug.org/welcome


More information about the TriLUG mailing list