Bug 99371

Summary: Wayland dont support sudo users!
Product: Wayland Reporter: Mosaab Alzoubi <moceap>
Component: waylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Mosaab Alzoubi 2017-01-11 23:43:18 UTC
When running any gui for another user with (su) it run, but if we try with (sudo) it can't run!! with error messages like (cannot open display).
Comment 1 Daniel Stone 2017-01-12 09:39:25 UTC
sudo strips the $XDG_RUNTIME_DIR environment variable required for this to work. A decent sudo implementation could, for instance, bind the Wayland sockets in the user's session into the new one.

There is nothing we can do about this.
Comment 2 Mosaab Alzoubi 2017-01-12 15:29:06 UTC
The problem in Wayland only !!!!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.