0% found this document useful (0 votes)
13 views2 pages

Can I access Ubuntu from Windows remotely_

Uploaded by

s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Can I access Ubuntu from Windows remotely_

Uploaded by

s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Can I access Ubuntu from Windows remotely?

LaTeXFanLaTeXFan 1,56922 gold badges99 silver badges99 bronze badges

MobaXterm

http://mobaxterm.mobatek.net/

Freeware implementation the X server on windows.

You must first install the SSH server on Ubuntu e.g. by physically accessing a keyboard on the
machine:
sudo apt install openssh-server

Then, on Windows within MobaXterm, you go:

Sessions
New session
SSH

which gives you an SSH shell.

Now, if you start a program from that shell, e.g.:


sudo apt install x11-apps
xeyes

xeyes opens as a separate native Windows window.

It just worked out of the box between Windows 10 and Ubuntu 16.04 through a VPN.

It incurs an acceptable lag and resolution loss, even for complex applications like firefox and
eclipse, but it is clearly not just dumbly streaming your desktop as video, and actually
implementing X widgets.

One annoyance is that if you opened the window at work, and then you get home, you have to
start a new instance of the app, and you can't see the already opened window. This is made
further annoying by applications that work in single window mode, e.g. browsers: you will have to
search for how to force a new instance, and then you will have two instances running.

MobaXterm X server alternatives

I haven't tried those yet, but behavior should be similar to MoabXterm? Hopefully we can find a
good open source one then:

Cygwin/X https://x.cygwin.com/ demo video: https://youtu.be/ENkOEknSLv4?t=105


Xephyr: https://en.wikipedia.org/wiki/Xephyr MIT licensed
Xming: https://en.wikipedia.org/wiki/Xming another proprietary one

VNC

I've tried the following programs, but they were sending the desktop as video, which incurred
unacceptable screen resolution loss / mouse inaccuracy / network bandwidth if you are offsite.

Servers (run on Ubuntu):


Vino. Ships pre-installed, but there are compatibility issues with some available Windows
clients: Gnome 3.10 sharing desktop --- how to configure the security type for VNC?

Clients (run on Windows):

TigerVNC

PuTTY

The go-to solution if all you want is a text terminal via SSH.

PuTTY is installed on Windows. On Ubuntu, install the SSH server:


sudo apt install openssh-server

It is very convenient as it integrates both an xterm emulator and SSH / telnet and other protocols
in a single package.

Then add tmux attach to the mix, and you can use the exact same terminals on work and at home,
which is amazing. There are however some annoying glitches with environment variables,
particularly DISPLAY: https://unix.stackexchange.com/questions/75681/why-do-i-have-to-re-set-
env-vars-in-tmux-when-i-re-attach

You will also want to reduce the default huge font size: Increase font size of putty

How to copy paste in PuTTY: https://superuser.com/questions/180043/how-do-i-paste-the-


windows-clipboard-into-my-putty-session-using-only-the-keybo

Then, you can just open webpages you need directly on the native Windows browser. If all you
need to get your work done is Vim and and a browser, PuTTY is definitely the way to go.

You might also like