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.![]()
INTEL XEON GOLD 6246 PROCESSOR | 3.30GHZ | SRFPJ
$229.99
AMD RYZEN 5 PRO 2400GE 3.20GHz AM4 CPU Processor
$29.99
Intel Core i5-14600 Processor 5.2 GHz OEM Tray CPU SRN44 CM8071504821018
$149.00
Intel Core i7-12700KF Unlocked Desktop Processor - 12 Cores And 20 Threads
$199.99
(New) AMD Ryzen 5 8400F 6-Core 12-Thread Socket AM5 CPU Processor OEM Tray
$109.99
Intel Core i7-4790 3.60GHz SR1QF Processor Socket 1150 Quad Core Desktop CPU
$32.99
SRF92 Xeon Gold 6254 18-Core 3.10GHz Processor
$135.00
Tested- AMD Ryzen 7 7700 CPU Processor (3.8GHz, 8 Cores, 16 Threads, Socket AM5)
$195.99
Intel Core i3-13100F 4-Core Desktop Processor
$45.99
Intel Xeon Platinum 8171M 2.60GHz 26-Core 35.75MB LGA-3647 CPU Processor SR3LZ
$75.99