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.
Asked
Active
Viewed 549 times
0
-
First, the Ubuntu server does not have a GUI be default. If Ubuntu desktop is installed, see How to setup x11vnc to access with graphical login screen for Ubuntu 18.04 and above also see Ubuntu 18.04 LTS x11vnc no longer works x11vnc can be used through a ssh tunnel. – user68186 Feb 20 '19 at 14:49
2 Answers
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:

powermelon
- 19
- 1