justvanbloom / phpvirtualbox

Automatically exported from code.google.com/p/phpvirtualbox
0 stars 0 forks source link

Connect via RDP Console #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start VM - WIN 7 - Professional
2. Attempt to Connect via Console option
3. Connection is not successful

What is the expected output? What do you see instead?
Expect to see the WIN 7 logon screen 

What version of the product are you using? On what operating system?
Beta 0.3 pf phpVirtualBox
Linux Ubuntu 64 10.04
Firefox 3.6.6

Please provide any additional information below.
I can use my GnomeRDP to connect.
See attached images of the messages from the RDP Console
The fourth attempt I get a black screen as shown
After a while the fifth screen appears

Original issue reported on code.google.com by ky...@bigpond.net.au on 15 Jul 2010 at 9:08

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

Please see this: http://code.google.com/p/phpvirtualbox/issues/detail?id=1&can=1

Let me know if adding that setting doesn't resolve it.

Original comment by imooreya...@gmail.com on 15 Jul 2010 at 1:53

GoogleCodeExporter commented 9 years ago
Tried that - no difference - uhm

I was on a corporate network - and used the IP addr is allocated to my PC - no 
good
Tried the Bridge Allocated IP to the VM - no good

Disconnected from corporate network - so just a standalone PC

I used LOCALHOST - no good
I used 127.0.0.1 - no good

Gnome RDP could connect via 127.0.0.1

Original comment by ky...@bigpond.net.au on 16 Jul 2010 at 12:47

GoogleCodeExporter commented 9 years ago
I'll mimic your setup over the weekend to see if I can recreate the issue. 
Without having the source to the FlashRDP client, it makes it kind of hard to 
debug. My first thought is to change the RDP port for the VM to something other 
than 3389. Assuming it is 3389 now. Also try 800x600 resolution. I know it 
doesn't make any sense, but I've seen the FlashRDP client refuse to connect 
sometimes at higher resolutions.

Original comment by imooreya...@gmail.com on 16 Jul 2010 at 1:54

GoogleCodeExporter commented 9 years ago
OK I try those suggestions. Thanks for efforts!

Original comment by ky...@bigpond.net.au on 16 Jul 2010 at 10:25

GoogleCodeExporter commented 9 years ago
kyle,

I was not able to reproduce this. Were you able to make any headway?

Original comment by imooreya...@gmail.com on 2 Aug 2010 at 1:35

GoogleCodeExporter commented 9 years ago
Have not - not sure what else to try.

Original comment by kyle.ama...@gtempaccount.com on 2 Aug 2010 at 10:58

GoogleCodeExporter commented 9 years ago
Same issue on Debian Lenny and different VM's.

Original comment by dimk...@gmail.com on 10 Aug 2010 at 5:38

GoogleCodeExporter commented 9 years ago
dimka,

What version of VirtualBox are you running? Is it running on the same computer 
that you are viewing phpVirtualBox from?

Original comment by imooreya...@gmail.com on 10 Aug 2010 at 2:16

GoogleCodeExporter commented 9 years ago
Hi!

I have exactly same problem. Using VirtualBox 3.2.8, and this is the part of 
logfile about problem:

00:00:39.752 VRDP: New connection: 
00:00:39.812 VRDP: Flags 0x00000003
00:00:39.868 VRDP: Failed to process incoming RDP packet: 
VERR_VRDP_SEC_ENGINE_FAIL!!!
00:00:39.868 VRDP: The RDP packet content (read):
00:00:39.868 
00:00:39.868 0872f6e8 0000: 03 00 00 5e 02 f0 80 64-00 01 03 eb 70 50 01 00 
...^...d....pP..
00:00:39.868 0872f6f8 0010: 00 00 48 00 00 00 d2 4f-4f c0 7c f7 dd db ef 14 
..H....OO.|.....
00:00:39.868 0872f708 0020: aa 39 ce b7 d8 29 cd 96-f8 b0 34 2a 6d 00 83 9a 
.9...)....4*m...
00:00:39.868 0872f718 0030: b3 c6 cb 6d e6 33 ea ba-ed fd d8 6b b1 62 d0 65 
...m.3.....k.b.e
00:00:39.868 0872f728 0040: bf a9 6b 8f d8 7c 80 4e-d7 03 65 2f ed 1b ce 14 
..k..|.N..e/....
00:00:39.868 0872f738 0050: 41 04 e8 75 58 2e 00 00-00 00 00 00 00 00       
A..uX.........
00:00:39.868 
00:00:39.868 VRDP: Connection closed: 
00:00:39.868 VRDP: Logoff: localhost (<NULL>) build 2601. User: [<NULL>] 
Domain: [<NULL>] Reason 0xFFFFFFFF.

