This is a tutorial on how to run SeamlessRDP between Windows XP (SP2) and Kubuntu Feisty Fawn 7.04. It has been revised a lot since the first version and is now much easier to follow. The commands you have to input are now available in plain text in the gallery above the image. The version on atspace is depreciated and no longer supported.

You will need Download.zip and geoShell.

Download.zip: | Mirror 1 | Mirror 2 | Mirror 3

MD5SUM: f103f647064cde944ad1fd33f63843c0

Geoshell: http://www.geoshell.com/

Now just follow the screenshots. If there is a problem with the guide at any point please post a comment with any corrections you made

:D

Installation and Setup of VirtualBox

001002003004005006007008009010011012013014

Configure the Virtual Machine Settings

015016017018019020021022023024025026027028029030031032033034035036037038039

Installation of Microsoft Windows XP (SP2)

040041042043044045046047048049050051052053054055056057058059

Create Users and allow remote desktop connections through the Firewall

060061062063064065066067068069070071072073074

Install VirtualBox Guest Additions

075076077078079080081082

Configure Users for Remote Desktop & Increase Performance

083084085086087088089090091092093094095096097098099100101102103104105106

Download Download.zip and the geoShell installer into the Shared folder and extract the zip file

107108109110111112113

Configure Windows XP for SeamlessRDP

114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178

Configure the network and port forwarding to make SeamlessRDP work

179180181182183184185186187188189190191192193194

Configuration of Linux Host for Easier Management of the Virtual Windows XP and Final Settings

195196197198199200201202203204205206207208209210


31 Responses to “Run Windows XP Applications Seamlessly on your Linux Desktop”

 | Bak3donH1gh  | July 16th, 2007 at 4:20 am

i get up to step(or stage whichever you wan’t to call it) 188, or the stage where i’m starting up remote desktop (i’m not running kubutu but ubuntu)

i get an error
upon trying to boot the vm i get this error Failed to start VM execution (VERR_PDM_CFG_MISSING_DRIVER_NAME).
Result Code:
0×80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

I tried using sudo /etc/init.d/vboxdrv setup multiple times and i also reinstalled vbox using synaptic package manager, which didn’t work.
sudo modprobe vboxdrv doesn’t not give me an output as it should.

help much appreciated

 | Bak3donH1gh  | July 17th, 2007 at 7:21 am

ok i fixed my problem and i finished the guide no other hitches. I had to totally uninstall and reinstall virtualbox but when i got back to 188 i had the same problem with not being able to connect. Turns out it was because i was using sudo in front of the command!

anyways is there anyway you could put on the end of the guide how to set it up to start on startup and as well whenever i minimize xp firefox it “blocks” out other windows and the startbar.

 | Ace2016  | July 17th, 2007 at 9:16 am

Great to see you got it working :)

Do you mean run on system startup or run when you login to gnome?

I do not recommend this because windows xp will use a lot of ram even when not in use, this will slow down the performance of your linux host considerably depending on the amount of ram you have, if in the future you forget about having xp (

 | herko  | July 17th, 2007 at 7:28 pm

I have also a problem with step 188. The message is : Connection refused. I tried the command also with /media/sd1/ etc. instead of c:\ etc. I do not understand the path anyhow because there is no c drive in linux, or what am I missing? Your help would be appreciated.

 | Ace2016  | July 18th, 2007 at 12:39 am

Is the virtual machine running when you ran those commands and had the system logged into and out for the fist time and have you also ran the commands in step 187?

rdesktop -rsound:remote -A -s “c:\seamlessrdp\seamlessrdpshell.exe C:\Shell\WinShellEx\WinShellEx.exe” -c “c:\seamlessrdp” localhost:6666 -u “X” -p password -N (188/210)

c:\seamlessrdp\seamlessrdpshell.exe C:\Shell\WinShellEx\WinShellEx.exe << location of the startup program for geoshell inside the guest os, not on the linux host, thats why c:\ is used

Alt+F2 and run VirtualBox, then start the virtual machine, once it has started watch it login and logoff, minimise the window, run the commands in step 187 and then in 188 there should be no problems with this step

 | Dimitris  | July 19th, 2007 at 8:42 pm

Shouldn’t localhost:6666 in that rdesktop string be replaced with :3389 ?

 | Dimitris  | July 19th, 2007 at 8:44 pm

Shouldn’t localhost:6666 in that rdesktop string be replaced with “IP of VirtualMachine”:3389 ?

*Sorry for double comment, a part got left out the first time.

 | Ace2016  | July 20th, 2007 at 11:05 am

At 187 port forwards between localhost:6666 and the vm’s port 3389:

VBoxManage setextradata “XP” “VBoxInternal/Devices/pcnet/0/LUN#0/Config/rd/GuestPort” 3389
VBoxManage setextradata “XP” “VBoxInternal/Devices/pcnet/0/LUN#0/Config/rd/HostPort” 6666

It works fine in VirtualBox 1.4.0

 | Ab  | July 29th, 2007 at 10:11 pm

Nice guid & awesome desktop integration!
Thank’s for the effort. 8) 8)

