I'm a not so experienced user of Linux systems and here's the thing I'm trying to achieve: I want to run a graphical application on a remote Linux (Ubuntu in particular) server, with an ability to connect to this application from Windows/Android at any time. The application should be running even if there are no active connections to it. Google suggests that I need a VNC server and client for this, however, the guides I've found so far seem complicated for my knowledge, and I simply don't know where to start. Could you please suggest the steps I am to take? Do I need a VNC server, or can I just use the ssh's X forwarding? Do I need to set up an actual X server? I'll post any details or configs if required.
closed as off-topic by Rui F Ribeiro, jayhendren, Anthony Geoghegan, Romeo Ninov, cas Jan 23 '18 at 10:49
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Requests for learning materials (tutorials, how-tos etc.) are off topic. The only exception is questions about where to find official documentation (e.g. POSIX specifications). See the Help Center and our Community Meta for more information." – Rui F Ribeiro, jayhendren, Romeo Ninov
You should be aware that there are two types of VNC servers for Linux: one type usually integrates with your desktop environment and can be used to access your current GUI session remotely.
Another type sets up a completely separate seat: a virtual display+keyboard+mouse combination that can be accessed only through VNC, and will have a login session that is completely independent of the session on the Linux system's local display.
The first type may be the easiest to set up: you probably won't need to do more than:
- install the appropriate VNC server package
- start the VNC server control application or desktop widget
- configure the VNC access password for your session and enable VNC remote access (preferably in this order!)
- allow incoming VNC connections to pass the software firewall, if you got one configured
You may find old instructions for installing a VNC server "from scratch": this is way more complex and usually not required any more, as most distributions have pre-packaged VNC servers available.
The second type of VNC server may be a bit more complicated to set up, but allows the remote session to live on independently of any local logins/logouts.