Remote Desktop Server is locked to 127.0.0.1

Discussions related to using VirtualBox on Linux hosts.
Post Reply
gnomin
Posts: 3
Joined: 20. Jul 2018, 13:49

Remote Desktop Server is locked to 127.0.0.1

Post by gnomin »

I use VirtualBox on several machines with Centos 7. Now I have installed a new server, the same as before. But with all my attempts, I can not unblock the Remote Desktop Server from localhost only (127.0.0.1). Please help me to solve the problem.
gnomin
Posts: 3
Joined: 20. Jul 2018, 13:49

Re: Remote Desktop Server is locked to 127.0.0.1

Post by gnomin »

I solved the problem.
The following must be done:
-after installing the virtualbox, it is recompiled on the last kernel and restarts centos.
-a test virtual machine needs to be created (no extra pack installed).
-restarts centos again.
-install extra pack.
-and everything will be fine.

I use Centos 7 x64 with ext4 partitions.
Hope to help my message.
gnomin
Posts: 3
Joined: 20. Jul 2018, 13:49

Re: Remote Desktop Server is locked to 127.0.0.1

Post by gnomin »

We came back because the problem was not solved partially.
For virtual machines created after reinstalling the extrapack does not work.
Therefore, the solution is to manually edit the configuration files of each virtual machine (files ../VMs/*.vbox).
Replace:
<VRDEProperties>
<Property name = "TCP / Address" value = "127.0.0.1" />
<Property name = "TCP / Address" value = "9101" />
</ VRDEProperties>

With:
<VRDEProperties>
<Property name = "TCP / Address" value = "9101" />
</ VRDEProperties>
P@tr1ck
Posts: 1
Joined: 13. Feb 2021, 05:32

Re: Remote Desktop Server is locked to 127.0.0.1

Post by P@tr1ck »

I ran into the same issue, your solution works, however what I found was that I needed to edit the config.php in my /var/www/html/phpvirtualbox/ folder. In that config there is a commented line that you need to uncomment and define.

So this line: #var $vrdeaddress = '127.0.0.1'; needs to be uncommented and set to what IP or machine name you want it to be, in my case my machine was at 192.168.1.232 so I set it as:

var $vrdeaddress = '192.168.1.232';
Post Reply