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.![]()
Linux OS Top 20 Multi-Boot USB 2025 - Ultimate Compilation of Linux OS and Tools
$18.49
Dell R630 8x SFF 2x Xeon E5-2620 V3 64GB No HDD 2x 750w PSU H730P 4x 1GbE iD8
$205.00
OPNsense Firewall VPN QAT AES Atom C3508 1.60GHz 8GB DDR4 64GB SSD 9x Intel NICs
$112.00
Fedora 42 Linux Workstation / Server - DVD or USB Flash Drive
$9.99
The Complete Redhat Linux 5.2 Operating System Deluxe Secure Server Partial Seal
$24.99
1U Open Source Router Firewall X10SLH-N6-ST031 E3-1270 V3 6x 10GB Ethernet 16GB
$399.00
Red Hat Linux 7.1 Professional Server CIB Box
$39.99
Linux 23 in 1 Bootable Windows Alternative Collection Live Distro Mint Ubuntu OS
$18.95
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$169.00
Microsoft SQL Server 2022 Enterprise 96 Core License Unlimited CALs Authentic
$599.00