0

So we have SSH access to a Ubuntu server, and we need to setup some programs that require visual access, but we have no clue how to do this through SSH.

slava
  • 3,887

2 Answers2

1

If the Ubuntu server has X11 server running (you can check it with echo $DISPLAY, it should return non-empty string on success), you can forward X11 by using

ssh -X me@remote-host

After logging in to the remote host, windows for visual programs launched there should appear as if they were launched locally.

If X11 server is not installed in the remote machine, you can install it, i.e. you can refer to the thread here:

How to install X11/xorg?

powermelon
  • 19
  • 1
0

Consider using X2Go. It's basically the Teamviewer of the Linux world. It has clients that work on Windows as well. I use it to connect to all of my Linux servers. I strongly suggest configuring it to use the xfce4 desktop.

Melebius
  • 11,431
  • 9
  • 52
  • 78
Kreezxil
  • 118