• 3 Posts
  • 1 Comment
Joined 11 months ago
cake
Cake day: December 21st, 2023

help-circle

  • 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:

    
    Start Failed
    Failed to initialize graphics environment
    
    java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
            at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    

    Wine

    
    0120:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 0ECAFF08
    0128:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    0128:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
    0128:err:systray:initialize_systray Could not create tray window
    0114:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
    0114:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
    0114:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0DE4FB40
    
    env | grep -i display
    WAYLAND_DISPLAY=wayland-0
    DISPLAY=:0