Quote:
Originally Posted by theol0403
Xfce will probably work. I have experimented with other desktop environments like lxde and it worked. This is debian not ubuntu.
Okay I installed xfce and it worked.
- Set up debian from attached smalldebian.ext3, matchbox-dos.zip, installdebian.txt (sh)
- apt-get install xfce4
- enter :
Code:
export DISPLAY=:0
Xephyr :1 -title "L:D_N:application_ID:xephyr" -screen 1068x1448 -cc 4 -dpi 300 -nocursor &
- in a new shell:
- It worked!
|
install.x.sh
Code:
#!/bin/sh
root=/mnt/base-us/root
img=$root.ext3
mkdir -p $root
fsck.ext3 $img
mount -o loop $img $root || exit
cat > $root/root/inst.sh << 'EOF'
apt update
apt install -f -y
apt full-upgrade -y
apt install -y locales
sed -i '/zh_CN.UTF-8/s/^#//' /etc/locale.gen
locale-gen zh_CN.UTF-8
apt install xserver-xephyr xfce4 -y
EOF
cat >> $root/etc/apt/apt.conf << 'EOF'
APT::Install-Recommends "0";
APT::Install-Suggests "0";
APT::Sandbox::User root;
EOF
cat > $root/usr/local/bin/start-x-flip << 'EOF'
#!/bin/bash
export DISPLAY=:0
Xephyr :1 -title "L:A_N:application_ID:xephyr_O:R_PC:N" -screen 800x600 -cc 4 -dpi 167 -nocursor &
sleep 3
export DISPLAY=:1
startxfce4
EOF
chmod +x $root/root/inst.sh
umount $root
/mnt/us/chroot.sh root/inst.sh
mount -o loop $img $root || exit
rm $root/root/inst.sh
umount $root
Ubuntu17.04:
https://www.mobileread.com/forums/sh...d.php?t=289801