Can I run my full Ubuntu Unity desktop on my Windows machine using X?
This post may be a bit dated, but the principal applies.
Intro to X Forwarding
Unix machines have been able to run software on a remote machine and display the GUI locally for almost two decades. Linux and Mac OS X support X Forwarding with no extra software. Any terminal on Linux should do X Forwarding, Mac users need to run "Applications > Utilities > XTerm". In a command line terminal run "ssh -Y [email protected] matlab" and you'll be running matlab on "compute.example.edu" but seeing it on your desktop. Windows users need two pieces of software: an secure shell program (ssh) to establish the remote connection and an X Server to handle the local display. Prerequisites
- Add Unix hostname
- Switch Protocol to SSH
- Type name of session in saved sessions
- Click 'Save'
- Expand the 'SSH' tab from the 'Category' list
- Choose 'X11' from 'SSH' list
- Check 'Enable X11 Forwarding'
- Choose 'Session' from 'Category' list
- Click 'Save'
Starting the X Server on Windows Configuring Xming
Just run "All Programs > Xming Xming" and it should work if you've got PuTTY configured.
- Start Xming
- Start Putty
- Double click on the saved session you want
- Enter username and password as requested
- You should now be able to run X applications from the host on your local desktop
Related videos on Youtube
Thomas Browne 3 months
I am currently running Ubuntu 13 Desktop edition on a second PC on my desk, which has one small monitor. For work reasons my primary machine must be Windows(7), and it has multiple monitors, of varying resolutions.
I wish to have my Ubuntu Desktop fill up all those Windows monitors at their native resolutions so that I can basically make Ubuntu my primary desktop, without physically plugging in the keyboard and monitors into the Ubuntu box. Both machines are connected within a fire walled internal 1Gb network, and both have fixed IP addresses.
Nomachine NX is working pretty well up to now, but seems limited to aping the exact resolution of the (small) monitor I have on the Ubuntu box. VNC the same.
I do not wish to use a VM solution such as VMWare (though this does work), as I need more than one computer for reasons of data analysis throughput.
Is this possible? Is it viable? And how exactly do I go about it?
I have already downloaded and run MobaXterm, and running terminals over SSH seems to work fine. I have also run Firefox and other Ubuntu-machine applications in windows on my Windows machine, by calling them from the SSH terminal command line. But no luck so far getting the full Unity monty across my Windows monitors.
Thomas Browne almost 9 yearsYep - been doing this up to now, successfully, but I have a powerful 32gig XEON server sitting right next to my Windows desktop and it would be shame to let it go to waste! So I am looking for a generic solution that scales, potentially to more machines... running Ubuntu on remote machines and seeing a big desktop on Windows.
landroni almost 9 yearsWell, make sure to include this in the OP to make it clearer. This said, you're probably looking for a reliable and flexible
VNCsolution. What VNC solutions did you try, and why didn't they work? (You have a load of VNC clients to play with: alternativeto.net/tag/vnc .) Something like
TeamViewercould do the job, too.
Thomas Browne almost 9 yearsused RealVNC on Windows, and simply allowed VNC connections in the settings on Ubuntu. Too slow even with a 1440x900 resolution, let alone 4 x fullHD. NoMachine much faster but still doesn't solve the problem because, like VNC, it does not scale to a different, larger, desktop space on the client, as far as I know (and I have tried, but would be happy to be proven wrong with NoMachine (VNC will almost certainly be too slow)).
Thomas Browne almost 9 yearsTeamViewer: cannot see how that solves the issue either as this simply gives me a variation of VNC/NoMachine. Same resolution as server, no scaling to bigger desktop / more monitors.