shadowintheday2, (edited )

Another thing to solve: XWayland apps as a different user

Giving access to the wayland socket makes other users able to use wayland; however programs that rely on XWayland to work don’t seem to get it:


<span style="color:#323232;">
</span><span style="color:#323232;">Start Failed
</span><span style="color:#323232;">Failed to initialize graphics environment
</span><span style="color:#323232;">
</span><span style="color:#323232;">java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
</span><span style="color:#323232;">        at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
</span>

Wine


<span style="color:#323232;">
</span><span style="color:#323232;">0120:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 0ECAFF08
</span><span style="color:#323232;">0128:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
</span><span style="color:#323232;">0128:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
</span><span style="color:#323232;">0128:err:systray:initialize_systray Could not create tray window
</span><span style="color:#323232;">0114:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
</span><span style="color:#323232;">0114:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
</span><span style="color:#323232;">0114:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0DE4FB40
</span>

<span style="color:#323232;">env | grep -i display
</span><span style="color:#323232;">WAYLAND_DISPLAY=wayland-0
</span><span style="color:#323232;">DISPLAY=:0
</span><span style="color:#323232;">
</span>
  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #