On 09/05/2018 04:58 PM, Rick Stevens wrote: > On 09/05/2018 01:41 PM, ToddAndMargo wrote: >> On 09/05/2018 01:09 PM, Robert Moskowitz wrote: >>> Anyone have vncserver working on Fedora with Xfce? >>> >>> Granted I am trying it on F29-arm-beta, but I followed the processes I >>> have for Centos7-arm with Gnome. >>> >>> systemctl set-default multi-user.target >>> >>> dnf install tigervnc-server >>> >>> Went to my user id and ran vncpasswd > > Yup. Right. > >>> cp /lib/systemd/system/vncserver@.service >>> /etc/systemd/system/vncserver@:1.service > > As I understand it, you should have: > > $ sudo cp /lib/systemd/system/vncserver@.service > /etc/systemd/system/vncserver@.service > > (no ":1" in the target filename). The "%i" in the service script should > be replaced by the display number by systemctl > >>> Then replaced all <USER> with my userid > > Yes, that's correct. > >>> systemctl enable vncserver@:1 >>> firewall-cmd --add-port=5901/tcp --permanent >>> >>> Then rebooted. > > There's no need to reboot. Just a simple > > $ sudo systemctl daemon-reload > > followed by a > > $ sudo systemctl start vncserver@:1.service > > to start it (you already did the "enable" so it should start on > reboot). > > Note that I've never used tigervnc-server. I use Xorg and have a config > that shares the root display. It's not perfect and I don't use it that > often. I can supply details if you want. > > The free version of TeamViewer works fairly well, although mouse-based > cut and paste from local windows into the TeamViewer client are > problematic. I just tried setting up TigerVNC server on a machine and following the steps I outlined above and it worked just fine. I accessed it from another machine via: vncviewer 192.168.1.52:1 and Xfce started on the remote machine but had polkit issues. Everything works except for things that required elevated privileges. I suspect it's the Xfce startup that TigerVNC does that doesn't bring up the correct session manager for Xfce. Not sure which session manager it brought up, but the default lightdm session manager PAM config tries to bring in pam_kwallet[5].so and that does NOT work well with Xfce-polkit. I didn't bother trying to sort out which session manager it did bring up, but tigervnc-server works fine if you follow the instructions properly. A good resource is: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-tigervnc ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - grasshopotomus: A creature that can leap to tremendous heights... - - ...once. - ---------------------------------------------------------------------- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx