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.![]()
Supermicro CSE-826BE16-R920LPB 2U Server Chassis 2x920W 12x 3.5" BPN-SAS2-826EL1
$199.99
HP ProLiant MicroServer Gen10 Bare Bones Chassis Only
$219.95
1U Server Dual Low Power Xeon E5-2640 V4 90W 20 Cores DDR4 ECC RAM 4x 10GB-T
$95.20
Supermicro 2U 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server
$289.99
Proliant Microserver gen8 Celeron G1610T 1x8GB DDR3 Ram No HDD
$249.99
SuperMicro Server 505-2 5018A-FTN4 No RAM No Hard Drive
$99.99
HP Microserver N40L AMD Turion 1.5Ghz No HDD NHP 658553-421 8gb Ram
$129.99
HPE ProLiant MicroServer Gen10 Plus Xeon E-2224 3.4GHz 32GB RAM 250GB SSD
$588.88
SuperMicro 504-2 Server 5017A-EP + Intel Atom N2800 + 4GB RAM 60GB SSD
$75.00
Supermicro X10DRH 2x Xeon E5-2609 v3 1.9GHz 64GB RAM NO HDD/SSD/OS Good
$299.99