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.![]()
Lenovo IBM System x3650 M5 8871 Server Xeon E5-2620 v4 x 28 128GB RAM No HDDs
$199.99
IBM 8231-E2C Power p730 Server, 3.55GHz 16 core, 2 x EPC3, PowerVM express
$595.00
IBM xSeries 206m Server 1x Pentium 4 3.2 GHz 1 GB Ram No OS No HDD
$109.95
IBM 3837-AC1 X3850 X6 CTO SERVER
$400.00
IBM Power S824 8286-42A 2x Power8 CPU 2x 32gb memory No HDD 12Bay 4U Server
$400.00
IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS
$80.00
IBM SYSTEM X3200 M3 7328AC1 Server INTEL XEON X3450 8GB SEE NOTES
$46.55
IBM 5458-AC1 X3250M5 2.5 Bay Server CTO
$269.99
IBM X3630 M4 Server 2x Intel Xeon E5-2407 Quad Core Server w/48Gb, DVD-RW WORKS
$118.92
IBM X3850 M2 4U Rack Server BOOTS 4x Xeon MP 2.93Ghz Hot Swap 32GB RAM NO HDDs
$279.99