Re: Solved? - Re: vncserver with Xfce?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bug 1626255 filed on SELinux problems.

On 09/06/2018 04:50 PM, Robert Moskowitz wrote:
I am into my system via vncclient.

As mentioned, I had to fix the SELinux policy.

In ~/.vnc/xstartup I have:

unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
# exec /etc/X11/xinit/xinitrc
exec  /bin/sh /etc/xdg/xfce4/xinitrc
xrdb $HOME/.Xresources
startxfce4 &

There are a number of error messages in the log, like:

(xfce4-panel:26670): Gtk-WARNING **: 16:44:00.497: gtk_widget_size_allocate(): attempt to underallocate PanelItembar's child PanelPluginExternalWrapper 0x1ce6238. Allocation is 98x30, but minimum required size is 98x32.

(xfce4-panel:26670): Gtk-WARNING **: 16:45:00.439: gtk_widget_size_allocate(): attempt to underallocate PanelItembar's child PanelPluginExternalWrapper 0x1ce6238. Allocation is 98x30, but minimum required size is 98x32.

(xfce4-panel:26670): Gtk-WARNING **: 16:46:00.439: gtk_widget_size_allocate(): attempt to underallocate PanelItembar's child PanelPluginExternalWrapper 0x1ce6238. Allocation is 98x30, but minimum required size is 98x32.

But vnc connected.  I did get a Xfce Policy Kit error on connecting.  Whatever that is...


On 09/06/2018 02:03 PM, Rick Stevens wrote:
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
_______________________________________________
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
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux