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.![]()
Super Micro CSE-512F-350B1 Custom X10SLQ PWS-350-1H Complete Server Brand New
$249.99
HPE ProLiant MicroServer Gen10 Plus Xeon E2224 16GB Ram 8TB HDD 960GB SSD NO OS
$423.99
Supermicro 2U 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server
$305.99
Supermicro 1U 6018U-TR4T+ w/ X10DRU-i+ - Wholesale Custom Build Your Server
$275.99
HP ProLiant MicroServer Gen8 Server 12gb RAM I3-3240 NO HDD/OS
$174.99
HP ProLiant MicroServer Gen8 Server | Pentium G2020T@2.50GHZ | 10GB RAM | READ
$174.99
HPE ProLiant MicroServer Gen-8 Intel Xeon E3-1220L@2.30GHz 8GB RAM 2x 1TB HDD
$239.99
HPE MicroServer G10+ v2 G6405 16GNHP Server P69102-005
$385.00
2U 12 Bay Supermicro 6028U-TR4T+ w/ X10DRU-i+ Wholesale Custom Build Your Server
$385.99
Supermicro CSE-825 2U Server Chassis 8 x 3.5" Backplane & 3x Chassis Fans
$149.99