Hello, I am trying to set up a VNC server on my new Manjaro machine and am failing miserably. I was able to do this on a Ubuntu machine and so am not totally clueless (although close to it).
Question 1
Is there a beginner-friendly tutorial for how to do this? Such a tutorial would skip no step and not use sophisticated devices such as using cat
in terminal to create a file. If I am given such help, I may not have to ask detailed questions here.
Question 2
This question assumes that a tutorial for a beginner is not available.
In that case, my first difficulty is with having to use systemd to start the VNC server instead of directly using the vncserver
command (as I did in Ubuntu).
I assume the above based on the following bit from this source: TigerVNC - ArchWiki
Note: Direct calls to
/usr/bin/vncserver
are not supported as they will not establish a proper session scope. The systemd service is the only supported method of using TigerVNC. See: Issue #1096.
Here comes question 2 then. (It will tell just how clueless I am.)
Question 2: Do I have to make a
vncserver.service
file to put in/etc/systemd/system
?
I ask the question because the following tutorials make no mention of making a systemd service file for VNC. They only speak of starting or enabling one as if one should already be there for me.
But these other tutorials go in great detail about making a service file and what to put in it.
- Install VNC on Manjaro for Remote Access | credibleDEV
- Arch linux VNC server setup Ā· GitHub
- systemd service file for running a vncserver (e.g. tightvncserver) Ā· GitHub
I can tell you that I never made a systemd service file before. The only other experience I have had is starting and enabling sshd
(which I never had to make).
If I am told that I have to make a service file for VNC, that will open up a whole wild array of issues because the samples I find use a language I donāt understand and are wildly different one from another.
But I would like to know for sure that I have to go there.
Apologies for the extreme beginner level nature of this post. Thanks.