Porteus in VirtualBox. Permissions problems.

Post here if you are a new Porteus member and you're looking for some help.
brick
White ninja
White ninja
Posts: 6
Joined: 03 Jun 2023, 02:02
Distribution: porteus LXDE 64-bit

Porteus in VirtualBox. Permissions problems.

Post#1 by brick » 03 Jun 2023, 02:39

Hallo.
I have downloaded & installed Porteus-v5.0/Porteus-LXDE-v5.0-x86_64.iso in VirtualBox. All is fine.

The problem[/b]
I am trying to add the VirtualBox Guest Additions for Linux. The file I run is VBoxLinuxAdditions.run
The message I get is:
This program must be run with Administrator privileges. Aborting
Press Return to close this window...


When I download a web browser (such as Chromium), I also cannot copy it to the modules folder.
Permission Denied.

I am logged in as root with password toor
I have heard of "cheat codes" & I have pressed TAB on the boot screen, then chickened out. I have no idea what I am doing. How do I get full permissions to do what I want with my files? Appreciate any help.

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus in VirtualBox. Permissions problems.

Post#2 by AcnapyxoB » 03 Jun 2023, 05:23

brick wrote:
03 Jun 2023, 02:39
I am trying to add the VirtualBox Guest Additions for Linux.
- Log as regular user (guest)
- Activate 05-devel.xzm and 06-crippled_sources-XXX.xzm modules
- From Menu/System Tools run Vbox builder (enter pass for root when prompted)
- Select VirtualBox Guest Additions
- Copy created vbox-guest module in modules folder and reboot.

VirtualBox Guest Additions (module) can be created only from/into VirtualBox system
and only for kernell with whitch it was created!
Porteus v5.01 KDE x86_64

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus in VirtualBox. Permissions problems.

Post#3 by AcnapyxoB » 03 Jun 2023, 05:36

brick wrote:
03 Jun 2023, 02:39
I also cannot copy it to the modules folder.
Use Porteus Installer to install Porteus on virtual Hard disk (if not).
After that You can copy files into.
Porteus v5.01 KDE x86_64

brick
White ninja
White ninja
Posts: 6
Joined: 03 Jun 2023, 02:02
Distribution: porteus LXDE 64-bit

Porteus in VirtualBox. Permissions problems.

Post#4 by brick » 05 Jun 2023, 00:46

AcnapyxoB wrote:
03 Jun 2023, 05:23

- Activate 05-devel.xzm and 06-crippled_sources-XXX.xzm modules
Hallo AcnapyxoB & thanks for the response. I have already installed the OS to the virtual hard disk successfully. I have logged out and then logged in as guest (with password guest).

I have searched a little bit and I am confused how I can get those two you mentioned above. Please excuse me, I am brand new to Porteus.

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus in VirtualBox. Permissions problems.

Post#5 by AcnapyxoB » 05 Jun 2023, 16:28

brick wrote:
05 Jun 2023, 00:46
how I can get those two you mentioned above
Download them from Porteus mirrors:
http://porteus.org/porteus-mirrors.html
example:
https://ftp.cc.uoc.gr/pub/linux/porteus ... .0/kernel/
Porteus v5.01 KDE x86_64

brick
White ninja
White ninja
Posts: 6
Joined: 03 Jun 2023, 02:02
Distribution: porteus LXDE 64-bit

Porteus in VirtualBox. Permissions problems.

Post#6 by brick » 06 Jun 2023, 01:37

Thank you.
I have activated the two xzm files successfully.

I have had some trouble with the following step:
- From Menu/System Tools run Vbox builder (enter pass for root when prompted)
- Select VirtualBox Guest Additions


The error I get after selecting Virtualbox Guest Additions here is:

Code: Select all

Error
<urlopen error [Errno -2] Name or service not known>

EDIT: I fixed the above problem. I think it might have been related to network access, which was disconnected. I'm not sure.

The problem now is:
Modules and Permissions
I activate Chromium from my temp directory, and it is enabled if I check System Tools > Porteus Modules but if I reboot, it is gone. Same with the two files you suggested. Same with the VirtualBox module too: enabling them 'disappears' after a reboot.

I still can't copy my files to the Modules directory. Permission Denied.

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus in VirtualBox. Permissions problems.

Post#7 by AcnapyxoB » 06 Jun 2023, 04:47

