You are not logged in.
Hello, I'm encountering occasional system freezes while using my desktop environment, and I'm seeking advice on ensuring TTY availability for such situations to effectively handle and resolve these freezes.
Despite my best efforts to optimize resource usage within my desktop environment, I still encounter instances where the system becomes unresponsive. In such cases, having access to a tty would allow me to identify and terminate the offending process, thereby restoring system stability.
At the moment I tried to build a slice cage for the desktop with cgroups as decribed here https://wiki.archlinux.org/title/Cgroup … urce_usage
I actually defined this slice:
cat /etc/systemd/system/desktop.slice
[Slice]
CPUQuota=90%
MemoryHigh=12G
MemoryMax=13G
MemorySwapMax=2.5GAnd ran startxfce4 as:
systemd-run --uid=automath --slice=desktop.sliceBut nothing happens unless I don't specify the user parameter, in this case x11 loads but it's irresponsive.
What I'm doing wrong besides starting desktop without startx ?
Last edited by Automath (2024-02-14 20:28:03)
Offline