News for hackers. Stuff that matters.
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by TacticalCoder on Tuesday March 03, 2020 @11:52AM (#22476205)
Haven't switched yet. Under Wayland, can users which are not owning the session display an app on the Wayland session/server? (e.g. under X I can do something like "xhost +" and then have any user display an app on the X server). I'm not asking about the security implications of doing that under X (as you already mentioned, X is less secure and an app can read another app's screen content etc.): just if it's doable or not under Wayland?
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by floatboth on Tuesday March 03, 2020 @02:52PM (#22478142)
Whoever has access to your wayland socket can display applications. Root already has access to all the things so for running apps as root (e.g. wireshark) you just need to configure sudo/doas/whatever-you-use to keep XDG_RUNTIME_DIR and WAYLAND_DISPLAY. e.g. in my doas.conf:

permit setenv { HOME LC_ALL TERM XDG_RUNTIME_DIR WAYLAND_DISPLAY } greg as root

and I can just run 'doas wireshark'.

Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by Bnshsysjab on Tuesday March 03, 2020 @04:40PM (#22478968)
What about running a GUI from a local or remote ssh session?

Eg previously I would execute DISPLAY=:0 mplayer foo.avi to play remotely or ssh -X root@foo xcalc to display xcalc on my local monitor but execute on rhost

Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by klardotsh on Tuesday March 03, 2020 @05:16PM (#22479250)
To some extent you're looking for Waypipe, which aims to bring the X-style network transparency model to Wayland apps: https://gitlab.freedesktop.org/mstoeckl/waypipe
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by GrayShade on Tuesday March 03, 2020 @06:12PM (#22479634)
X forwarding works just fine with Xwayland.
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by TacticalCoder on Tuesday March 03, 2020 @03:07PM (#22478274)
Very interesting, thanks a lot. I'll definitely give Wayland a try soon!