vdesktop not starting
oie1 opened this issue · 6 comments
this might be dumb but it just dosent work, dont know why, just want it fixed
here is the code, hopefully i made it into github code format!
i put it in ~/vdesktop and just, why is it not working?
pi@denis:~ $ ls
android droidbuddy pi-apps-0e9de418.deb Templates
Bookshelf lunarassets Pictures treatments
cloudbuddy lwjgl2arm32 Pi-Power-Tools Videos
CommanderPi lwjgl3arm32 premium_cache Windows-10
Desktop MultiMC Public wor-flasher
Documents Music RaspBian.img wor-flasher-files
download-img pi-apps scrcpy
Downloads pi-apps-0e9de418 snap
pi@denis:~ $ git clone https://github.com/Botspot/vdesktop
Cloning into 'vdesktop'...
remote: Enumerating objects: 408, done.
remote: Counting objects: 100% (210/210), done.
remote: Compressing objects: 100% (165/165), done.
remote: Total 408 (delta 108), reused 81 (delta 30), pack-reused 198
Receiving objects: 100% (408/408), 2.74 MiB | 6.92 MiB/s, done.
Resolving deltas: 100% (211/211), done.
pi@denis:~ $ sudo ~/vdesktop/vdesktop
You did not specify what to boot.
Available devices:
PATH MODEL SIZE
/dev/loop0 93.4M
/dev/loop1 65.2M
/dev/loop2 218.1M
/dev/loop3 4K
/dev/loop4 51.6M
/dev/loop5 241.6M
/dev/loop6 51.7M
/dev/loop7 199M
/dev/sda TOSHIBA_MQ01ACF032 298.1G
/dev/mmcblk0 119.1G
/dev/zram1 30.9G
/dev/zram2 30.9G
find: ‘/root/Downloads’: No such file or directory
Boot a .img file: vdesktop /home/pi/2020-08-20-raspios-buster-armhf.img
Boot a usb drive: vdesktop /dev/sda
Boot a directory: vdesktop /home/pi/raspbian-stretch/
A second word specifies the boot mode: cli, cli-login, and gui.
pi@denis:~ $ sudo ~/vdesktop/vdesktop /dev/sda gui
Current config:
VDESKTOP_BOOT_MODE: gui
VDESKTOP_UMOUNT_ON_EXIT: yes
VDESKTOP_USERNAME: pi
VDESKTOP_PASSWORD: raspberry
VDESKTOP_AUTO_LOGIN: yes
VDESKTOP_MOUNTPOINT: /media/pi/vdesktop
VDESKTOP_ENABLE_ROOTMOUNT: yes
VDESKTOP_ENABLE_VIRGL: no
VDESKTOP_LOCAL_BINARIES: yes
VDESKTOP_NSPAWN_FLAGS:
Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? https://www.raspberrypi.org/forums/viewtopic.php?&t=251757
Given /dev/sda, running in external storage device mode.
Partiton 2 exists.
FUSE exfat 1.3.0
WARN: volume was not unmounted cleanly.
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
Mounting /dev/sda2 to /media/pi/vdesktop, and mounting /dev/sda1 to /media/pi/vdesktop/boot.
mount: /media/pi/vdesktop: mount point not mounted or bad option.
cat: /media/pi/vdesktop/etc/machine-id: No such file or directory
Machine IDs equal. (9e9ac854acef421abae9f158c44125bf) Changing machine id to 5f760e9998156ca44c48aa3f625b1eff
/home/pi/vdesktop/vdesktop: line 368: /media/pi/vdesktop/etc/machine-id: No such file or directory
/home/pi/vdesktop/vdesktop: line 369: /media/pi/vdesktop/var/lib/dbus/machine-id: No such file or directory
img should be mounted, but /media/pi/vdesktop/bin does not exist!
Hold on...
Cleaning up...
umount: /media/pi/vdesktop: not mounted.
Almost done...
Done!
pi@denis:~ $
also at first i frogot to specify boot lol
-
p l e a s e , h e l p
investigetad and created the /media/pi/vdesktop/bin folder and now it gives a different error }:
pi@denis:~ $ sudo mkdir /media/pi/vdesktop/bin
pi@denis:~ $ sudo ~/vdesktop/vdesktop /dev/sda gui
Current config:
VDESKTOP_BOOT_MODE: gui
VDESKTOP_UMOUNT_ON_EXIT: yes
VDESKTOP_USERNAME: pi
VDESKTOP_PASSWORD: raspberry
VDESKTOP_AUTO_LOGIN: yes
VDESKTOP_MOUNTPOINT: /media/pi/vdesktop
VDESKTOP_ENABLE_ROOTMOUNT: yes
VDESKTOP_ENABLE_VIRGL: no
VDESKTOP_LOCAL_BINARIES: yes
VDESKTOP_NSPAWN_FLAGS:
Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? https://www.raspberrypi.org/forums/viewtopic.php?&t=251757
Given /dev/sda, running in external storage device mode.
Partiton 2 exists.
FUSE exfat 1.3.0
WARN: volume was not unmounted cleanly.
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
Mounting /dev/sda2 to /media/pi/vdesktop, and mounting /dev/sda1 to /media/pi/vdesktop/boot.
mount: /media/pi/vdesktop: mount point not mounted or bad option.
cat: /media/pi/vdesktop/etc/machine-id: No such file or directory
Machine IDs equal. (9e9ac854acef421abae9f158c44125bf) Changing machine id to 3488e1ae17132b4d8e76ac2e625b25d7
/home/pi/vdesktop/vdesktop: line 368: /media/pi/vdesktop/etc/machine-id: No such file or directory
/home/pi/vdesktop/vdesktop: line 369: /media/pi/vdesktop/var/lib/dbus/machine-id: No such file or directory
od: /media/pi/vdesktop: read error: Is a directory
Current dir is /media/pi/vdesktop/etc/chromium-browser/customizations
Current dir is /media/pi/vdesktop/etc/chromium-browser
Current dir is /media/pi/vdesktop/etc
Made /media/pi/vdesktop/etc
Made /media/pi/vdesktop/etc/chromium-browser
Made /media/pi/vdesktop/etc/chromium-browser/customizations
Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm
Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/disable-gpu
These directories were created to mount files:
/media/pi/vdesktop/etc
/media/pi/vdesktop/etc/chromium-browser
/media/pi/vdesktop/etc/chromium-browser/customizationsEND
Booting in 5 seconds
mount: /media/pi/vdesktop/etc/profile: mount point does not exist.
spawn /home/pi/vdesktop/nspawn /home/pi/vdesktop/systemd-nspawn-32 /media/pi/vdesktop
Directory /media/pi/vdesktop doesn't look like an OS root directory (os-release file is missing). Refusing.
send: spawn id exp4 not open
while executing
"send -- pi\r"
Hold on...
Unmounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm
Unmounted /media/pi/vdesktop/etc/chromium-browser/customizations/disable-gpu
Removed /media/pi/vdesktop/etc/chromium-browser/customizations
Removed /media/pi/vdesktop/etc/chromium-browser
Removed /media/pi/vdesktop/etc
Cleaning up...
umount: /media/pi/vdesktop: not mounted.
Almost done...
Done!
pi@denis:~ $
i might be doing it wrong, gonna close if i am just messing it ut, using a WoR externel hdd and also tryed a lineageos image, maybe they just dont work because of the partitions, auhhashshs
LineageOS and windows don't work. Only OS's with the same kernel as the hist system work.
Vdesktop can only run a few distributions of linux. Windows and lineageOS are out of the scope of this project.