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 ProBook X360 11 G5 2-in-1 Laptop 11.6" Windows 10 Pentium 8GB RAM 128GB SSD
$148.53
Team T-FORCE VULCAN Z 16GB (2 x 8GB) DDR4 3200 PC Ram Intel XMP 2.0 Memory
$27.99
Samsung 8GB 2Rx8 PC3-12800 DDR3 1600 MHz 1.5V Non-ECC DIMM Desktop Memory RAM 8G
$9.99
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$11.99
Corsair Vengeance LPX 32GB (2x16GB) DDR4 DRAM 2666MHz (PC4-21300) C16 Memory Kit
$37.98
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$11.99
HyperX FURY DDR3 16GB 32GB 1600MHz 1866MHZ Desktop RAM Memory DIMM 240pins 1.5V
$21.95
Crucial Ballistix BLS8G4D240FSA 16GB (2x8GB) DDR4-2400MHz Non-ECC Unbuffered RAM
$19.99
HyperX FURY DDR4 16GB 32GB 64GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN
$112.00
Lot of 10 Mixed Major Brands 16GB DDR4 2RX8 PC4-3200A Laptop Ram SODIMM Memory
$189.99