X over ssh is not insecure (was: Re: Wayland Is Coming)

Liste des GroupesRevenir à cw x 
Sujet : X over ssh is not insecure (was: Re: Wayland Is Coming)
De : vallor (at) *nospam* cultnix.org (vallor)
Groupes : comp.windows.x
Date : 15. May 2024, 17:31:02
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v22o06$ticm$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
User-Agent : Pan/0.158 (Avdiivka; 489fd83; Linux-6.9.0)
On Wed, 15 May 2024 07:14:09 -0000 (UTC), Muttley@dastardlyhq.com wrote in
<v21nc1$o322$1@dont-email.me>:

On Tue, 14 May 2024 21:52:49 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Mon, 13 May 2024 10:31:50 +0000 (UTC), Julian Bradfield wrote:
>
The socket is usually called /tmp/.X11-unix/Xn for display n.
>
The socket *has* to be called X«n», and be located in /tmp/.X11-unix/.
 
In one post you're claiming X doesn't use unix sockets, now you're an
expert on what the permissions should be.
 
Which is a world-writable directory. You see the problem?
 
Its not a problem , its part of the design.
 
The Wayland socket goes in $XDG_RUNTIME_DIR, which is a variable under
the control of the user. It usually points to /run/user/«userid». Which
belongs to that specific user.
 
Very useful if a process running under another user id wants to connect.

Lawrence doesn't seem to understand ~/.Xauthority ...

ssh does though -- if you forward an X connection through ssh,
it will manage the necessary .Xauthority entries with xauth(1).

This completely invalidates the "X over ssh is insecure" argument.

export DISPLAY=:0.0 # This uses a Unix socket.

Not even root can run X clients on the display server, if it
doesn't have the necessary .Xauthority entry.  Protip:

# ll /root/.Xauthority
lrwxrwxrwx 1 root root 23 Oct 12  2023 /root/.Xauthority -> /home/
xxx/.Xauthority

I can't see using Wayland until remote connection forwarding is
handled.  If there is something that gets access to Wayland via
a Unix socket, then I could see ssh being changed to add Wayland
connection forwarding.

--
-v

