Solved

RDP from XP to Ubuntu

Posted on 2008-10-14
11
1,445 Views
Last Modified: 2013-11-21
I am trying to setup a terminal services connection using RDP from a given XP machine to a Ubuntu desktop.  This needs to be terminal services and not VNC - I've already gotten VNC going, but it can be slow at times, as you probably already know.  I can get terminal services going on the Ubuntu machine to the XP machines so there must be a way to do it the other way around.  
0
Comment
Question by:Athanman
  • 3
  • 2
  • 2
  • +2
11 Comments
 
LVL 3

Accepted Solution

by:
iPromoExpert earned 200 total points
ID: 22713644
http://www.nomachine.com/download-client-windows.php

try that. it works great for me.
0
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22713649
1.Activate XDMCP on Ubuntu - SYSTEM >> Preferences >> Remote Desktop - Allow other users to view your desktop - Allow other users to control your desktop 
Install Cygwin/X onto the Windows XP machine. - Download and run setup.exe from http://www.cygwin.com/ - Install the standard packages on Cycwin/X along with :

- X11 > X-Startup-scripts - X11 > xorg-x11-base (this will set a lot of x11 dependencies to install also  you want to install these)

Run Cycgwin
In the Cgywim terminal enter the following command: $ XWin.exe :1.0 -unixkill -scrollbars -screen 0 1280 1024 -emulate3buttons -once -query (NAME / IP) & Put the name of the linux computer or its IP address
You should then see the Ubuntu login page. Voila.
Its possible I installed one or two other things on the Ubuntu system. I dont recall just now as I tried so many other ways to get this functionality working I now forget exactly what was done for what. If you try the above and it does not work, let me know and Ill figure out what else has to go onto the Ubuntu system. I know I installed freeNX although I am not sure if this was for the Cygwin connection or not. If you want to use SSH to Ubuntu via Cygwin there are some instructions here. I tried various SSH related ways of going about this. SSH from Windows directly and SSH via the Cygwin terminal. I kept getting the error that the port was not open. I tried port 177 (which XDCMP users) and 5901 and others, all to no avail. I am not sure how to make these ports available from Ubuntu. But the Xwin route works great.

PS: I cannot help you much on this and i took these instructions from a Forum, please give it a try
0
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 100 total points
ID: 22713659
You need NXServer, its free. Checkout the forum, your will find lots of info.
http://www.nomachine.com/download.php
0
 
LVL 4

Expert Comment

by:larsga
ID: 22713877
There is an xrdp package available that implements the RDP server side for Linux. (sudo apt-get install xrdp). I am unfortunately unfamiliar with how well it works.

Alternatives are VNC (which you mentioned that you already have running), Nomachine NX and XDMPC/X11 (which were mentioned in the two answers above).
0
 
LVL 1

Author Comment

by:Athanman
ID: 22715461
I could not get the NX client to work either way.  after installing it on the windows machine, I installed the server, client and then node on the Ubuntu machine.  I tried to get it going from the windows machine and I get a connection refused error.  With the following details:

NX> 203 NXSSH running with pid: 2264
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
ssh: connect to host XXX.XXX.XX.XX port 22: Connection refused

I then allowed incoming traffic on the default SSH port:

sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT

that didn't help anything so I shut down iptables but I keep getting the same error.  Does anyone have any ideas?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 3

Expert Comment

by:iPromoExpert
ID: 22716183
Are both machines on a local network or are you connecting via internet?
0
 
LVL 4

Assisted Solution

by:larsga
larsga earned 200 total points
ID: 22716286
"ssh: connect to host XXX.XXX.XX.XX port 22: Connection refused"

This is probably caused by one of two things:

1) There is something blocking ssh traffic. Perhaps a firewall on the client or the server, or some network device (NAT router perhaps?) between the machines.

2) sshd is not running on the Ubuntu machine. On the Ubuntu machine, does a logon prompt come up if you do 'ssh localhost'? If it doesn't, you need to install and/or start ssh.
0
 
LVL 1

Author Comment

by:Athanman
ID: 22716579
Both machines are definitely on the same network.  

The problem was definitely that ssh was not running on the machine.  For some reason I assumed that it was there by default.  

 

0
 
LVL 1

Author Closing Comment

by:Athanman
ID: 31506000
Setting up sshd on the Ubuntu machine nailed it.  
0
 
LVL 11

Expert Comment

by:jgiordano
ID: 22716750
vnc viewer for xp  free version and allow vnc connections in ubuntu
0
 
LVL 11

Expert Comment

by:jgiordano
ID: 22716927
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now