Bug 99371 - Wayland dont support sudo users!
Summary: Wayland dont support sudo users!
Status: RESOLVED NOTOURBUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: wayland (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-11 23:43 UTC by Mosaab Alzoubi
Modified: 2017-01-12 15:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.