Botspot / vdesktop

Run a second instance of Raspbian inside Raspbian.
GNU General Public License v3.0
125 stars 21 forks source link

Vdesktop won't work on RPiOS on Raspberry Pi 4 4gb #35

Closed Crilum closed 2 years ago

Crilum commented 2 years ago

I have tried to install vdesktop multiple times, both from the vdesktop repo and from Pi Power Tools.

No matter what I do, it always has this error:

Created a vdesktop script in /usr/bin. You can now run the command 'vdesktop' directly, instead of /home/pi/Pi-Power-Tools/vdesktop/vdesktop! And you don't have to use sudo!
Waiting 10 seconds before proceeding.
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 /media/pi/Disk-1/Operating System's/Raspbian/Raspbian Stretch/2018-11-13-raspbian-stretch-full.img, running in disk image mode.
losetup: unexpected arguments
Here's the loop device for it: 
mount: /media/pi/vdesktop: special device p2 does not exist.
mount: /media/pi/vdesktop/boot: mount point does not exist.
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. (17b25bbf066645bf9a76a59fa5b57349) Changing machine id to 70a1aafef010bcaeec80dada61699def
/home/pi/Pi-Power-Tools/vdesktop/vdesktop: line 368: /media/pi/vdesktop/etc/machine-id: No such file or directory
/home/pi/Pi-Power-Tools/vdesktop/vdesktop: line 369: /media/pi/vdesktop/var/lib/dbus/machine-id: No such file or directory

img should be mounted, but /home/pi/Pi-Power-Tools/vdesktop/bin does not exist!
Hold on...
Cleaning up...
umount: /media/pi/vdesktop/boot: no mount point specified.
umount: /media/pi/vdesktop: not mounted.
Almost done...
Done!

Any ideas?

Botspot commented 2 years ago

This may be due to the space-characters in the path to your image, or it's due to that ' character in the filepath. Try removing all of those characters (by renaming folders) and see if it works.

Crilum commented 2 years ago

Thank you! It works.