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 X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch
$45.00
Cisco Catalyst WS-C3560CG-8PC-S 8x Gigabit PoE+ RJ45 2x SFP Ethernet Switch
$49.99
*NEW* Dell EMC X1018 16 Port Gigabit Switch
$59.99
Dell PowerConnect 6248 48 Port Gigabit Ethernet Switch
$44.99
NETGEAR 8-Port Gigabit Ethernet Unmanaged Switch (GS308) Home/Office Network Hub
$17.99
NETGEAR 300 Series Switch GS 305 5-PORTS Gigabit Ethernet NIB
$15.88
NEW Netgear GS108 Ethernet Switch ProSafe GS108-400NAS 8 Port Standalone Gigabit
$24.98
Meraki Cisco MS225-24P-HW 24-Port Gigabit PoE Switch - Tested & Unclaimed
$40.00
Cisco Catalyst 2960-L 8-Port Managed Gigabit Network Switch with 2 SPF+
$69.99
Private Labeled 4 Port PoE Switch for IP Cameras with 2 10/100 Uplink Ports
$16.99