# systemctl -l -no-pager status - Remote desktop service (VNC) See "systemctl status and "journalctl -xe" for details. Job for failed because the service did not take the steps required by its unit configuration. I actually power cycle so that vncserver is dead and everything is clean and check just to make sure then On a recommendation from the Fedora users list I add PAMName to service section:ĮxecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'ĮxecStart=/usr/bin/vncserver -autokill %i Systemctl start it starts! I vnc to :5901 and I get the policykit error. Semodule_package -o systemd-tigervnc.pp -m systemd-tigervnc.mod Now I have to fix SELinux for the pid file in the user account:Īllow init_t user_home_t:file Ĭheckmodule -M -m -o systemd-tigervnc.mod systemd-tigervnc.te Xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & I now again 'su - rgm' and edit ~/.vnc/xstartup to: I really think that at this point something should create ~/.vnc/xstartup as we will see shortly.įirewall-cmd -add-port=5901/tcp -permanent I 'su - rgm' (all this from the serial console) and run vncpasswd. Separate complaint about the poor performance of F29 Xfce over F28 Xfce.Ĭp this to change to my id, rgm. I did a total new install, starting with: The workaround is to run vncserver via SSH. Polkit assists apps that can elevate permissions. This is documented in Comment 39 of bug 484945
![tigervnc xfce tigervnc xfce](http://blog-10039692.file.myqcloud.com/1482753742719_2524_1482753745405.png)
![tigervnc xfce tigervnc xfce](https://forum.manjaro.org/uploads/short-url/djs1SSkCo6APp3jWNVJV3qu1Qjf.png)
![tigervnc xfce tigervnc xfce](https://1.bp.blogspot.com/-hx_8QGe9Ntw/XZiYVaRoyqI/AAAAAAAAANI/TQKu3-5crMQbqjYhPrBHG9gJysveLHFGQCLcBGAsYHQ/s1600/Tigervnc.jpg)
follow 'standard' setup instructions for systemd usage like I have documented at Others report this with F29-beta-x86_64 and F28 and KDE DE.Ģ. Version-Release number of selected component (if applicable): If vncserver is run from an SSH the problem does not occur Running vncserver via systemd results in polkit problems such that polkit does not work for the connected user.