VNC is a system that allows you to remotely control another computer. It allows you to relay your mouse and keyboard inputs as if you were physically sitting in front of the system, when in fact you could be on the other side of the world.
No it does not. VNC is functional without any window manager, but will not handle windows for you, so in the end there will be a nice spotted screen with an âXâ as mouse cursor, but nothing to click. You can set simple (like xterm) or full-featured (like Gnome) window manager, but you have to set somethingâŚ
Excellent article, butâŚ
I had many troubles installing XFCE4 and XFCE4-goodies⌠At last I discovered that name has to be in lower case letters⌠please consider to correct the article because many people, like me, are used to copy&paste into the terminal.
Thanks a lot
Wow. Thank you for pointing this out. A Linux âhelpâ site that includes errors in the code? NO THANKS! Iâm trying to solve problems, not waste my time.
NB. Even knowing about the capitalization errors (which is a spelling error in Linux, inexcusable in âhelpâ site) these instructions just plain do not work at all. âsudo service vncserver@1 startâ returns the error âJob for vncserver@1.service failed because the control process exited with error code. See âsystemctl status vncserver@1.serviceâ and âjournalctl -xeâ for details.â Which, of course, being a linux site, is mentioned nowhere in the article, and googling for answers doesnât help at all, and this entire page was nothing but a 100% complete waste of my time.
Thank you for a good info. But doesnât anybody know how to start VNC server on 20.04 with default shell? There is no DISPLAY env var so nowhere to connect VNC server
Hi,
it doesnât work since no such thing like :0 in Xorg cmdline. I think that it is because of Wayland. Witth XFCE of course DISPLAY and maybe XAUTHORITY will help but not with Ubuntu desktop.
Thank you for this article. The general VNC setup is good. The section on tunneling through SSH is helpful as well. Appreciate the notes on ss command explaining which port a VNC shows up on [had issues with this in the past]. Good to have this in the forefront of an article.
I was NOT able to get this working properly with xfce. I currently run xubuntu [which comes with xfce]. It would load, but window decorations were not available under VNC. After digging- looks like the xfce developers are aware⌠in the mean time, I used LXDE which appears to be another light weight window manager.
âXFCE4â and âXFCE4-goodiesâ should move to lowercase as previously mentioned⌠but for most Linux users, this should be easy to catch and resolve.
Most people arriving here want their normal GUI (systemctl isolate graphical). It should be possible. They should also be able to connect to a running session even if the server (workstation) is not headless - ala RDP. It also does not follow that the client will be running on Ubuntu (or Linux) either, maybe split the article and remove the client configuration. Maybe even split single and multi-logon usage. A 10yo with a $5 Pi can get this working (of course that is a lightweight WM). There are multiple use-cases from âTerminal Serverâ to âviewing local VM in fullscreenâ. This leans toward server installation (cloud?).