headless vms terminated when logging out of rdp session

Discussions related to using VirtualBox on Linux hosts.
Post Reply
zoric
Posts: 2
Joined: 22. Mar 2024, 17:16
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: opensuse

headless vms terminated when logging out of rdp session

Post by zoric »

Hi,

I am wondering if the following is normal behaviour?

I start headless vms using virtualbox GUI (logged as a user member of vboxusers group)

When I logout from the KDE session and close the rdp session, the vms get terminated which I find strange as they are headless.
Should I only start the headless vms using a non graphical session?

Attached VBox.log

Host : opensuse Leap 15.5 + KDE plasma
Virtualbox : 7.0.14

Thanks for advice
Attachments
VBox.log
(186.55 KiB) Downloaded 2 times
Smackey's dad
Posts: 127
Joined: 2. Apr 2014, 04:11
Primary OS: Ubuntu 12.04
VBox Version: OSE Debian
Guest OSses: Ubuntu Trusty
Location: Austin, TX
Contact:

Re: headless vms terminated when logging out of rdp session

Post by Smackey's dad »

Try closing the RDP session, but don't log out. It may be easier to use the command line for headless session.

Code: Select all

VBoxManage startvm "Enter VM Name here" --type headless
zoric
Posts: 2
Joined: 22. Mar 2024, 17:16
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: opensuse

Re: headless vms terminated when logging out of rdp session

Post by zoric »

thank you. I am not starting my headless vms from the gui anymore as they get terminated when I logout from the remote session. I start them as headless using the command line.
Post Reply