Install GUI on Linux from command line¶
Basic Installation¶
On remote virtual machine, at command line, run:
Configure VNC Server¶
Run this command to setup the server.The default port is 5901.
To change the server's password run:
Then, to configure which commands VNC will execute when it starts up, first stop the server:
Then, modify ~/.vnc/xstartup with nano and add the line:
which launches Xfce automatically. Finally, make the startup file executable:
Start VNC server:¶
More tools to install¶
Additional install¶
Setup VNC Viewer¶
Check that it runs:
Run from local machine: