VirtualBox

Opened 11 years ago

Closed 8 years ago

#11981 closed defect (obsolete)

VM crashing if it's started with Headless mode and try to connect via VRDP; works ok if started in GUI mode.

Reported by: R_mano Owned by:
Component: RDP Version: VirtualBox 4.2.16
Keywords: Headless, crash, RDP Cc:
Guest type: Windows Host type: Linux

Description

Hi --- I have a very strange problem.

I have a win7 WM working on a Linux host (raring 13.04, the real hw is a Dell computer, 32 bit mode). If I start the machine from GUI, then I can connect happily with RDP (I am using Remmina) and all works ok.

If I start the same VM with

VBoxHeadless --startvm win7-work --vrpd config

as soon as I try to connect to it, the virtual machine instantly powers itself off.

I attach the log --- I do not know if it has the needed info. Please ask if you need something more.

I found an old report here:

https://forums.virtualbox.org/viewtopic.php?f=7&t=45686#p206018

but it was marked "...solved".

Attachments (1)

win7-work-2013-07-22-18-43-51.log (85.8 KB ) - added by R_mano 11 years ago.
Log of the crashing session

Download all attachments as: .zip

Change History (6)

by R_mano, 11 years ago

Log of the crashing session

comment:1 by Klaus Espenlaub, 11 years ago

The log file confirms that there's a clean VM poweroff initiated just a fraction of a second before the RDP authentication succeeds. Is this really triggered by RDP, or is this coincodence? Not really possible to tell from the log file...

comment:2 by t_smith, 11 years ago

I'm also experiencing this issue. It appears there is a power down from console just as I get authenticated which I've copied below.

00:00:44.958996 VRDP: Logon: laptop2 (127.0.0.1) build 2600. User: [travis] Domain: [] Screen: 0 00:00:44.959870 AUTH: User: [travis]. Domain: []. Authentication type: [External] 00:00:44.960077 AUTH: ConsoleVRDPServer::Authenticate: loading external authentication library 'VBoxAuth' 00:00:44.960291 AUTH: Using entry point 'AuthEntry'. 00:00:45.046454 Console::powerDown(): A request to power off the VM has been issued (mMachineState=Stopping, InUninit=0) 00:00:45.087902 AUTH: external authentication module returned 'access granted' 00:00:45.087980 AUTH: Access granted. 00:00:45.094971 VBVA: VRDP acceleration has been requested. 00:00:45.095562 VRDP: Connection closed:

comment:3 by keiths, 11 years ago

I also am now having the same issue with VirtualBox 4.2.12. This is with a Windows 7 64-bit VM running on Linux Mint 15. If I set VRDP authentication to "null", then I am able to launch the VM headless and connect using rdesktop. If I set authentication to "external", I get the crash when I connect with rdesktop. I get the same log message "A request to power off the VM has been issued" during authentication as other users in this case.

comment:4 by coyotte, 10 years ago

Same issue with virtualbox 4.3.10

Host : Ubuntu 14.04 (virtualbox 4.3.10 + extension pack) Guest : Ubuntu 12.04 (Guest addition installed)

When setting authentification to null, it's working fine

00:00:54.556988 VRDP: New connection: 
00:00:54.557084 VRDP: Connection opened (IPv4): 0
00:00:54.557406 VRDP: Negotiating security method with the client.
00:00:54.558179 VRDP: Connection closed: 0
00:00:54.578218 VRDP: New connection: 
00:00:54.578240 VRDP: Connection opened (IPv4): 1
00:00:54.578653 VRDP: Negotiating security method with the client.
00:00:54.579457 VRDP: Connection closed: 1
00:00:54.586503 VRDP: New connection: 
00:00:54.586525 VRDP: Connection opened (IPv4): 2
00:00:54.586710 VRDP: Negotiating security method with the client.
00:00:54.597207 VRDP: Methods 0x00000013
00:00:54.597223 VRDP: Channel: [cliprdr] [1004]. Accepted.
00:00:54.605126 VRDP: Client seems to be MSFT.
00:00:54.605142 VRDP: Logon: dosyldell (192.168.0.106) build 2600. User: [sylvain] Domain: [] Screen: 0
00:00:54.605872 AUTH: User: [sylvain]. Domain: []. Authentication type: [External]
00:00:54.606044 AUTH: loading external authentication library 'VBoxAuth'
00:00:54.606199 AUTH: Using entry point 'AuthEntry'.
00:00:54.616356 Console::powerDown(): A request to power off the VM has been issued (mMachineState=Stopping, InUninit=0)
00:00:54.616788 AUTH: external authentication module returned 'access granted'
00:00:54.616800 AUTH: Access granted.
00:00:54.618465 VBVA: VRDP acceleration has been requested.
00:00:54.618787 VRDP: Connection closed: 2
00:00:54.618806 VBVA: VRDP acceleration has been disabled.
00:00:54.619259 VRDP: TCP server closed.
00:00:54.619529 Changing the VM state from 'RUNNING' to 'POWERING_OFF'.
00:00:54.619549 ****************** Guest state at power off ******************
Last edited 10 years ago by Michael Thayer (previous) (diff)

comment:5 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use