You are not logged in.
Hello,
I'm currently trying to configure TigerVNC on ArchLinux. I mainly followed the instructions given in the English Wiki here: https://wiki.archlinux.org/index.php/TigerVNC. I am using a KDE Plasma 5 Desktop. I installed the package tigervnc, started vncserver and set my password. Then I tried to connect to the VNC-Server via vncviewer IP-Adress:Port. The connection is successful, but I only get a black screen with a KDE-Style Cursor. I tried the given xstartup as well as the one below. I also installed tigervnc on my Laptop which is running ArchLinux and a Gnome desktop, used the given xstartup and got a similar issue. I read that it probably failed because I was already logged into a KDE session physically, so I created the system-wide Systemd service as suggested in the Wiki-Page and logged out. Same result. In the end my configuration looks like this:
~/.vnc/xstartup
#!/bin/sh
exec startkde
I have no options passed during vncserver startup via ~/.vnc/config
default.tigervnc also unchanged.
/etc/systemd/system/vncserver@:0.service
[Unit]
Description=Remote desktop service(VNC)
After=syslog.target network.target
[Service]
Type=simple
User=adrian
PAMName=login
PIDFile=/home/adrian/.vnc/%H:%i.pid
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/usr/bin/vncserver
ExecStop=/usr/bin/vncserver -kill %i
[Install]
WantedBy=multi-user.target
Thanks in advance.
Last edited by summerbrain (2017-01-21 15:06:58)
Offline