News for hackers. Stuff that matters.
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!