Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a question related to remote desktop from windows 7 to a ubuntu server

Computer 1: Windows 7 installed + ubuntu server installed inside a virtual box

Computer 2: Windows 7

What I want to achieve are

  1. Using remote desktop connecting from computer 2 to computer 1: windows7

  2. Using remote desktop connecting from computer 2 to computer 1: ubuntu server

By using port forwarding and xrdp, I was able to achieve either one, but not both of them at the same time.

For example, changing the port forwarding setting of port 3389 to ip address of windows7 or ubuntu server allows me to connect to one of them.

However, changing the setting requires me to have a direct connection to my router, which is not possible when I am out of home. So, what setup is needed for connecting to them just by using different ports?

Thanks.

share|improve this question
    
Best solution for me is to change setup of network interface for VM Ubuntu server on VM to get another local ip. Then you will get xxx.xxx.xxx.xxx:3389 for win access and zzz.zzz.zzz.zzz:3389 for ubuntu access. On router you can configure port forwarding 3389 -> xxx.xxx.xxx.xxx:3389 and 3390 -> zzz.zzz.zzz.zzz:3389 –  2707974 Mar 31 at 6:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.