Control: retitle -1 transmission in x11 session fails to start with DRI error
Control: reassign -1 src:apparmor
Control: affects -1 transmission-gtk

Hi,

>> >> transmission under debian sid using xfce.
>> >>
>> >> unless it is executed this way it does not work.
>> >> The default icon on xfce does not use that disable option so it does not
>> > work.
>> >> if launched from command line like this, it does work.
>> >>
>> >> LIBGL_DRI3_DISABLE=1 transmission-gtk
>>
>> It looks a lot like an upstream bug[1]. And I'm not sure disabling GTK4
>> acceleration for everybody is a good fix.
>>
>> Are you using a x11 session (echo $XDG_SESSION_TYPE) and is apparmor
>> enabled
>> in enforced mode for transmission-gtk (sudo aa-status)?
>>
>> If yes, this looks like an apparmor configuration issue[2] that happens
>> in the case of an x11 session where the transmission-gtk app requires
>> access to a DRI device. You may be able to work around this with the
>> following
>> change:
>>
>> --- old/etc/apparmor.d/abstractions/transmission-common 2026-07-13
>> 09:28:09.000000000 +0200
>> +++ new/etc/apparmor.d/abstractions/transmission-common 2026-11-22
>> 22:04:05.640978792 +0100
>> @@ -183,7 +183,7 @@
>>    /sys/ r,
>>    /sys/{bus,class}/ r,
>>    /sys/class/drm/ r,
>> -  deny /dev/dri/{,**} r,
>> +  /dev/dri/{,**} r,
>>
>>    /dev/pts/[0-9]* rw,
>>    # exclude these for now
>>
>> [1] https://github.com/transmission/transmission/issues/8879
>> [2] https://gitlab.com/apparmor/apparmor/-/work_items/666
>>
>
> Ok, your solution worked.
>
> about what you asked, by default on debian sid with xfce the conf is like
> this:
>
> :~$ echo $XDG_SESSION_TYPE
> x11
> :~$ sudo aa-status |grep transm
>    transmission-cli
>    transmission-daemon
>    transmission-gtk
>    transmission-qt

Please add surrounding lines, cannot tell if enforced mode without context.

Thanks,

Alex

Reply via email to