Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 676600 Details for
Bug 746227
net-misc/tigervnc-1.11.0-r2[server] different calling conventions for vncserver startup
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bypass Xsession script from vncserver perl script
tigervnc-1.11.0-gentoo-customizations.patch (text/plain), 1.28 KB, created by
Roberto Castagnola
on 2020-12-04 01:19:57 UTC
(
hide
)
Description:
Bypass Xsession script from vncserver perl script
Filename:
MIME Type:
Creator:
Roberto Castagnola
Created:
2020-12-04 01:19:57 UTC
Size:
1.28 KB
patch
obsolete
>--- a/unix/vncserver/tigervnc.pam 2020-09-08 14:16:08.000000000 +0200 >+++ b/unix/vncserver/tigervnc.pam 2020-12-03 21:28:34.100507590 +0100 >@@ -1,8 +1,8 @@ > #%PAM-1.0 > # pam_selinux.so close should be the first session rule >--session required pam_selinux.so close >+-session optional pam_selinux.so close > session required pam_loginuid.so >--session required pam_selinux.so open >+-session optional pam_selinux.so open > session required pam_namespace.so > session optional pam_keyinit.so force revoke > session required pam_limits.so >--- a/unix/vncserver/vncserver.in 2020-09-08 14:16:08.000000000 +0200 >+++ b/unix/vncserver/vncserver.in 2020-12-03 21:29:21.365507026 +0100 >@@ -233,7 +233,7 @@ > > @cmd = ("xinit"); > >-push(@cmd, $Xsession, $session{'Exec'}); >+push(@cmd, $session{'Exec'}); > > push(@cmd, '--'); > >@@ -438,16 +438,6 @@ > die "$prog: couldn't find \"$cmd\" on your PATH.\n"; > } > >- foreach $cmd ("/etc/X11/xinit/Xsession", "/etc/X11/Xsession") { >- if (-x "$cmd") { >- $Xsession = $cmd; >- last; >- } >- } >- if (not defined $Xsession) { >- die "$prog: Couldn't find suitable Xsession.\n"; >- } >- > if (!defined($ENV{HOME})) { > die "$prog: The HOME environment variable is not set.\n"; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 746227
:
663613
| 676600 |
676603
|
765203
|
765204
|
765205
|
765206
|
765207
|
765208