AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Virtualbox remote display11/13/2023 ![]() ![]() If your client PC runs Linux, rdesktop is probably your best option. The command to start a headless VM is: VBoxHeadless -startvm This makes it perfect for automated startup and especially if you're running VirtualBox on a pure server that doesn't run X-Windows or a GUI desktop. The latter method runs the VM "headless" (no display), and waits for a connection. ![]() Last, start the VM - either normally, or from the command line. Add it to ~/.bashrc so that it's automatically set the next time you log in: export VRDP_AUTH_PAM_SERVICE=vrdpauth Go to the /etc/pam.d directory and create a file called vrdpauth with these lines: auth required pam_unix.soĪccount required pam_unix.so broken_shadowĮxecute the export command to set the VRDP_AUTH_PAM_SERVICE environment variable. This is just a matter of changing some settings. Next, you'll need to to create an external authentication service. In that case, each VM must use a different port number. You can leave the Port set to the standard (3389) unless you need to run multiple RDP sessions simultaneously. So the first step is to open your VM's Display settings, click on the Remote Display tab, checkmark the "Enable Server" box, and change the Authentication Method to "External".Ĭhange your VM's authentication method to External Even if you don't care about security, you may need to configure it anyway: In Ubuntu, I could not get RDP to work with the default "Null" setting. ![]() VirtualBox's RDP server needs to know what port to listen on, and what authentication method to use. Server Configuration in UbuntuĪuthentication is the main hurdle to sharing a VirtualBox VM with RDP. Or maybe you just want to have instant access to a VM running a different operating system, from anywhere on your network. Using RDP, you can turn that machine into a graphic terminal, with access to any operating system you can install in VirtualBox on your more powerful computer. What's so great about an RDP connection to a virtual machine? Say you have an older computer without enough raw speed or RAM to run the latest operating systems and applications. When you run the Remote Desktop Connection software in Windows (from the Start | Accessories menu), you're using RDP. There's one VirtualBox feature, however, that makes it stand out for me: you can access a VM from another computer - not just the host machine - using any client software compatible with Micosoft's Remote Desktop Protocol (RDP). ![]() Of course, you can also use networking to access file shares outside the VM's virtual drive. VirtualBox's Shared Folders let your VM read and write files on your local drive. By installing Guest Additions, you can run your VM in high resolution with video acceleration. VirtualBox runs your virtual machine in a seamless window, just like normal applications.
0 Comments
Read More
Leave a Reply. |