neurobin / JLIVECD

Live cd/dvd customization tool
https://neurobin.org/projects/softwares/unix/JLIVECD/
GNU General Public License v2.0
89 stars 24 forks source link

Error with Ubuntu-Mate 15.10 #8

Closed spsf64 closed 9 years ago

spsf64 commented 9 years ago

Chroot fail and xterm error (which is installed) Terminal output:

......Found: initrd.lz

......Preparing network connection for chroot.....

......Network connection will be available in chroot.....

......Debcache Management starting.... ......moving deb files to edit/var/cache/apt/archives......

......Preparing the chroot terminal...... access control disabled, clients can connect from any host ------Preparing chroot failed-----

......Preparation complete! Running chroot terminal... ......When you are finished, run: exit or simply close the chroot terminal.....

...... run 'cat help' or './help' to get help in chroot terminal......

......Failed to run x-terminal-emulator. Check if x-terminal-emulator link exists and not broken Want to continue without chroot (Y/n)?: ......Running x-terminal-emulator failed. Exiting...

neurobin commented 9 years ago

Can you run the command x-terminal-emulator in a terminal and check if this link is not broken or something....

You can also apply a patch in JLIVECD to forcefully use your desired terminal application for chroot. Run this command in a terminal to apply the patch:

sudo sed -i 's/x-terminal-emulator/mate-terminal/g' /usr/local/JLIVECD/main/custom_desktop

This will force Jlivecd to use mate-terminal for chroot.

spsf64 commented 9 years ago

x-terminal-emulator is working fine, used the sed command and still get the same output: "Preparing chroot failed"

neurobin commented 9 years ago

As you have xterm installed, how about using xterm, then:

sudo sed -i 's/mate-terminal/xterm/g' /usr/local/JLIVECD/main/custom_desktop
spsf64 commented 9 years ago

Thanks neurobin! With the latest command it works now! Maybe you could add this info to the readme?! Regards

spsf64 commented 9 years ago

Thank you!

neurobin commented 9 years ago

I have pushed a new commit which tries xterm automatically if x-terminal-emulator fails. And also the docs been updated. Regards, Jahid.