Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Grant Docker Access to Wayland Display on Hyprland (Arch Linux) #1

Open
Karume-lab opened this issue Aug 27, 2024 · 0 comments

Comments

@Karume-lab
Copy link

Description:
I am experiencing an issue where the GUI applications in the container e.g. rviz2 is unable to access my Wayland display while using Hyprland on an Arch Linux system. Despite following standard procedures to grant access, running the container does not seem to recognize or interact with the Wayland display server correctly. This problem prevents graphical applications running inside Docker containers from being displayed on the host's Wayland session.

Steps to Reproduce:

  1. Set up Hyprland via the installation guide here as your Wayland compositor on an Arch Linux system.
  2. Install Docker and start a container that requires access to the Wayland display.
  3. Attempt to run a graphical application inside the Docker container that should be displayed on the Wayland session.

Expected Behavior:
Graphical applications running within the Docker container should be able to access and display on the Wayland session managed by Hyprland without issues.

Actual Behavior:
Graphical applications within the container fail to display on the Wayland session. The container does not seem to recognize the Wayland display, resulting in error messages related to display access.

System Information:

  • OS: Arch Linux
  • Display Server: Wayland (Hyprland)
  • Docker Version: Docker version 27.1.2, build d01f264bcc

Relevant Logs, Error Messages, or Screenshots:

  1. Running ./start-rdj-2024.sh
    script-error

  2. Trying to run rviz2
    image

  3. Retrying after giving Docker permissions
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant