Hallo zusammen,
ich versuche derzeit auf meinem headless Heimserver eine virtuelle Maschine mit VirtualBox zu installieren. Folendermaßen bin ich vorgegangen:
ich habe:
1. einen neuen Benutzer erstellt mit dem Namen virtualbox (nicht in sudoers).
2. mit meinem eigenen Benutzer (in sudoers) die aktuellste Version des VirtualBox deb-Pakets installiert (VirtualBox 4.2.8 für Ubuntu 12.04).
3. eine virtuelle Maschine (Ubuntu 12.04 amd64 minimal) mit dem Benutzer virtualbox angelegt:
1 2 3 4 5 6 7 8 9 10 11 | VBoxManage createvm --name $VM --ostype Ubuntu_64 VBoxManage createhd --filename "vm-disk.vdi" --size 5000 VBoxManage storagectl $VM --name sata_controller --add sata --controller IntelAHCI VBoxManage storagectl $VM --name ide_controller --add ide --controller PIIX4 VBoxManage storageattach $VM --storagectl sata_controller --port 0 --device 0 --type hdd --medium "vm-disk.vdi" VBoxManage storageattach $VM --storagectl ide_controller --port 0 --device 0 --type dvddrive --medium "ubuntu-12.04.2-mini-amd64.iso" VBoxManage modifyvm $VM --ioapic on VBoxManage modifyvm $VM --memory 256 --vram 16 VBoxManage modifyvm $VM --boot1 dvd --boot2 disk --boot3 none --boot4 none VBoxManage modifyvm $VM --nic1 bridged --bridgeadapter1 eth0 VBoxManage modifyvm $VM --vrde on |
4. die virtuelle Maschine gestartet mit:
1 | VBoxHeadless --startvm $VM |
und erhalte die folgende Ausgabe:
1 2 3 | Oracle VM VirtualBox Headless Interface 4.2.8 (C) 2008-2013 Oracle Corporation All rights reserved. |
5. nun wollte ich mich mit RDP von meinem Desktoprechner (Linux Mint 14) aus mit der soeben gestarteten Maschine verbinden.
1 | xfreerdp 192.168.1.2 |
und erhalte die folgende Ausgabe:
1 2 | unable to connect to 192.168.1.2:3389 Error: protocol security negotiation failure |
6. geprüft ob überhaupt etwas auf dem Port 3389 lauscht:
1 2 3 4 5 6 7 8 9 10 11 12 13 | netstat -tulpen (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 9734 - tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 0 9535 - tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 9494 - tcp 0 0 127.0.0.1:5984 0.0.0.0:* LISTEN 107 9761 - tcp6 0 0 :::8080 :::* LISTEN 106 9772 - tcp6 0 0 :::22 :::* LISTEN 0 9496 - tcp6 0 0 127.0.0.1:8005 :::* LISTEN 106 9788 - udp 0 0 0.0.0.0:68 0.0.0.0:* 0 7792 - |
Und das tut es nicht.
Ich weiß nicht warum VirtualBox für mich kein RDP bereitstellt. Ich würde mich freuen wenn ihr mir weiterhelfen könntet.
Vielen Dank und viele Grüße
Konze