09-07-2019, 02:17 AM
After my mistake on my VPS that requested @deanhills support I tried to emulate a OpenVZ environment on my local machine to figure out how get "Remote Desktop Access" technologies working on OpenVZ6.
My investigation started from the "workaround" provided by @"Hidden Refuge":
Issue: After installing a Desktop Environment the server will not survive the next reboot. I mean it will be unreachable (maybe stuck on booting), you can test it by pinging it: you will receive timeout.
Solution: Remove NetworkManager from the server immediately after the installation of the Desktop Environment.
What changes from the fix provided by @"Hidden Refuge" ? : Well, he named the use of SolusVM to reconfigure the network settings, instead on this attempt we will not need it. That means we can operate without creating troubles to the staff.
Step-by-Step guide to reproduce the fix, we will suppose the use of CentOS:
I didn't want to try it directly on my VPS because I am scared to kill it again.
So, if a staff has some free time, can you test it on a actual VPS?
I just installed OpenVZ without any particular settings, I don't know if VPS providers uses magic settings.
My investigation started from the "workaround" provided by @"Hidden Refuge":
Issue: After installing a Desktop Environment the server will not survive the next reboot. I mean it will be unreachable (maybe stuck on booting), you can test it by pinging it: you will receive timeout.
Solution: Remove NetworkManager from the server immediately after the installation of the Desktop Environment.
What changes from the fix provided by @"Hidden Refuge" ? : Well, he named the use of SolusVM to reconfigure the network settings, instead on this attempt we will not need it. That means we can operate without creating troubles to the staff.
Step-by-Step guide to reproduce the fix, we will suppose the use of CentOS:
- Load on a VPS based on OpenVZ technology a template of CentOS 7
- Access to the container and set a root password:
vzctl enter <ID>
passwd root
- Access via SSH and make sure the system is up to date with:
Code: (Select All)yum update
- Enable epel repo
Code: (Select All)yum install epel-release -y
- Install a DE, we will suppose XFCE
Code: (Select All)yum groupinstall "Xfce" -y
- The following command didn't work for me (I had systemctl time out error), but try it:
Code: (Select All)systemctl mask NetworkManager
- Try uninstalling NetworkManager
Code: (Select All)yum remove NetworkManager
I didn't want to try it directly on my VPS because I am scared to kill it again.
So, if a staff has some free time, can you test it on a actual VPS?
I just installed OpenVZ without any particular settings, I don't know if VPS providers uses magic settings.