I get the "Error logging in to vboxwebsrv." when I log in as admin/admin in the web ui.
I've exhausted anything I can think of.
I checked that I have my vbox user configured in /etc/default/virtualbox. I made sure this was the same user configured in phpvirtualbox/config.php. I tried setting a password for this account and adding it to phpvirtualbox/config.php.
Neither of these have worked.
One thing I did notice is that in the console output of vboxwebsrv, I get:
00:08:19.774853 SQW01 Processing connection from IP=127.0.0.1 socket=9 (0 out of 1 threads idle)
00:08:19.776712 SQW01 RTLdrLoadAppPriv: "/usr/lib64/virtualbox/VBoxAuth.so" not found
I looked and it indeed is not found. The only thing I did find with Auth in it's name was: VBoxAuthSimple.so
I googled around and I found that I may set this as the default Auth mechanism using: VBoxManage setproperty vrdeauthlibrary "VBoxAuthSimple". I gave it a shot with no expectation of it working, so I set it back to "default" when it did not work, even after restarting vboxwebsrv.
I'm at a loss where to look next, but I suspect it has something to do with the VBoxAuth error the vboxwebsrv message gives. I'm going to go back to Googling that, but it wasn't giving me anything specific about the error, just errors that shared a word or two, which seems like it's something else that's the issue.
[edit]
I remembered there was a details link. Although, as I've said. I suspect the issue is with a "missing" VBoxAuth file which gets printed to the console of the vboxwebsrv process.
This is the lines of code it was complaining about.
130 // Try / catch here to hide login credentials
131 try {
132 $settings->auth->login($request['params']['u'], $request['params']['p']);
133 } catch(Exception $e) {
134 throw new Exception($e->getMessage(), $e->getCode());
135 }
I get the "Error logging in to vboxwebsrv." when I log in as admin/admin in the web ui.
I've exhausted anything I can think of.
I checked that I have my vbox user configured in /etc/default/virtualbox. I made sure this was the same user configured in phpvirtualbox/config.php. I tried setting a password for this account and adding it to phpvirtualbox/config.php.
Neither of these have worked.
One thing I did notice is that in the console output of vboxwebsrv, I get:
00:08:19.774853 SQW01 Processing connection from IP=127.0.0.1 socket=9 (0 out of 1 threads idle)
00:08:19.776712 SQW01 RTLdrLoadAppPriv: "/usr/lib64/virtualbox/VBoxAuth.so" not found
I looked and it indeed is not found. The only thing I did find with Auth in it's name was: VBoxAuthSimple.so
I googled around and I found that I may set this as the default Auth mechanism using: VBoxManage setproperty vrdeauthlibrary "VBoxAuthSimple". I gave it a shot with no expectation of it working, so I set it back to "default" when it did not work, even after restarting vboxwebsrv.
I'm at a loss where to look next, but I suspect it has something to do with the VBoxAuth error the vboxwebsrv message gives. I'm going to go back to Googling that, but it wasn't giving me anything specific about the error, just errors that shared a word or two, which seems like it's something else that's the issue.
[edit]
I remembered there was a details link. Although, as I've said. I suspect the issue is with a "missing" VBoxAuth file which gets printed to the console of the vboxwebsrv process.
This is the lines of code it was complaining about.
Here is the details:
Last edit: wrinkledcheese 2016-10-22
It appears my issue is the lack of PAM while installing VirtualBox. This is compounded in there is no PAM packages for Slackware.