Just one hick, can’t get sounds working in seamlessRDP.
There’s no hardware for it found. :arrow: ???
Idea’s?

 | Ab  | July 29th, 2007 at 10:35 pm

Oke, seems to work with -rsound
(without “:remote”) :roll:

 | Ace2016  | July 30th, 2007 at 4:52 pm

Thanks :)

The -rsound:remote was to make VirtualBox output the sound directly to alsa, on the 31st slide sound was enabled and the output was set to alsa, by removing :remote the sound is now redirected through the virtual network connection, try changing the sound output settings of the virtual machine to select the correct one.

 | Nathan  | July 30th, 2007 at 6:45 pm

First, thank you for the time you spent on this. I’m at work, so I haven’t been able to try it out yet. Geoshell seems like an excellent idea to limit the memory overhead running full-blown explorer.exe creates. My question is have you tried this with WMWare Server? I like Virtualbox, but I cannot get it to recognise my USB GPS that I use for Streets and trips virtualized, so I fell back to VMWare. I feel comfortable with every step, except I’m not 100% about how to do the port forwarding / host-only networking with VMWare. Any insight or additions you could add to make it smoother for those of us choosing to use VMWare? I’ll be playing with it tonight and if I get everything going with VMWare I’ll post what I did. Thanks in advance.

 | Ab  | July 30th, 2007 at 7:08 pm

Doesn’t matter what I set in the VM; alsa, oss or null, it doesn’t work with the “:remote” in RDP
Does the output to alsa enhance sound performance?
Otherwise I don’t mind.

(ps: I use 64bit feisty)

 | Ace2016  | July 30th, 2007 at 8:02 pm

I don’t think vmware needs any ports to be forwarded, you will need to modify the scripts to run:

vmrun start “/__location__/VirtualMachineName.vmx”

to get the virtual machine to start, i have not used vmware before, i’ve mostly only used virtualbox so i can’t be much help, sorry

 | neefroel  | August 29th, 2007 at 4:46 am

Thanks a lot for this guide. As a small integration addition, one can right-click My Documents inside virtual Win and select target to be the Linux /home/user/ folder, which is symlinked in Shared folder. This way Win and Linux share the same home-folder.

Should this guide work for Win2000 also, for speed?

Suggestion: Search your favorite media-supplyer for eg: WinXP Stripped to the Bone Edition or Mini2k (Lite)

 | newreality  | September 3rd, 2007 at 11:35 pm

I followed these instructions exactly, tried again with an untouched version of XP sp2, followed exactly again, and I still get :
Autoselected keyboard map en-us
ERROR: connect: Connection refused
after I issue the rdesktop command. I’m on Ubuntu (ultimate 1.4). I would really love to get this working.

Any suggestions?
(there were some updates to VirtualBox in the last couple days, not sure if that affects anything)

 | Grumpy  | September 4th, 2007 at 6:33 am

Hello Ace,

Great layout of the tutorial.

I am stuck at step 116: I execute the command
use net x: \\vboxsrv\shared
but I get:
system error 53
network path not found

Actually as I use ubuntu I could not follow the intial part of the tutorial, but my username is in the vboxuser group.

I use static IP addresses 192.168.0.xxx but running ipconfig on the virtualbox, I noticed that it has been given 10.0.2.15 and the gateway is 10.0.2.2 (I can ping it but not access it as it requires a password)

any suggestion?

BTW: I could not find the slides to set up the network and usb in the virtual machine settings section.

Cheers

 | Grumpy  | September 4th, 2007 at 6:40 am

Hello again ace:

Ignore me!! I still have to learn how to read! :oops: :oops: :oops:
it is vboxsvr not vboxsrv :lol:

 | Grumpy  | September 7th, 2007 at 10:15 pm

Installed and working, however… how can I configure the keyboard to be en-gb instead of en-us? I have seen that in one of the screenshots you have done just that.

Also, I noticed that you did not mention how to configure the network and the USB page of the VirtualBox settings: are the defaults ok?

Cheers

 | Ace2016  | September 12th, 2007 at 6:18 pm

Check This slide out: http://ace2016.net/seamless2/49.html

That is where the language was changed from en-us to en-gb, it is at the very start of the install that i did it