Date Sujet#  Auteur
8 May 24 * Wayland Is Coming89Lawrence D'Oliveiro
8 May 24 +* Re: Wayland Is Coming31Kenny McCormack
8 May 24 i`* Re: Wayland Is Coming30Muttley
8 May 24 i +* Re: Wayland Is Coming3Lawrence D'Oliveiro
9 May 24 i i`* Re: Wayland Is Coming2Muttley
9 May 24 i i `- Re: Wayland Is Coming1Lawrence D'Oliveiro
9 May 24 i `* Re: Wayland Is Coming26Lawrence D'Oliveiro
9 May 24 i  `* Re: Wayland Is Coming25Muttley
9 May 24 i   `* Re: Wayland Is Coming24Lawrence D'Oliveiro
9 May 24 i    +* Re: Wayland Is Coming13Muttley
9 May 24 i    i`* Re: Wayland Is Coming12Lawrence D'Oliveiro
10 May 24 i    i `* Re: Wayland Is Coming11Muttley
12 May 24 i    i  `* Re: Wayland Is Coming10Lawrence D'Oliveiro
12 May 24 i    i   `* Re: Wayland Is Coming9Muttley
12 May 24 i    i    +* Re: Wayland Is Coming2Zach Metzinger
12 May 24 i    i    i`- Re: Wayland Is Coming1Lawrence D'Oliveiro
12 May 24 i    i    `* Re: Wayland Is Coming6Lawrence D'Oliveiro
13 May 24 i    i     `* Re: Wayland Is Coming5Muttley
14 May 24 i    i      `* Re: Wayland Is Coming4Lawrence D'Oliveiro
14 May 24 i    i       `* Re: Wayland Is Coming3Muttley
17 May 24 i    i        `* Re: Wayland Is Coming2Lawrence D'Oliveiro
17 May 24 i    i         `- Re: Wayland Is Coming1Muttley
13 May 24 i    `* Re: Wayland Is Coming10Eli the Bearded
13 May 24 i     `* Re: Wayland Is Coming9Muttley
13 May 24 i      `* Re: Wayland Is Coming8Lawrence D'Oliveiro
13 May 24 i       `* Re: Wayland Is Coming7Muttley
14 May 24 i        `* Re: Wayland Is Coming6Lawrence D'Oliveiro
14 May 24 i         `* Re: Wayland Is Coming5Muttley
15 May 24 i          `* Re: Wayland Is Coming4Lawrence D'Oliveiro
15 May 24 i           `* Re: Wayland Is Coming3Muttley
24 May 24 i            `* Re: Wayland Is Coming2Lawrence D'Oliveiro
24 May 24 i             `- Re: Wayland Is Coming1Muttley
8 May 24 +* Re: Wayland Is Coming30Marco Moock
8 May 24 i`* Re: Wayland Is Coming29Lawrence D'Oliveiro
9 May 24 i `* Re: Wayland Is Coming28Marco Moock
9 May 24 i  `* Re: Wayland Is Coming27Lawrence D'Oliveiro
9 May 24 i   +* Re: Wayland Is Coming21Muttley
9 May 24 i   i`* Re: Wayland Is Coming20Lawrence D'Oliveiro
9 May 24 i   i `* Re: Wayland Is Coming19Muttley
9 May 24 i   i  `* Re: Wayland Is Coming18Lawrence D'Oliveiro
10 May 24 i   i   `* Re: Wayland Is Coming17Muttley
10 May 24 i   i    `* Re: Wayland Is Coming16Lawrence D'Oliveiro
11 May 24 i   i     `* Re: Wayland Is Coming15Muttley
12 May 24 i   i      `* Re: Wayland Is Coming14Lawrence D'Oliveiro
12 May 24 i   i       `* Re: Wayland Is Coming13Muttley
12 May 24 i   i        `* Re: Wayland Is Coming12Lawrence D'Oliveiro
13 May 24 i   i         `* Re: Wayland Is Coming11Muttley
13 May 24 i   i          `* Re: Wayland Is Coming10Lawrence D'Oliveiro
13 May 24 i   i           +* Re: Wayland Is Coming6Julian Bradfield
14 May 24 i   i           i`* Re: Wayland Is Coming5Lawrence D'Oliveiro
15 May 24 i   i           i `* Re: Wayland Is Coming4Muttley
15 May 24 i   i           i  `* X over ssh is not insecure (was: Re: Wayland Is Coming)3vallor
17 May 24 i   i           i   `* Re: X over ssh is not insecure (was: Re: Wayland Is Coming)2Lawrence D'Oliveiro
17 May 24 i   i           i    `- Re: X over ssh is not insecure (was: Re: Wayland Is Coming)1Muttley
13 May 24 i   i           `* Re: Wayland Is Coming3Muttley
14 May 24 i   i            `* Re: Wayland Is Coming2Lawrence D'Oliveiro
14 May 24 i   i             `- Re: Wayland Is Coming1Muttley
9 May 24 i   `* Re: Wayland Is Coming5Marco Moock
9 May 24 i    `* Re: Wayland Is Coming4Muttley
9 May 24 i     `* Re: Wayland Is Coming3Lawrence D'Oliveiro
10 May 24 i      `* Re: Wayland Is Coming2Muttley
10 May 24 i       `- Re: Wayland Is Coming1Lawrence D'Oliveiro
10 May 24 +* Re: Wayland Is Coming5Javier
10 May 24 i`* Re: Wayland Is Coming4Lawrence D'Oliveiro
10 May 24 i `* Re: Wayland Is Coming3Muttley
10 May 24 i  `* Re: Wayland Is Coming2Lawrence D'Oliveiro
11 May 24 i   `- Re: Wayland Is Coming1Muttley
10 May 24 +* Re: Wayland Is Coming13Zach Metzinger
10 May 24 i+* Re: Wayland Is Coming4Marco Moock
10 May 24 ii`* Re: Wayland Is Coming3Zach Metzinger
10 May 24 ii `* Re: Wayland Is Coming2Lawrence D'Oliveiro
11 May 24 ii  `- Re: Wayland Is Coming1Marco Moock
10 May 24 i+- Re: Wayland Is Coming1Lawrence D'Oliveiro
11 May 24 i`* Re: Wayland Is Coming7Alastair Hogge
11 May 24 i +- Re: Wayland Is Coming1Lawrence D'Oliveiro
11 May 24 i +* Re: Wayland Is Coming3Winston
11 May 24 i i+- Re: Wayland Is Coming1Lawrence D'Oliveiro
12 May 24 i i`- Re: Wayland Is Coming1Alastair Hogge
11 May 24 i `* Re: Wayland Is Coming2Zach Metzinger
11 May 24 i  `- Re: Wayland Is Coming1Muttley
11 May 24 `* Re: Wayland is coming9Ivan Shmakov
12 May 24  `* Re: Wayland is coming8Lawrence D'Oliveiro
25 May 24   `* Re: Wayland is coming7Sebastian Wells
25 May 24    +- Re: Wayland is coming1Muttley
26 May 24    `* Re: Wayland is coming5Lawrence D'Oliveiro
26 May 24     `* Re: Wayland is coming4Sebastian Wells
26 May 24      +* Re: Wayland is coming2Lawrence D'Oliveiro
27 May 24      i`- Re: Wayland is coming1Muttley
27 May 24      `- Re: Wayland is coming1Muttley

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal