Stefan Dirsch
3d14f5f1e6
* replace default config /etc/X11/Xwrapper, which allows anybody to use the wrapper, by a patch for the code, i.e. # rootonly, console, anybody allowed_users=anybody # yes, no, auto needs_root_rights=auto is now the default without any Xwrapper config (needs_root_rights=auto was already the default before) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=780
12 lines
428 B
Diff
12 lines
428 B
Diff
--- xserver-1.20.9/hw/xfree86/xorg-wrapper.c.old 2020-09-30 12:25:12.757532000 +0200
|
|
+++ xserver-1.20.9/hw/xfree86/xorg-wrapper.c 2020-09-30 12:27:12.809554000 +0200
|
|
@@ -254,7 +254,7 @@ int main(int argc, char *argv[])
|
|
int i, r, fd;
|
|
int kms_cards = 0;
|
|
int total_cards = 0;
|
|
- int allowed = CONSOLE_ONLY;
|
|
+ int allowed = ANYBODY;
|
|
int needs_root_rights = -1;
|
|
char *const empty_envp[1] = { NULL, };
|
|
|