brick wrote:
06 Jun 2023, 01:37
I still can't copy my files to the Modules directory.
Open modules directory as root (right click File Manager PCManFM (root))
read this:
http://www.porteus.org/component/conten ... dules.html
this review also can help You (read about modules):
https://medium.com/@fulalas/porteus-5-r ... df8789a758
Last edited by AcnapyxoB on 06 Jun 2023, 05:06, edited 1 time in total.
Porteus v5.01 KDE x86_64

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus in VirtualBox. Permissions problems.

Post#8 by ncmprhnsbl » 06 Jun 2023, 05:04

brick wrote:
06 Jun 2023, 01:37
I still can't copy my files to the Modules directory. Permission Denied.
make sure you're not still booting from ISO . ie. make sure it's ejected..
assuming your install is on /mnt/sda1 and the path to 'modules' folder is /mnt/sda1/porteus/modules, can you do this:

Code: Select all

ls -l /mnt/sda1/porteus/modules
and what AcnapyxoB said..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

brick
White ninja
White ninja
Posts: 6
Joined: 03 Jun 2023, 02:02
Distribution: porteus LXDE 64-bit

Porteus in VirtualBox. Permissions problems.

Post#9 by brick » 06 Jun 2023, 07:30

Hi guys.
Everything is working. Thanks so much.

Running the file manager as ROOT (choosing the red folder when right-clicking the modules folder) did it for me: I can now copy the modules into the modules folder, and activating the modules now stay activated between reboots.

I am happy with this.
Is there an easy way to change resolution higher (currently it's 800x600)? I noticed when looking through some of the Settings screens (to find a way to change the resolution) that some parts of the screen were cut off when running at 800x600 resolution.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus in VirtualBox. Permissions problems.

Post#10 by ncmprhnsbl » 06 Jun 2023, 08:39

brick wrote:
06 Jun 2023, 07:30
Is there an easy way to change resolution higher
there's a way, maybe not easy ;)
menu>preferences>ARandR ... >outputs>virtual1>resolution>choices
then click the green tick (or >layout>apply)
then click the save button (or >layout>save as) which saves a script of your naming (eg. layout.sh) to /home/guest/.screenlayout
then open /home/guest/.config/lxsession/LXDE/autostart in a text editor and add line: @/home/guest/.screenlayout/layout.sh below the existing lines.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

brick
White ninja
White ninja
Posts: 6
Joined: 03 Jun 2023, 02:02
Distribution: porteus LXDE 64-bit

Porteus in VirtualBox. Permissions problems.

Post#11 by brick » 06 Jun 2023, 10:25

Well I have no idea what happened, but the OS is not starting normally. It stops at:
INIT: Entering runlevel: 4

It has been sitting there for some minutes now.

I followed the instructions to change resolution (thank you). One odd thing I noticed was after I made my changes to the file (adding one line), I noticed the document was completely blank after I saved it, after I opened it again. Probably user error, but I am not sure.

I will re-install Porteus. At least now I'll have some idea of what I am doing, so things shouldn't take too long. I will report back tomorrow.

Thanks for all the help so far.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus in VirtualBox. Permissions problems.

Post#12 by beny » 06 Jun 2023, 11:56

Try to boot in txt mode first, if you have issue don't load changes the core system also if you reinstall it is the same OK try it

brick
White ninja
White ninja
Posts: 6
Joined: 03 Jun 2023, 02:02
Distribution: porteus LXDE 64-bit

Porteus in VirtualBox. Permissions problems.

Post#13 by brick » 06 Jun 2023, 23:20

Hi guys. Thanks for the help.

Success.
After re-installing the OS, everything worked fine. It was user error the first time, I think. Resolution has been changed and Porteus starts up with the new resolution.

I am unable to get shared clipboard & drag & drop features working in VirtualBox, but that might be a VirtualBox thing. The main things are working.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus in VirtualBox. Permissions problems.

Post#14 by francois » 08 Jun 2023, 04:16

Probably you have to install the guest additions and use what is called the shared folders. Google vbox shared folders francois porteus. There is no drag and drop from vbox to porteus to my knowledge.
Prendre son temps, profiter de celui qui passe.

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Porteus in VirtualBox. Permissions problems.

Post#15 by AcnapyxoB » 08 Jun 2023, 04:56

I have all DE installed in VirtualBox. Drag and drop I found to work only on Mate and XFCE and only from host to vbox machine (if guest additions are activated of course).
Porteus v5.01 KDE x86_64

Post Reply