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 9th Gen, up to 64GB RAM, 4TB SSD, Windows 11/10 Pro WiFi BT
$199.00
CRUCIAL DDR3 1600MHz 2x 8GB 16GB PC3-12800 Desktop Memory RAM DIMM 240pins
$18.50
CORSAIR VENGEANCE RGB DDR5 RAM 32GB (2x16GB) 6400MHz Black - NEW SEALED
$89.99
HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin
$31.50
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel
$28.99
Used KingBank DDR4 3200MHz RAM 8GB/16GB Desktop Memory -Tested Working
$26.00
Crucial DDR3 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3L 16G DDR3L
$18.85
Fanxiang DDR4 RAM 32GB 16GB x2 8GB x2 3200MHZ 3600MHZ UDIMM PC Desktop Memory
$46.99
A-Tech 8GB PC4-21300 Desktop DDR4 2666 MHz Non ECC 288-Pin DIMM Memory RAM 1x 8G
$16.99
Dell Desktop Computer PC i5, up to 32GB RAM, 3TB SSD, Windows 11/10 Pro WiFi
$99.00