Hi,
I've now done a few custom Knoppix remasters, first from the excellent XFLD distro, and then a more cut down version from pure Knoppix-3.7.
I've noticed one important difference between these two remasters. When the XFLD derivative has an x session running (with XFCE in this case) and the user exits the X desktop, XFLD restarts the xsession from scratch and you see a neat, fresh XFCE desktop - very useful in this particular kiosk remaster!
However, when the knoppix-derivative remaster quits from X, knoppix halts the machine. I'd like to ensure that a user can't halt the machine by quitting X, but rather restarts the xsession from scratch.
I thought that the /etc/X11/Xsession.d/45xsession file held the answer in this line:
But alas adding this to the knoppix-derivative's 45xsession file made no difference, and the machine still halts when you quit the X session!Code:echo "restart" >/etc/sysconfig/xsession-commands
I've trawled around through the forum but can't quite find the answer I'm looking for - can anyone shed any light on this for me?
TIA,
Adam.![]()
HP Desktop PC i7 8th Gen, up to 64GB RAM, 4TB SSD, Windows 11/10 Pro WiFi BT
$189.00
Precision 7810 2x 8-Core E5-2630v3 64GB RAM 256GB SSD 3TB HDD K4200 Windows 10
$299.99
Dell Desktop Computer PC i5, up to 32GB RAM, 3TB SSD, Windows 11/10 Pro WiFi
$119.00
Lenovo Yoga 6th Gen ThinkPad 11e 2-in-1 Laptop Windows 11 Pro. 8GB RAM 256GB SSD
$109.00
Intel Core i7-9700 3.00GHz 8 Core (SRG13) Processor
$107.00
New AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor OEM Tray
$124.99
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$12.99
(New) AMD Ryzen 7 5700X3D 8-Core 16-Thread 4.1GHz Socket AM4 CPU OEM Tray
$249.99
Alienware Aurora R7 Core i7-8700K Gaming Desktop 512GB nv 16GB GTX 1080 Ti w/box
$349.00
Dell Desktop PC i7, up to 32GB RAM, 3TB SSD, Windows or Linux Mint, WiFi BT
$168.54