Original comment by tcat.hu on 12 Aug 2010 at 10:49

GoogleCodeExporter commented 9 years ago
Just tried to downgrade to 3.1.8 (marked as stable in gentoo portage), but same 
result.

Original comment by tcat.hu on 12 Aug 2010 at 11:00

GoogleCodeExporter commented 9 years ago
tcat,

Can you please attach your VirtualBox.xml and the target machine's xml file as 
well?

VirtualBox.xml should be in .VirtualBox the user's home directory. The 
machine's XML file is Machines/<machine name>/<machine name>.xml in that same 
directory.

Thank you

Original comment by imooreya...@gmail.com on 12 Aug 2010 at 12:57

GoogleCodeExporter commented 9 years ago
I'm having the same problem as described here on all 12 of my virtual machines. 
I use the None or 'null' for VRDP authentication. I can connect to the virtual 
machines using 'rdesktop' just fine. My server is running...

phpVirtualBox 0.5-2
VirtualBox 3.2.8
PHP 5.3.2
Ubuntu Lucid 10.04.1 LTS

I've tested connecting via my 64-bit Ubuntu Lucid 10.04.1 LTS wotkstation 
with...

Google Chromium 6.0.472.36 (55963) 
Firefox 3.6.8

I've tried change the '$rdphost' in config.php to the IP of the server and 
127.0.0.1 but it made no difference.

Here is the log fragment when I attempt to connect.

66:48:02.377 VRDP: New connection: 
66:48:02.448 VRDP: Flags 0x00000003
66:48:47.525 VRDP: Connection closed: 
66:48:47.525 VRDP: Logoff: localhost (<NULL>) build 2601. User: [<NULL>] 
Domain: [<NULL>] Reason 0xFFFFFFFF.
66:55:00.166 VRDP: New connection: 
66:55:00.227 VRDP: Flags 0x00000003
66:55:00.268 VRDP: Failed to process incoming RDP packet: 
VERR_VRDP_SEC_ENGINE_FAIL!!!
66:55:00.269 VRDP: The RDP packet content (read):
66:55:00.269 
66:55:00.269 0000000000f34c18 0000: 03 00 00 5e 02 f0 80 64-00 01 03 eb 70 50 
01 00 ...^...d....pP..
66:55:00.290 0000000000f34c28 0010: 00 00 48 00 00 00 00 f6-c1 52 e5 a6 19 a3 
85 76 ..H......R.....v
66:55:00.290 0000000000f34c38 0020: 91 92 ba 80 0e f2 ee 92-82 d0 f6 58 9b d1 
e9 b4 ...........X....
66:55:00.290 0000000000f34c48 0030: db 8f 2c 4b b7 14 a4 66-e4 87 5f dd 97 a9 
44 4c ..,K...f.._...DL
66:55:00.290 0000000000f34c58 0040: ff 34 50 9d 2f 3b b6 39-3e da 22 43 5e d5 
4c 12 .4P./;.9>."C^.L.
66:55:00.290 0000000000f34c68 0050: bf 4e ab 30 d3 03 00 00-00 00 00 00 00 00   
    .N.0..........
66:55:00.290 
66:55:00.305 VRDP: Connection closed: 
66:55:00.305 VRDP: Logoff: localhost (<NULL>) build 2601. User: [<NULL>] 
Domain: [<NULL>] Reason 0xFFFFFFFF.

Original comment by flexiondotorg on 20 Aug 2010 at 8:52

GoogleCodeExporter commented 9 years ago
Same on:

phpVirtualBox 0.5 (release date: 2010-08-10)
VirtualBox 3.2.8
php 5.2.10
Centos 5.4 32bit

Thank you for the good work!

Original comment by giacomo.sanchietti@gmail.com on 5 Oct 2010 at 1:10

GoogleCodeExporter commented 9 years ago
I can do nothing about this without someone giving more information. Could the 
next person having this issue (or any existing person) please attach your 
VirtualBox.xml and the target machine's xml file as well?

VirtualBox.xml should be in .VirtualBox the user's home directory. The 
machine's XML file is .VirtualBox/Machines/<machine name>/<machine name>.xml in 
that same directory.

If you do not want to attach them, you could email them to imooreyahoo at 
gmail.com.

Thank you

Original comment by imooreya...@gmail.com on 5 Oct 2010 at 1:28

GoogleCodeExporter commented 9 years ago
I'll have another go at this this week - and then forward the various files.

Original comment by kyle.ama...@gtempaccount.com on 5 Oct 2010 at 9:19

GoogleCodeExporter commented 9 years ago
Hello
Same issue here. Running VBox 3.2.10 on Ubuntu 10.10.
I can connect to the console from other computers on the network, but not on 
the same machine. I tried the other sugestions.
I'm attaching my .xml file.

