Solved - Modifying settings in ISO, then the ISOs won't work with server
Posted: 26 Aug 2019, 20:04
Hello,
I've run into an issue where I've made changes to files in the settings.xzm file but afterward the ISOs don't work with the server. I've done 2 sets of settings changes and neither of them will work when trying to connect to the server. The ISO downloaded with no modifications joins to the server fine, and all of the standard customizations work fine. I can remotely reboot, change homepage, monitor, etc., no problem. If I create the Kiosk client using the customized ISO, I cannot even get it to register with the server. The config file I'm using for both instances is the same, located on a web server. I am betting it's a certificate problem, but I don't know how to fix it and I have not found anyone having similar problems in the forum.
In a nutshell, I need the F12 button removed from the blocked shortcuts in /etc/xdg/openbox/rc.xml and the chrome.json to have "DeveloperToolsAvailability": 1 set, and still have the ability to re-squash the files and do the make_iso.sh to create the new images. Is there something I'm missing?
After running the make_iso.sh script, the images work fine on their own, with whatever configuration I try. It's just they do not work with the server. The process I'm using to change the files in the settings.xzm files is below. Please let me know if I'm doing something wrong.
Download ISO Porteus-Kiosk-4.8.0-x86_64.iso
Unpack ISO file in Windows and copy all files to Linux station, or copy ISO to Linux station and unpack there. I've tried both.
unsquashfs 003-settings.xzm
go into squashfs-root
nano rc.xml to change the F12 key block, then save file.
rm 003-settings.xzm -delete the old settings file
mksquashfs squashfs-root 003-settings.xzm -comp xz -b 256K -Xbcj x86 -noappend - Create the replacement 003-settings.xzm file.
bash make_iso.sh - create the image file
isohybrid Porteus-Kiosk.iso
isohybrid -u Porteus-Kiosk.iso
Move the image back to Windows box to burn the image.
Any help would be greatly appreciated.
Thanks,
Scott
I've run into an issue where I've made changes to files in the settings.xzm file but afterward the ISOs don't work with the server. I've done 2 sets of settings changes and neither of them will work when trying to connect to the server. The ISO downloaded with no modifications joins to the server fine, and all of the standard customizations work fine. I can remotely reboot, change homepage, monitor, etc., no problem. If I create the Kiosk client using the customized ISO, I cannot even get it to register with the server. The config file I'm using for both instances is the same, located on a web server. I am betting it's a certificate problem, but I don't know how to fix it and I have not found anyone having similar problems in the forum.
In a nutshell, I need the F12 button removed from the blocked shortcuts in /etc/xdg/openbox/rc.xml and the chrome.json to have "DeveloperToolsAvailability": 1 set, and still have the ability to re-squash the files and do the make_iso.sh to create the new images. Is there something I'm missing?
After running the make_iso.sh script, the images work fine on their own, with whatever configuration I try. It's just they do not work with the server. The process I'm using to change the files in the settings.xzm files is below. Please let me know if I'm doing something wrong.
Download ISO Porteus-Kiosk-4.8.0-x86_64.iso
Unpack ISO file in Windows and copy all files to Linux station, or copy ISO to Linux station and unpack there. I've tried both.
unsquashfs 003-settings.xzm
go into squashfs-root
nano rc.xml to change the F12 key block, then save file.
rm 003-settings.xzm -delete the old settings file
mksquashfs squashfs-root 003-settings.xzm -comp xz -b 256K -Xbcj x86 -noappend - Create the replacement 003-settings.xzm file.
bash make_iso.sh - create the image file
isohybrid Porteus-Kiosk.iso
isohybrid -u Porteus-Kiosk.iso
Move the image back to Windows box to burn the image.
Any help would be greatly appreciated.
Thanks,
Scott