mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-28 08:12:57 +00:00
sandbox: do not run xmodmap in a new X session
xmodmap causes Xephyr X server to reset itself when it's run before wm and even right after wm. It causes termination of the server as we use -terminate. The -terminate option seems be important enough in order not to left running the server when the last client connection is closed. This patch drops the execution of xmodmap from .sandboxrc until there's a better solution. Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
This commit is contained in:
parent
b660a87b5f
commit
e90ebf08eb
@ -282,7 +282,7 @@ class Sandbox:
|
||||
command += "'%s' " % p
|
||||
fd.write("""#! /bin/sh
|
||||
#TITLE: %s
|
||||
/usr/bin/test -r ~/.xmodmap && /usr/bin/xmodmap ~/.xmodmap
|
||||
# /usr/bin/test -r ~/.xmodmap && /usr/bin/xmodmap ~/.xmodmap
|
||||
%s &
|
||||
WM_PID=$!
|
||||
dbus-launch --exit-with-session %s
|
||||
|
Loading…
Reference in New Issue
Block a user