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.![]()
DELL Precision 3620 Xeon CPU E3-1240 V6 @ 3.70Ghz 16Gb 1TB Win 10 Pro
$125.00
INTEL XEON GOLD 6246 PROCESSOR | 3.30GHZ | SRFPJ
$229.99
New Intel Xeon W-2223 3.60GHz Quad-Core 8.25MB LGA 2066 CPU P/N:SRGSX
$34.99
Dell EMC VxRail P570F 2.5" 2x Gold 6154 @3.0GHz 768GB RAM No HDD's/OS
$899.99
Intel Xeon E5-2697 v4 2.30GHz 18-Core Server CPU 45MB LGA2011-3 SR2JV
$39.99
SRF92 Xeon Gold 6254 18-Core 3.10GHz Processor
$135.00
Intel Xeon E5-2680 v4 SR2N7 2.40GHz 35MB 14-Core LGA2011-3 CPU Processor
$14.99
Intel Xeon E5-2699 V4 2.2GHz 55MB 22 Core 9.6GT/s 145W CPU Processor SR2JS
$134.99
HP Z440 Gaming PC 6-Core E5-1650 v4 3.6GHz 32GB 512GB SSD Win10 Nvidia p2000.#10
$349.00
Dell PowerEdge T30 Intel Xeon E3-1225 v5 3.3GHz 16GB RAM 1TB HDD NO OS Good
$189.99