I do not use usb so i did not configure it sorry, the network defaults are fine :)

 | Grumpy  | September 12th, 2007 at 10:42 pm

Thanks Ace. I suggest you change the caption for that slide that now reads:
“Just click next, who cares about the settings, its running in a VM and we’ll never even see the clock ever again (49/210)”

Tried to change the keyboard settings but they don’t stick. Not that I care too much though, I do all the writing in Ubuntu in these days. The USB issue instead bugs me a bit as I was really hoping I could use Itunes to synch my iPod straight from Linux.

 | Ace2016  | September 13th, 2007 at 9:25 pm

Changes have been made, thanks

Kind of assumed most people knew in detail about the windows xp install procedure so i didn’t go into detail

 | peppeq  | October 23rd, 2007 at 4:52 pm

Hi ace,

I have problem on step 135 after I try to log in it logs me off and can’t log in anymore, even after restart.

 | Ace2016  | October 23rd, 2007 at 8:34 pm

That is what it should do, thats why 3 users X,Y and Z were craeted, Y autologs in on xp startup and logs out again (to get around the fact that xp will not allow remote rdp before a user has logged in and out), X installs geoshell(less resource usage) and X is what we remote desktop to, and z is just a backup incase we need to fix anything, thats how its setup

 | paul  | October 24th, 2007 at 8:39 pm

for some reason when i launch the rdesktop it loads in full screen. i cant for the life of me get the simplest program to load in seamless.

yes i did log off and i repeated the command but its not seamless’ing.

 | Ace2016  | October 24th, 2007 at 10:41 pm

hm… strange, i followed these instructions myself yesterday and i had no problems. You might try just running vritualbox in non seamless mode and using its built in mode for rdesktop, pressing right control and L (if you have left right control as your modifier key) its fine as long as there is a window or the start menu showing, but when its an empty desktop the wallpaper shows, but it doesn’t put the windows apps in your taskbar and keeps everything as one task in the taskbar and in alt+tab and the compiz/kde switchers, so i guess if you want all the windows stuff kept as one thats good

 | paul  | October 26th, 2007 at 4:55 am

looks like it was a simple error.
in order for this to work i have to have “Fast user switching” and the other option under control panel - users - change the way users log on - enabled.
also, no one can be logged on to the machine.
i was actually doing this on my real desktop. it was horribly slow for some reason but then again i was connecting using my access point wirelessly.

thanks, ace. you da man!

 | slackmaster  | October 31st, 2007 at 8:10 pm

So, I had my seamless XP desktop working nicely using the original ubuntuforum howto, but with Explorer.exe as my shell, and decided to take it a step further with this howto and use an alternate shell. Now, I can’t get either setup to load seamlessly. Please help! Stupidly I forgot to snapshot before starting this endevour, so I can’t just roll back.

Firstly, as I feel this is really distribution independent, I won’t bother with that formality.

Secondly, I have everything loaded in the correct order. When I start my virtual machine, my stub user logs-on then off, at which point I am able to connect using the rdesktop string.

However, when I connect to “localhost” (NAT or Host) I am simply taken to the console. It appears that VirtualBox is taking control of the local 3389 port, and forwarding the console there (port forwarding didn’t work for me).

When I connect using the virtual machine’s IP address (I went back to Host IP, so its got an IP on the lan), rdesktop functions correctly in terms of logging in automatically, yet instead of being presented with the full rdesktop screen and later having the seamless start menu, I am left with the full rdesktop screen. Log-off/log-on does not remedy a thing, as XP is already listening for RDP. I appears that something is blocking seamlessrdpshell.exe from executing successfully, although after logon WinShellEx.exe is running.

Any ideas? This is driving me nuts, and has already frittered away most of my day.

 | slackmaster  | October 31st, 2007 at 8:15 pm

unbelievable… after that long-winded post, I have the stupid thing working. Thanks Paul for posting your experience prior to mine, it has solved my problem as well.

FAST USER SWITCHING must be turned on.

AAAAAAGH!!!

 | Lothas  | November 23rd, 2007 at 2:59 pm

Hey, pretty nice work here!
I got to the step where I did “net x: …”. It worked properly but now I can’t open My Computer. If I let it run for a while I can see the networked drive but I can’t open it or anything else inside My Computer’s window.

Also, the copy+paste function which was working is now messed up. I might get to a solution later in the walkthrough. I’m around step 108 now.

 | rohit  | May 24th, 2008 at 10:34 am

sir i instold kde tool on my system
and run the frfist step but in resent menu not dysplay
your screan shot path plz help me

Post A Comment

Latest News

Monthly archives