Hi there, I have several KDE Plasma machines I run headless. Can anyone tell me what they use to access them via remote desktop? Things I have considered so far:
Rustdesk: I installed it, but it seems to be geared towards both sides being manned since you need to enter the code from the other side.
Nomachine: I installed it but then noticed that it is backlevel and the patches for the latest versions don’t work on KDE Plasma.
Teamviewer: Have not installed this yet, but I don’t really want to use this option because it is proprietary.
Am I wrong about any of these? Any other suggestions?
I also have several KDE machines with VNC installed and connect to them using Remmina without problem. Also use Reminna to connect via RDP to some Windows machines and SSH to machines without Desktop Environment.
In RedHat/Almalinux based computers, tigervnc. In Raspberries, RealVNC included with Raspberry Pi OS. Remmina in client computers with TigerVNC viewer as a second option.
This page doesn’t help much, because a lot of these no longer work and often you don’t find that out until an hour of trying to configure it.
Along that topic, I can’t get TigerVNC to work. I followed the instructions here:
And now I got “gpg-agent already started, not starting a new one” and a failure once and now I just get “Install VNC on Manjaro for Remote Access | credibleDEV” when starting it on the command line for any display I try. Nor will it start via systemd service file. And don’t get me started on systemd.
I gave the error messages. It won’t start, firewall isn’t the problem.
I tried the steps in the Arch Wiki but they don’t match what I am seeing. There is no environment variable XDG_CONFIG_HOME and I ran ‘find / -name “config” | grep tigervnc’ and found nothing.
Also, I’m not doing this as an external connection or firewall so I shouldn’t have to use it through ssh.
Update: I’m assuming XDG_CONFIG_HOME corresponds to ~/.config, so I put the config file as indicated into ~/.config/tigervnc but it still won’t start. I did systemctl start vncserver@:1.service and here is the status:
○ vncserver@:1.service - Remote desktop service (VNC)
Loaded: loaded (/usr/lib/systemd/system/vncserver@.service; disabled; preset: disabled)
Active: inactive (dead)
Feb 15 17:06:48 test02 systemd[1]: Starting Remote desktop service (VNC)...
Feb 15 17:06:48 test02 systemd[1]: Started Remote desktop service (VNC).
Feb 15 17:06:49 test02 systemd[1]: vncserver@:1.service: Deactivated successfully.
Feb 15 17:07:16 test02 systemd[1]: Starting Remote desktop service (VNC)...
Feb 15 17:07:16 test02 systemd[1]: Started Remote desktop service (VNC).
Feb 15 17:07:16 test02 systemd[1]: vncserver@:1.service: Deactivated successfully.
Create a password using vncpasswd which will store the hashed password in $XDG_CONFIG_HOME/tigervnc/passwd. Ensure the file’s permission is set to 0600. If creating vncserver access for another user, you must be logged in as that user before running vncpasswd.
I think I figured it out. I was missing step 3 on the page. I thought that was for x0vncserver. It looks to me like step 4 for x0vncserver is optional? It doesn’t really specify.
Update: It is working, I didn’t know that you need to enter the user but not specify port 5901 in the server field. Now I get the login screen but the window disappears after I enter my password.
If you are struggling/have a problem - share the file’s content.
… anything that you did - so that people who have a working thing can compare and see where the problem might be …
I can’t - I don’t have a second machine to try to connect to …
Ok first of all, I forgot that my remote system is XFCE, not KDE.
vncpasswd has been run and ~/.config/tigervnc/passwd is 600.
I mapped :2 to my user in /etc/tigervnc/vncserver.users
# TigerVNC User assignment
#
# This file assigns users to specific VNC display numbers.
# The syntax is <display>=<username>. E.g.:
#
# :2=andrew
# :3=lisa
:2=joe