Page 2 of 2

Re: remote desktop connection not possible

Posted: 17. Mar 2016, 20:38
by mn
So, finally it is working!

Here are the latest information

Firewall setting on the host:

Code: Select all

$ cat /etc/sysconfig/iptables | grep 5030
-A INPUT -m state --state NEW -m tcp -p tcp -m multiport --dports 5030 -j ACCEPT

Network config on the host

Code: Select all

$ ifconfig
eth1      Link encap:Ethernet  HWaddr 00:E0:81:C6:D5:34
          inet addr:172.20.54.10  Bcast:172.20.54.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:81ff:fec6:d534/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13792578 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10748136 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:14961259000 (13.9 GiB)  TX bytes:1341227527 (1.2 GiB)
          Memory:fe7c0000-fe7e0000

VboxManage detail. Please note the network interface (eth1 which 172... on the host) is set to bridge and the authentication method for the RDP is set to NULL. Obviously, Vbox extension pack must be installed.

Code: Select all

$ VBoxManage showvminfo winxp64  --details
Name:            winxp64
Groups:          /
Guest OS:        Windows XP (64-bit)
UUID:            8954cbeb-ba89-410b-91db-9d34336f1e0d
Config file:     /home/mahmood/VirtualBox VMs/winxp64/winxp64.vbox
Snapshot folder: /home/mahmood/VirtualBox VMs/winxp64/Snapshots
Log folder:      /home/mahmood/VirtualBox VMs/winxp64/Logs
Hardware UUID:   8954cbeb-ba89-410b-91db-9d34336f1e0d
Memory size:     20541MB
Page Fusion:     off
VRAM size:       70MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  6
PAE:             off
Long Mode:       on
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: Default
State:           powered off (since 2016-03-17T17:46:10.000000000)
Monitor count:   1
3D Acceleration: on
2D Video Acceleration: on
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0):            IDE
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
IDE (0, 0): /export/virtual/winxp64.vdi (UUID: 7ec3c673-5095-44d6-b08c-965120412d5c)
IDE (1, 0): Empty
NIC 1:           MAC: 0800270B54AA, Attachment: Bridged Interface 'eth1', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
UART 3:          disabled
UART 4:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: ALSA, Controller: AC97, Codec: STAC9700)
Clipboard Mode:  disabled
Drag and drop Mode: disabled
VRDE:            enabled (Address 0.0.0.0, Ports 5030, MultiConn: on, ReuseSingleConn: off, Authentication type: null)
Video redirection: disabled
VRDE property: TCP/Ports  = "5030"
VRDE property: TCP/Address = <not set>
VRDE property: VideoChannel/Enabled = <not set>
VRDE property: VideoChannel/Quality = <not set>
VRDE property: VideoChannel/DownscaleProtection = <not set>
VRDE property: Client/DisableDisplay = <not set>
VRDE property: Client/DisableInput = <not set>
VRDE property: Client/DisableAudio = <not set>
VRDE property: Client/DisableUSB = <not set>
VRDE property: Client/DisableClipboard = <not set>
VRDE property: Client/DisableUpstreamAudio = <not set>
VRDE property: Client/DisableRDPDR = <not set>
VRDE property: H3DRedirect/Enabled = <not set>
VRDE property: Security/Method = <not set>
VRDE property: Security/ServerCertificate = <not set>
VRDE property: Security/ServerPrivateKey = <not set>
VRDE property: Security/CACertificate = <not set>
VRDE property: Audio/RateCorrectionMode = <not set>
VRDE property: Audio/LogPath = <not set>
USB:             enabled
EHCI:            disabled
XHCI:            disabled

USB Device Filters:

<none>

Bandwidth groups:  <none>

Shared folders:  <none>

Video capturing:    not active
Capture screens:    0
Capture file:       /home/mahmood/VirtualBox VMs/winxp64/winxp64.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB


On the guest (win xp 64), the firewall is off and the remote desktop feature is enabled (right click on my computer->remote)


I am now able to see the remote desktop from my laptop as well as the host

Thank you very much Perryg for all the helps.