Page 2 of 2

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Mon Oct 19, 2020 9:49 pm
by RaspbianUser1
Yes of course

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Mon Oct 19, 2020 10:34 pm
by Botspot
RaspbianUser1 wrote:
Mon Oct 19, 2020 9:49 pm
Yes of course
OK, and what about my other 2 questions?:
Once again: are you using my vdesktop beta version?
And what command do you have to run for this mate desktop to launch?
Also, does running x-terminal-emulator launch a terminal on your system? Or do you get "command not found"?

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Mon Oct 19, 2020 11:16 pm
by RaspbianUser1
Sorry my mistake

I will answer all

Using beta, No

Desktop, mate-session however I retested and it doesn’t work on vdesktop, however when choosing a different tty than 7 on the the actual machine, running sudo lightdm | mate-session gives a terrible resolutioned DE

x-terminal emulator it does have it installed but im on CLI only on vdesktop

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Tue Oct 20, 2020 1:33 am
by Botspot
RaspbianUser1 wrote:
Mon Oct 19, 2020 11:16 pm
Desktop, mate-session however I retested and it doesn’t work on vdesktop, however when choosing a different tty than 7 on the the actual machine, running sudo lightdm | mate-session gives a terrible resolutioned DE
This is interesting. Do you know if there is an img with a mate desktop, that I could download, for testing on vdesktop?
If there aren't any images available, would you consider uploading your image so I can ensure it works?

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Tue Oct 20, 2020 8:48 am
by RaspbianUser1
Sorry there are no MATE raspbian images publicly available and I would not give you mine due to sensitive data I would have to find and remove

However its easy to get a basic install following a guide

https://www.raspberrypi.org/forums/vie ... p?t=133691

It takes about 20 minutes on a fast connection speed

Make sure you start it on Lite

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Sun Nov 29, 2020 11:28 am
by pasman1
Awesome tool !!
Especially boot function is very useful.

I ran PiPowerTools on Pi4B/4GB, kernel 5.10.
Booting works out of the box. Plenty of free memory - about 0,5GB used.
I switched to 64bit kernel and boot 64bit images too.
Making remixes of rpios is very simple.

In youtube 5 -10fps - can be watched.

One small problem - dphys-swapfile do not work in vdesktop.

Good job !!

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Sun Dec 13, 2020 1:58 am
by michael9000
The option to create incremental images is really interesting but when attempting to create an image of my SD card using the following procedure:

IMG MODE -> SD to IMG, specify name and location, click OK

I get the error:

sudo: no tty present and no askpass program specified

Thanks
Michael

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Sun Dec 13, 2020 2:11 am
by Botspot
michael9000 wrote:
Sun Dec 13, 2020 1:58 am
The option to create incremental images is really interesting but when attempting to create an image of my SD card using the following procedure:

IMG MODE -> SD to IMG, specify name and location, click OK

I get the error:

sudo: no tty present and no askpass program specified
Hmm. I've never seen that error before.

What OS are you running, and did you happen to disable passwordless-sudo ability for the non-root user?

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Sun Dec 13, 2020 2:38 am
by michael9000
Thanks for your reply.

I had turned off passwordless-sudo ability. I turned it back on and its working fine.

Thankyou. Excellent software support.


So, a feature request, could the option for the user to enter the password at the time PPt creates the image be implemented? Rather than disabling need system wide.


Michael

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Sun Dec 13, 2020 2:41 am
by Botspot
michael9000 wrote:
Sun Dec 13, 2020 2:38 am
So, a feature request, could the option for the user to enter the password at the time PPt creates the image be implemented? Rather than disabling need system wide.
I have considered doing exactly that, but considering the time required, and the tiny number of users who would actually benefit, I concluded it wasn't worth the time/effort.
Now, if someone would like to submit a PR... ;)

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Sun Dec 13, 2020 12:54 pm
by pasman1
Botspot wrote:
Sun Dec 13, 2020 2:41 am
I have considered doing exactly that, but considering the time required, and the tiny number of users who would actually benefit, I concluded it wasn't worth the time/effort.
Now, if someone would like to submit a PR... ;)
I send a patch with similar functionality:
https://github.com/Botspot/Pi-Power-Too ... 1?expand=1

Regards.

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Sat Jan 09, 2021 8:01 pm
by neal1
hi Botspot,

After several weeks, i tried to install pi power tools on my rpi 4 4 gb, 128 gb card

installation went fine, i downloaded 3.7 gb img,

but on clicking booth it is getting stuck in boot console showing

Systemd-nspawn, Xephyr and Expect need to be installed for vdesktop to work. Proceed? [Y/n]

and nothing happens, i made image of buster 5 times, but boot failed 3 times showing some dependency failed,
2 times i got this issue

mounted /media/pi/vdesktop/etc/chromium-browser/customizations/noxshm
Mounted /media/pi/vdesktop/etc/chromium-browser/customizations/disable-gpu
Virgilrenderer server not found, but it's enabled in the config file.
Compiling virglrenderer in 10 seconds. To cancel, press Ctrl+C before then.


Failed to clone virglrenderer repository!

and no boot happens
please check for issue.

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Sat Jan 09, 2021 8:06 pm
by Botspot
neal1 wrote:
Sat Jan 09, 2021 8:01 pm
hi Botspot,

After several weeks, i tried to install pi power tools on my rpi 4 4 gb, 128 gb card

installation went fine, i downloaded 3.7 gb img,

but on clicking booth it is getting stuck in boot console showing

Systemd-nspawn, Xephyr and Expect need to be installed for vdesktop to work. Proceed? [Y/n]

and nothing happens, i made image of buster 2 or 3 times, but boot always fails showing some dependency failed, please check for issue.
Uhh, did you try pressing the Y key and hitting Enter?

And do you happen to be on a 64bit OS?

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Sun Jan 10, 2021 4:29 am
by neal1
There was no option to press Y option it was opening in Boot console. unbale to click anything inside, though could copy.

it only stuck there

i am using 32 bit OS

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Sun Jan 10, 2021 4:32 am
by Botspot
neal1 wrote:
Sun Jan 10, 2021 4:29 am
There was no option to press Y option it was opening in Boot console. unbale to click anything inside, though could copy.

it only stuck there

i am using 32 bit OS
On the keyboard, type y. Then press Enter. On the keyboard.

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Sun Jan 10, 2021 4:37 am
by neal1
Image
i tried no success

https://ibb.co/h2gKgsM


No intent to push your thread to other side, but no way to contact you either way,

i am assuming that pi tools helped in adding dependencies automatically for my requirements for multi seat setup.

as i am facing issue in setup it, it worked for me few months earlier now i am unable to replicate result using same instructions viewtopic.php?t=243572

only difference left in equation is dependencies like xypher, yad, light dm.


Update

dependencies are installed successfully, but now error coming is Virgilrenderer server not found

failed to install dependencies for virgilrenderer

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Mon Jan 11, 2021 1:21 am
by Botspot
neal1 wrote:
Sun Jan 10, 2021 4:37 am
dependencies are installed successfully, but now error coming is Virgilrenderer server not found

failed to install dependencies for virgilrenderer
Hmm, then maybe it's time to stop using Pi Power Tools to run vdesktop virtual machines, and just use vdesktop standalone.

Code: Select all

git clone https://github.com/Botspot/vdesktop
sudo ENABLE_VIRGL=no ~/vdesktop/vdesktop /path/to/your.img
The 'ENABLE_VIRGL=no' code disables the virglrenderer portion of vdesktop. It will turn off hardware acceleration, but it can be much more reliable that way.

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Mon Jan 11, 2021 2:06 pm
by neal1
still not working


