From b5aa129eab4b733cc24b7479d064e926ab18e5ed Mon Sep 17 00:00:00 2001 From: Besanon Date: Tue, 22 Oct 2024 21:37:03 +0200 Subject: [PATCH] fixing startlxqt I use sddm as display manager I cant remove the other file - only use graphical env., sorry After startlxqt i would add 2 lines to sddm to enable the start of LXQT desktop --- apparmor.d/groups/lxqt/startlxqt | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/apparmor.d/groups/lxqt/startlxqt b/apparmor.d/groups/lxqt/startlxqt index e0404714..2ac94f99 100644 --- a/apparmor.d/groups/lxqt/startlxqt +++ b/apparmor.d/groups/lxqt/startlxqt @@ -7,18 +7,16 @@ abi , include -@{exec_pathstlx} = @{bin}/startlxqt -profile startlxqt @{exec_pathstlx} { +@{exec_path} = @{bin}/startlxqt +profile startlxqt @{exec_path} { include include - include include include - include signal (receive) set=(term) peer=sddm, - @{exec_pathstlx} mr, + @{exec_path} mr, @{bin}/xrdb rPx, @{bin}/xsetroot rPx, @@ -35,14 +33,11 @@ profile startlxqt @{exec_pathstlx} { /usr/share/kservices5/{,**} r, /usr/share/mime/{,**} r, - /etc/locale.alias r, /etc/machine-id r, /etc/xdg/menus/{,**} r, @{HOME}/ r, - owner @{HOME}/.Xauthority r, - owner @{user_cache_dirs}/ rw, owner @{user_cache_dirs}/#@{int} rw, @{user_cache_dirs}/ksycoca5_* rwkl -> @{user_cache_dirs}/#@{int}, @@ -59,12 +54,13 @@ profile startlxqt @{exec_pathstlx} { owner @{run}/user/@{uid}/ r, - @{PROC}/sys/kernel/core_pattern r, owner @{PROC}/@{pid}/maps r, /dev/tty rw, /dev/tty@{int} rw, + include if exists + profile systemctl flags=(attach_disconnected) { include include