Run Windows Apps 100% Seamlessly on Ubuntu!

Published on September 11, 2008 in Apps by Rami Taibah

I know that most of us Linux user usually cringe whenever we need to *god forbid* use a Microsoft WIndows machine. So we created applications like Wine in an effort minimize the contact with that horrid machine. With Wine a big percentage of Windows only apps could run on Linux, which more or less takes Windows out of the equation and lets us interact directly with our favorite App. Another solution of course would be installing Windows on a virtual machine.

But running an app on a virtual machine doesn’t eliminate Windows from the equation. Right? So I will show you now how to run Windows apps 100% seamlessly on Ubuntu. You know something like this:

Tools

  1. Windows installed on Vmware. ( I assume you have one or know how to create one)
  2. rdesktop, you can grab that from apt-get or directly download it from their site
  3. SeamlessRDP, download it an extract it in your Windows VM in c:/seamless

What to do:

In Windows VM

  1. In the Windows VM, get the local IP address of that machine using the Ipconfig command in DOS.
  2. Also give that machine a static IP (Not DHCP). This will help you later when invoking the launch command, you won’t need to change the IP everytime
  3. Create a new Windows admin user, let’s call it Linux for now (Password:123123)
  4. Finally, we want to make Windows launch without a Desktop. So launch your registry editor (regedit in run) and navigate to: HKEY_CURRENT_USER -> Software -> Microsoft -> Windows -> CurrentVersion -> Policies -> Explorer. Once there create a new DWORD entry and call it “NoDesktop” and then change it’s value to 1.

On Ubuntu Linux

Right click on your desktop and choose “create launcher”. In type, keep it as is (application), for name name it whatever you please (I named it Windows-VM), and in command type in “rdesktop -A -s ‘c:\seamless\seamlessrdpshell.exe c:\windows\explorer.exe’ 192.168.1.104 -u linux -p 123123?. Of course you will need to change the IP to your IP and the password (123123) to whatever password you chose. Thats it! Double click on the launcher and you will shortly get a the Windows taskbar on the bottom. Of course if you want to totally get rid of MS nuisance, just enable the autohide option ;)

About Rami Taibah

Rami Taibah the founder of The Linuxologist and a self proclaimed geek and Linux aficionado. This fall, he will be pursuing an MIMS degree at UC Berkeley, California. You can follow him on Twitter @rtaibah.

«

»

  • Apologies, I had possible venture interest and had to shut everything down for a few weeks while attorneys checked everything in my business plan out. It's all public now.
  • jcoughr
    I also tried to accessz your blogspot on running windows programs under Ubuntu but could not access it because I need to be invited. What info do you need to invite me?

    Thanks,

    Ubuntu Newbie
  • I have an updated, Simpler, yet more detailed walkthrough at Ubuntoogle.blogspot.com, no messing with rdesktop or anything
  • tazmanet
    Jeffrey,

    I tried the link you posted to your more detailed walkthrough solution to running windows apps seamlessly on Ubuntu which doesn't require rdesktop but couldn't read it because the blog is open to invited readers only.

    Would appreciate it if you could include me in your list of invites.

    Thanks,

    Taz
  • robert678
    Are you kiddding me. YOu assume we know tool #1? come on. If you going to write a post like this, write all the stops, dont skip stuff. What is Vmware?--great post this was...

    Tools

    1. Windows installed on Vmware. ( I assume you have one or know how to create one)
  • St4lk3R
    If you dont know what VMWare is.... look it up.... there is plenty on google
  • Jim Henderson
    after following these instructions specifically when I click my launcher I get no response, if I paste the launcher command into a terminal (with and without sudo) I get the instruction screen for rdesktop as if I typed something incorrect. I used the username and password as you specified and set the IP to match my domain.. .the virtual machine can browse the web thus connected etc.
    Ideas?
  • Jim,

    I am not sure if you got my Email regarding this. But I will look into it, I promise ;)
  • mike
    This is awsome. Ive wanted to get off windows so long but I have an windows APP for my job that REQUIRES MSDE,
    This is the perfect solution.
    Im using Virutalbox, doesnt get quite the same effect as your screenshot. Is your background windows or your ubuntu machine?
  • mike
    This is awsome. Ive wanted to get off windows so long but I have an windows APP for my job that REQUIRES MSDE,
    This is the perfect solution.
    Im using Virutalbox, doesnt get quite the same effect as your screenshot. Is your background windows or your ubuntu machine?
  • nope, not yet. Just downloaded VMWare Server. Just wanna see how that works out. If not, I'll use Ubuntu 8.04 (I now use 8.10). I'll keep you informed. If you find anything, I'll be much obliged...
  • Thats weird man, I never encountered this. Let me google it a bit and try to find the solution.

    Did you try it with another distro?
  • One more thing: I use VMWare Player instead of VMWare Server...but that shouldn't make a difference, right?
  • Sure thing, Rami: http://www.crap.net/aaargh/screenshot_for_rami.jpg

    Perhaps also useful. This is the command I used to start up rdesktop using terminal:

    rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe
    c:\windows\explorer.exe" 10.1.1.19:3389 -u admin -p mepasswordnot

    NOTE: I get the same when I just start one application. Thanx in advance for your help...
  • Well the sad truth is the the newer iPods (touch) don't work well with Linux. Apple have locked it down very well. There are some tools, but they never seem to work for me....

    You got an iPod touch right? I personally ditched my iPod Touch.
  • Hmm, I am not sure if I understand you. Do you mean you have two borders? You got a screen shot?
  • It works! Very nice. There is one thing: I still have an extra Ubuntu Window around my windows application. Any idea what this can be?
    I use:
    Ubuntu 8.10
    rdesktop 1.6.0.
    VMware Player 2.5 + Windows XP Pro SP2

    I really like this to work. I will hold a few seminars and this is a feature I would love to demonstrate. I am sure people will like to see this...
  • Thats weird man, I never encountered this. Let me google it a bit and try to find the solution.

    Did you try it with another distro?
  • nope, not yet. Just downloaded VMWare Server. Just wanna see how that works out. If not, I'll use Ubuntu 8.04 (I now use 8.10). I'll keep you informed. If you find anything, I'll be much obliged...
  • Hmm, I am not sure if I understand you. Do you mean you have two borders? You got a screen shot?
  • Sure thing, Rami: http://www.crap.net/aaargh/screenshot_for_rami.jpg

    Perhaps also useful. This is the command I used to start up rdesktop using terminal:

    rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe
    c:\windows\explorer.exe" 10.1.1.19:3389 -u admin -p mepasswordnot

    NOTE: I get the same when I just start one application. Thanx in advance for your help...
  • One more thing: I use VMWare Player instead of VMWare Server...but that shouldn't make a difference, right?
  • It works! Very nice. There is one thing: I still have an extra Ubuntu Window around my windows application. Any idea what this can be?
    I use:
    Ubuntu 8.10
    rdesktop 1.6.0.
    VMware Player 2.5 + Windows XP Pro SP2

    I really like this to work. I will hold a few seminars and this is a feature I would love to demonstrate. I am sure people will like to see this...
  • Aanand
    Rami:
    I read somewhere that the USB option doesn't work well on windows on VMware. I am really tired of trying to run non-iTunes software to sync my iPod [on ubuntu]. On most occassions, i can't get videos on the iPod. looks like i have to get hold of a windows install on my desktop again... :-(
  • Well the sad truth is the the newer iPods (touch) don't work well with Linux. Apple have locked it down very well. There are some tools, but they never seem to work for me....

    You got an iPod touch right? I personally ditched my iPod Touch.
blog comments powered by Disqus