Original comment by diegofar...@gmail.com on 16 Oct 2010 at 11:40

Attachments:

GoogleCodeExporter commented 9 years ago
Hi!

I have the very same problem. 

# uname -a
Linux hosting 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010 x86_64 
x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release
CentOS release 5.5 (Final)

Using VirtualBox 3.2.10
# rpm -qa | grep -i virtualbox
VirtualBox-3.2-3.2.10_66523_rhel5-1

phpVirtualBox 0.5 (release date: 2010-08-10)

I can successfully connect to my virtual machine via microsoft rdp client, but 
when I press button Connect on the Console tab I get the following messages in 
3-5 seconds - "Disconnect reason: E: TCP: SECURITY_ERROR Error #2048"

Change the '$rdphost' in config.php doesn't resolve the issue.

What the most interesting is that when I first installed my first virtual 
machine (Windows XP Pro SP3) those features worked fine. I can't understand why 
it was broken

Original comment by alex....@gmail.com on 17 Nov 2010 at 8:19

GoogleCodeExporter commented 9 years ago
Any update?

Original comment by alex....@gmail.com on 2 Dec 2010 at 7:18

GoogleCodeExporter commented 9 years ago
I'm also having the same issue but in my case it was working fine and then 
stopped.  I've been struggling to find out if anything had changed but I've 
made no changes at all to the config.php or anything.  I'm attaching xmls for 
both the machine (called MONITOR" and th virtual box xml.  i'm at a real loss.

I've tried changing the rdp port all over the place.  I have seen that using a 
random rdp port was working when i was trying to be able to use the console 
when more than one vm was booted.  in this circumstance, we're dealing with a 
single vm.

Original comment by jacob.ba...@savageweb.net on 17 Dec 2010 at 5:14

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@jacob - can you attach the VM log from this session as well please?

Original comment by imooreya...@gmail.com on 25 Jan 2011 at 3:52

GoogleCodeExporter commented 9 years ago
I'm not sure if this is related. Maybe you can tell me.

The "console" option is grayed out in the web ui.  When I create a new VM there 
is no option to change VRDP settings at all, even with advanced options 
enabled.  Starting the VM produces a preview as expected, but the console tab 
is still grayed out, and a 'netstat -l' reveals that there is no RDP service 
running on the host.

If I login as the user vbox (which I'd prefer to not ever do) and I change the 
VRDP settings for the VM, I can start it either there or in the web ui and the 
RDP service starts up and I'm able to connect to it with remote desktop.  
However, the console tab is still grayed out and there is no way to modify VRDP 
settings on this VM or any other I create.

I'm willing to work with you to get this resolved for me and others.  Please 
let me know which files (and their location) to pastebin.  :)

OS: Archlinux
VirtualBox: 4.0.2_OSE r35621
phpvirtualbox: 4.0-3
VirtualBox Extension Pack: 4.0.2

Original comment by Clayton....@gmail.com on 17 Feb 2011 at 7:17

GoogleCodeExporter commented 9 years ago
Hi,

Not at all related. But it sounds like you need to select the machine in the 
list of VMs in phpVirtualBox, then click on Machine (top menu item) -> Refresh. 

Original comment by imooreya...@gmail.com on 17 Feb 2011 at 11:22

GoogleCodeExporter commented 9 years ago
hi just to help you. you need to install the expansion package for virtualbox 
to enable the console tab in phpvirtualbox.

@imo
i want to know what is the difference between guest and external in 
authentication in rdp settings? i was able to connect using none and external 
but in guest, my connection using remote desktop failed.

Original comment by sda...@gmail.com on 21 Feb 2011 at 6:46

GoogleCodeExporter commented 9 years ago
@sda...
thanks, expansion pack should really be listed in the requirements. :/
also, to get "guest" working for linux guests you need to change some PAM 
options inside the guest.  Guest auth basically asks the guest to provide auth. 
 Not sure how to get it going with other guest OSes but it's all in the vbox 
usermanual. :)

Original comment by Clayton....@gmail.com on 21 Feb 2011 at 11:42

GoogleCodeExporter commented 9 years ago
@clay
thanks, i'll better read the manual again :P

Original comment by sda...@gmail.com on 22 Feb 2011 at 1:28

GoogleCodeExporter commented 9 years ago
While I had originally thought that the error message "Disconnect reason: E: 
TCP: SECURITY_ERROR Error #2048" was due to some security setting in 
VirtualBox, I have recently learned that the RDP console client gives this 
error as a generic message whenever it cannot connect. As a result, I'd like to 
ask that if you are still having this issue, and would like it resolved, that 
you open a new issue on the Issues tab. I am closing this issue.

Original comment by imooreya...@gmail.com on 1 Mar 2011 at 3:56