I had the same problem and the easy solution for it was suggested by UnderScore, When you exit the X while remastering close Kmix manually, in this case it won't appear on remastered version.
Nikolay
Sometimes when I remaster, kmix doesn't want to start minimized. I've tried saving sessions, and editing the 45xsession script so that rsync'ing from the /usr/share/knoppix profile doesn't overwrite my cusotmized /etc/skel settings... And still sometimes kmix will popup when starting kde. Well I discovered that in terminals started in kde you can:
dcop kmix kmix-mainwindow#1 hide
And that will make the window minimize back to the tray. I'm not so sure about ~/.kde/Autostart, but I think a script like this would work. I haven't yet rebuilt my cloop to verify this works, but it should. I set variables for user and host because this is going in /etc/skel/.kde/Autostart and so ppl installing my remaster would have new users created with this script in Autostart and they might also choose their own hostname rather than the default, Knoppix.
#!/bin/sh
user=`whoami`
host=`hostname -s`
DCOPSERVER=`cat /home/$user/.DCOPSERVER_$host_:0 | grep local`
export DCOPSERVER
dcop kmix kmix-mainwindow#1 hide
I'll test this out to be sure, and if it works it should be wikified and maybe added to the how-to use remastering scripts thread that floats around....
I wanted to post this as its own thread since searching google and these forums did not turn up much of anything on the subject.
I had the same problem and the easy solution for it was suggested by UnderScore, When you exit the X while remastering close Kmix manually, in this case it won't appear on remastered version.
Nikolay
Nikolay is right. In the remastering process, when I am done using the KDE GUI, right before I end my KDE session, I right click the kmix icon in the tray and quit it. Then exit the session & continue the remastering (making the compressedFS, ISO). When I reboot off the new ISO image, the kmix icon is now minimized to the tray.Originally Posted by Nikolay
The script works, and would prevent kmix from ever strting in window mode.
I tried what UnderScore suggeted and he is right, it did hide Kmix.

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99
Intel Core i7-8700 3.2 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3QS
$67.99
Evergreen 586 - Processor upgrade 486 to 586
$149.99
INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99
Intel SR3XE Core i5-8500 3.0GHz 9M Socket 1151 6-Core CPU Processor *Tested*
$32.99
Intel Core i7-3770K 3.5 GHz Processor
$39.00
Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor
$62.95
Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor
$14.49
Intel Core i5-4590T 2 GHz 5 GT/s LGA 1150 Desktop CPU Processor SR1S6
$10.99
LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00