pi@raspberrypi:~ $ git clone https://github.com/Botspot/vdesktop
Cloning into 'vdesktop'...
remote: Enumerating objects: 186, done.
remote: Counting objects: 100% (186/186), done.
remote: Compressing objects: 100% (141/141), done.
remote: Total 384 (delta 94), reused 81 (delta 30), pack-reused 198
Receiving objects: 100% (384/384), 2.73 MiB | 2.16 MiB/s, done.
Resolving deltas: 100% (197/197), done.
pi@raspberrypi:~ $ sudo ENABLE_VIRGL=no ~/vdesktop/vdesktop /path/to/your.img
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? viewtopic.php?&t=251757
No such file or directory. Check spelling and try again.
Available devices:
PATH MODEL SIZE
/dev/mmcblk0 119.1G
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.
Hold on...
Cleaning up...
umount: /media/pi/vdesktop/boot: no mount point specified.
umount: /media/pi/vdesktop: not mounted.
Almost done...
Done!

pi@raspberrypi:~ $ sudo ~/vdesktop/vdesktop
You did not specify what to boot.
Available devices:
PATH MODEL SIZE
/dev/mmcblk0 119.1G
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@raspberrypi:~ $ sudo ~/vdesktop/vdesktop /home/pi/2020-08-20-raspios-buster-armhf.img
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: yes
VDESKTOP_LOCAL_BINARIES: yes
VDESKTOP_NSPAWN_FLAGS:

Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? viewtopic.php?&t=251757
No such file or directory. Check spelling and try again.
Available devices:
PATH MODEL SIZE
/dev/mmcblk0 119.1G
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.
Hold on...
Cleaning up...
umount: /media/pi/vdesktop/boot: no mount point specified.
umount: /media/pi/vdesktop: not mounted.
Almost done...
Done!

pi@raspberrypi:~ $ sudo ~/vdesktop/vdesktop /home/pi/raspbian-stretch/
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: yes
VDESKTOP_LOCAL_BINARIES: yes
VDESKTOP_NSPAWN_FLAGS:

Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? viewtopic.php?&t=251757
No such file or directory. Check spelling and try again.
Available devices:
PATH MODEL SIZE
/dev/mmcblk0 119.1G
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.
Hold on...
Cleaning up...
umount: /media/pi/vdesktop/boot: no mount point specified.
umount: /media/pi/vdesktop: not mounted.
Almost done...
Done!

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Mon Jan 11, 2021 2:38 pm
by Botspot
neal1 wrote:
Mon Jan 11, 2021 2:06 pm
still not working

Code: Select all

pi@raspberrypi:~ $ sudo ENABLE_VIRGL=no ~/vdesktop/vdesktop /path/to/your.img
No such file or directory. Check spelling and try again.
pi@raspberrypi:~ $ sudo ~/vdesktop/vdesktop
You did not specify what to boot.
pi@raspberrypi:~ $ sudo ~/vdesktop/vdesktop /home/pi/2020-08-20-raspios-buster-armhf.img
No such file or directory. Check spelling and try again.
pi@raspberrypi:~ $ sudo ~/vdesktop/vdesktop /home/pi/raspbian-stretch/
No such file or directory. Check spelling and try again.
How proficient are you with the command line? Have you read the instructions for vdesktop?
You must specify a valid path to an image, that exists on your system, to boot it.

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Mon Jan 11, 2021 2:52 pm
by neal1
thanks for identifying, i am getting to understand commands at the moment,

vdesktop /home/pi/ppt-dl-2020-12-02-raspios-buster-armhf.img


vdesktop working now, but i can see bluetooth other logo spread over taskbar

Re: Pi Power Tools: General Purpose Disk Image & SD Card Manager

Posted: Mon Jan 11, 2021 2:54 pm
by Botspot
neal1 wrote:
Mon Jan 11, 2021 2:52 pm
thanks for identifying, i am getting to understand commands at the moment,

vdesktop /home/pi/ppt-dl-2020-12-02-raspios-buster-armhf.img


vdesktop working now, but i can see bluetooth other logo spread over taskbar
Could you attach a screenshot?