phpvirtualbox's People
Forkers
vvoronin projectbid hdocker vhadzhipopov twangjie terminal3 slavus fbartels agrrh acastroy classic-paul warkanum juliussenkus cybersardinha liepertt bjones14 perara mountaindude momiji adamrb viperdriver2000 francistaillon djwillis nangyal jeanbarriere svh1985 jeritiana jhidalgo3 jeroenbrons chpatton013 antlad arins efnineio highnetfather ipy forcomwork kwansik0214 meteoricfarm nightweb i-net-software tobiasdam programmerhuang amesianxphpvirtualbox's Issues
VirtualBox 6.1
Hi, is there anyway to make it compatible with virutalbox 6.1?
Enable authentication
I want to deploy an internet facing phpVirtualBox. Is it possible to re-enable the authentication?
In the config file I saw
// Disable authentication
var $noAuth = true;
I tried to set -e CONF_noAuth=false
which leads to an override of
array (
'noAuth' => 'false',
)
I assume the string 'false' will also be truthy for phpVirtualBox and authentication is still disabled.
Any way of achieving this?
Not working, always invalid username or password
I tried different configurations and several restarts of the server without any solution, it always says that the credentials are wrong both with the correct users and those that do not exist:
VirtualBox version:
root@server:~# vboxmanage -v | cut -dr -f1
6.1.44
Configs:
root@server:~# cat /etc/default/virtualbox
VBOXWEB_USER=vbox
VBOXWEB_HOST=0.0.0.0
VBOXWEB_PORT=18083
VBOXWEB_LOGFILE=/home/vbox/vboxweb.log
VBOXAUTOSTART_DB=/etc/vbox
VBOXAUTOSTART_CONFIG=/etc/vbox/autostartvm.cfg
root@server:~# cat /etc/vbox/autostartvm.cfg
default_policy = deny
vbox = {
allow = true
startup_delay = 10
}
VBoxWeb Log:
root@server:~# cat /home/vbox/vboxweb.log
00:00:00.001440 main VirtualBox web service 6.1.44 r156814 linux.amd64 (Apr 13 2023 11:19:06) release log
00:00:00.001442 main Log opened 2023-06-28T17:32:03.167844000Z
00:00:00.001442 main Build Type: release
00:00:00.001444 main OS Product: Linux
00:00:00.001445 main OS Release: 6.1.0-0.deb11.7-amd64
00:00:00.001446 main OS Version: #1 SMP PREEMPT_DYNAMIC Debian 6.1.20-2~bpo11+1 (2023-04-23)
00:00:00.001465 main DMI Product Name: To Be Filled By O.E.M.
00:00:00.001474 main DMI Product Version: To Be Filled By O.E.M.
00:00:00.001479 main Firmware type: BIOS
00:00:00.001517 main Host RAM: 15675MB (15.3GB) total, 15051MB (14.6GB) available
00:00:00.001519 main Executable: /usr/lib/virtualbox/vboxwebsrv
00:00:00.001519 main Process ID: 33321
00:00:00.001520 main Package type: LINUX_64BITS__DEBIAN_11
00:00:00.012018 main IPC socket path: /tmp/.vbox-vbox-ipc/ipcd
00:00:00.170939 SQPmp Socket connection successful: host = 0.0.0.0, port = 18083, master socket = 9
00:00:05.165419 Watchdog Statistics: 0 websessions, 0 references
00:00:14.026628 SQPmp Request 1 on socket 10 queued for processing (1 items on Q)
00:00:14.026735 SQW01 New SOAP thread started
00:00:14.026783 SQW01 Processing connection from IP=172.17.0.3 socket=10 (0 out of 1 threads idle)
00:00:14.028334 SQW01 External authentication library is 'VBoxAuth'
00:00:17.159001 SQW01 Access for user 'username' denied
00:01:18.599189 SQPmp Request 2 on socket 10 queued for processing (1 items on Q)
00:01:18.599223 SQW01 Processing connection from IP=172.17.0.3 socket=10 (0 out of 1 threads idle)
00:01:21.454384 SQW01 Access for user 'vbox' denied
00:01:49.531627 SQPmp Request 3 on socket 10 queued for processing (1 items on Q)
00:01:49.531725 SQW01 Processing connection from IP=172.17.0.3 socket=10 (0 out of 1 threads idle)
00:01:49.586256 SQW01 Access for user 'vbox' granted
00:01:54.655884 SQPmp Request 4 on socket 10 queued for processing (1 items on Q)
00:01:54.655973 SQW01 Processing connection from IP=172.17.0.3 socket=10 (0 out of 1 threads idle)
00:01:54.711275 SQW01 Access for user 'vbox' granted
00:06:06.128152 SQPmp Request 5 on socket 10 queued for processing (1 items on Q)
00:06:06.128206 SQW01 Processing connection from IP=172.17.0.3 socket=10 (0 out of 1 threads idle)
00:06:06.183072 SQW01 Access for user 'vbox' granted
00:07:40.186324 SQPmp Request 6 on socket 10 queued for processing (1 items on Q)
00:07:40.186433 SQW01 Processing connection from IP=172.17.0.3 socket=10 (0 out of 1 threads idle)
00:07:40.240121 SQW01 Access for user 'vbox' granted
Container Log:
Using following global configuration parameters:
Array
(
[browserRestrictFolders] => /home
)
Using the following linked server instances:
Array
(
[0] => Array
�
(
[name] => Server1
[username] => vbox
[password] => vbox
[location] => http://172.16.88.10:18083/
�
)
)
2023/06/28 17:39:29 [notice] 1#1: using the "epoll" event method
2023/06/28 17:39:29 [notice] 1#1: nginx/1.22.1
2023/06/28 17:39:29 [notice] 1#1: OS: Linux 6.1.0-0.deb11.7-amd64
2023/06/28 17:39:29 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2023/06/28 17:39:29 [notice] 1#1: start worker processes
2023/06/28 17:39:29 [notice] 1#1: start worker process 12
2023/06/28 17:39:29 [notice] 1#1: start worker process 13
2023/06/28 17:39:29 [notice] 1#1: start worker process 14
2023/06/28 17:39:29 [notice] 1#1: start worker process 15
172.16.88.25 - - [28/Jun/2023:17:39:43 +0000] "POST /endpoints/api.php HTTP/1.1" 200 93 "http://172.16.88.10:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
User:
root@server:~# cat /etc/passwd | grep vbox
vbox:x:1000:991::/home/vbox:/bin/bash
root@server:~# cat /etc/group | grep vbox
users:x:100:vbox
vboxusers:x:991:root,vbox
but i show always this screen:
what is the problem and how to solve it?
Fresh install phpvirtualbox docker
Hello! im writing this because im using your image with docker-compose and I cant seem to login to the web interface
`version: '3'
services:
vbox_http:
container_name: vbox_http
restart: always
ports:
- "8085:80"
environment:
SRV1_HOSTPORT: "vbox_websrv_1:18083"
SRV1_NAME: "Cyci: Miami"
SRV1_USER: "ubuntu"
SRV1_PW: "pass"
depends_on:
- vbox_websrv
image: jazzdd/phpvirtualbox
vbox_websrv:
container_name: vbox_websrv_1
restart: always
volumes:
- "./ssh:/root/.ssh"
environment:
USE_KEY: 1
SSH_PORT: port
image: jazzdd/vboxwebsrv
command: ubuntu@ip`
removed sensitive data but I get this error
Could not connect to host (http://vbox_websrv_1:18083/)
any step in the right direction would be nice
along with that I use an SSH key with a passphrase idk if that has anything to do with it but thought id include it
Traefik support?
Hi,
any idea how could I run phpvirtualbox with traefik instead of nginx? I am using traefik with Letsencrypt certs, would be great to have a working version.
Thanks
phpvirtualbox via docker container
Hello, I setup phpvirtualbox in docker container "jazzdd/phpvirtualbox". Here is config
docker run --name vbox_http --restart=always
-p 8888:80
-e ID_HOSTPORT=192.168.1.14:18083
-e ID_NAME=homesrv
-e ID_USER=vbox
-e ID_PW='vbox'
-e CONF_browserRestrictFolders="/data,/home"
-d jazzdd/phpvirtualbox
And this
Exception Object
(
[message:protected] => Could not connect to host (http://192.168.1.14:18083/)
[string:Exception:private] =>
[code:protected] => 64
[file:protected] => /var/www/endpoints/api.php
[line:protected] => 134
[trace:Exception:private] => Array
(
)
[previous:Exception:private] =>
)
Services works fine, both - vboxweb and virtualbox, passwords and right is OK. Whats wrong?
AlpineLinux PHP packages have been renamed from php to php5
The latest alpine (3.4.0) has made some changes to php packages.
Release note: http://alpinelinux.org/posts/Alpine-3.4.0-released.html
👍
Setup with docker-compose
Hi!
I am trying to setup the vboxwebsrv contaier and phpvirtualbox container using docker-compose. I am stuck with translating
--link vbox_websrv_1:MyComputer
from the vboxwebsrv run instructions to docker-compose yml, I am always getting
Error: No vboxwebsrv instance linked? Use "--link containername:myname"
What does ->MyComputer<- mean, respectively, what does ->myname<- mean?
Thanks!
This is my docker-compose:
version: '2'
services:
phpvirtualbox:
image: jazzdd/phpvirtualbox
container_name: phpvirtualbox
ports:
- "80:80"
environment:
- CONF_browserRestrictFolders=/home/encrypted/vm/iso
links:
- phpvirtualbox-vboxwebsrv
depends_on:
- phpvirtualbox-vboxwebsrv
phpvirtualbox-vboxwebsrv:
image: jazzdd/vboxwebsrv
container_name: phpvirtualbox-vboxwebsrv
environment:
- USE_KEY=1
volumes:
- /home/encrypted/docker/phpvirtualbox/ssh-vboxwebsrv:/root/.ssh
command: [email protected]
new virtualbox-1.10
An unknown PHP error occurred. This is most likely a syntax error in config.php in phpVirtualBox's folder. The most common errors are an unclosed quote or a missing semicolon in a configuration item that has been entered (e.g. location, username, or password).
servername?
Hello I have some issues finding all relevant informations to run this container.
docker run --name vbox_http --restart=always \ ====>clear
-p 8880:80 \ ====>clear
-e ID_PORT_18083_TCP=192.168.100.10:18083 \ ====>IP is from my server where VB is running:port is a guess
-e ID_NAME=srv-docker \ ====>this is name ob ubuntuserver running VB??!!
-e ID_USER=vboxUser \ ====>this is the user created for vB
-e ID_PW='pass' \ ====>should be clear
-e CONF_browserRestrictFolders="/data,/home" \ ====>no idea if this is needed
-d jazzdd/phpvirtualbox
Maybe you can give me alittle support
I want to use this continer to set uo my VMs ....
Thanks
VRDP listening on localhost only not on all?
Issue
If I create a VM using vboxmanage from the command line with vrdp enabled I can see the port (9000) listening on all interfaces. However, if I create a VM through phpvirtualbox I can see the port (9000) listening on just 127.0.0.1. Because I am running a headless VirtualBox server I therefore cannot RDP on to the VM to install etc.
Config
The relevant config info is:
docker-compose.yml environments for the container:
environment:
SRV_HOSTPORT: ${SRV}
SRV_NAME: ${SRV_LABEL}
SRV_USER: ${USR}
SRV_PW: ${PASSWD}
CONF_browserRestrictFolders: "/home,/usr/lib/virtualbox,/storage1,/storage2"
CONF_consoleHost: "10.0.0.130"
GUI display on a newly created VM through phpvirtualbox shows:
Remote Desktop Server Port: 9000 (10.0.0.130:9000)
Platform
I am running VirtualBox 6 on CentOS 7.5 natively along with your container using Docker 18.09 (Compose 1.22.0)
Build fails on Alpine 3.8
I was playing around with building this and the result just would not run.
Turns out the cause is a bug: https://bugs.alpinelinux.org/issues/9119 that affects php5-cli
Just FYI. Nothing to do. FROM alpine:3.7 or FROM alpine:edge both work fine.
But you'll want to steer clear of alpine:3.8 if you should happen to do a new build.
Nice work btw.
Support for PW from file
Security risk using password as env variable.
Please add the capability to use something like SRV1_PW_FILE=/password_file.txt in servers-from-env.php
It would make possible use docker secrets with phpVirtuabox in compose or swarms with better security.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.