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.![]()
ACTi XNR-4200 Rackmount NVR Server Q9400 @ 2.66 GHz 4GB RAM 500GB HDD Linux
$150.00
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$169.00
Lenovo THINKSERVER TS140 i3-4330 3.50GHz 32GB 8x4 RAM 128GB SSD 2x 2TB HDD Linux
$319.95
Ubuntu 24.10 Server DVD (AMD64)
$2.59
Canonical Ubuntu Server Linux 16.10 Full Install CD - 32 bit
$9.99
Linux 23 in 1 Bootable Windows Alternative Collection Live Distro Mint Ubuntu OS
$18.95
Red Hat Linux 7.1 Professional Server CIB Box
$39.99
HP 447707-B21 ProLiant BL460c Server Blade (2 x 3.16GHz CPU/16GB RAM/No Drives)
$35.00
1U 10 SFF Bay Supermicro Server X10DRW-iT 2x Xeon E5-2690 V4 128GB DDR4 RAM
$369.00
1U Supermicro Server 10 Bay 2x Intel Xeon 3.2Ghz Total 16 Cores 64GB DDR4 2x 10
$347.00