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-C3650-48PQ-S 48 Port PoE 4x10G Uplink Ethernet Network Switch
$48.31
Cisco Catalyst 3550 24-Port Fast Ethernet Managed Switch WS-C3550-24-SMI
$39.99
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$89.97
NETGEAR 8-Port Gigabit Ethernet Unmanaged Switch (GS308) Home/Office Network Hub
$18.99
NETGEAR Unmanaged 5-Port Gigabit Ethernet Switch GS205 For Home Networks - NEW
$3.99
Comtrend GS-7308 8-Port Gigabit Ethernet Switch
$12.00
Netgear ProSafe 8-Port GbE Unmanaged Switch w/ Power Supply GS108
$14.44
Dell N2048P 48 Port Gigabit PoE 10/100/1000 GbE 2x 10 GbE SFP+ Network Switch
$69.96
HP JG937A Flexnetwork 5130-48G PoE+ 48-Port Gigabit Network Switch TESTED
$50.43