Running Xfce desktop via vnc

Robert Moskowitz rgm at htt-consult.com
Thu Sep 13 00:55:18 CEST 2018


I kind of this working...

Fedora 29-Xcfe pre-beta.
install tigervnc-server

Follow my vncserver instructions at 
http://www.htt-consult.com/Centos7-armv7.html

Which is of course for Gnome, so more to do.

First there is an SELinux problem to fix.  See bug 1626255.

You have to start vncserver and have it fail, to get a wrong 
~/.vnc/xstartup file to edit.  replace last line with:

exec  /bin/sh /etc/xdg/xfce4/xinitrc
xrdb $HOME/.Xresources
startxfce4 &


This mostly works connecting to port 5901.  When it comes up, though I 
get a dialog error:

XFCE PolicyKit Agent

What is this and what do I do about it?

Then I think I need some GEOMETRY line in xstartup.  Any recommendations?

I am seeing log messages like

(xfce4-panel:2041): Gtk-WARNING **: 18:44:00.430: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.

(xfce4-panel:2041): Gtk-WARNING **: 18:44:03.381: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.

(xfce4-panel:2041): Gtk-WARNING **: 18:44:03.385: GtkBox 0x2048ac0 is 
drawn without a current allocation. This should not happen.

(xfce4-panel:2041): Gtk-WARNING **: 18:44:03.386: GtkImage 0x20e99e0 is 
drawn without a current allocation. This should not happen.

(xfce4-panel:2041): Gtk-WARNING **: 18:44:03.392: GtkBox 0x2048ac0 is 
drawn without a current allocation. This should not happen.

(xfce4-panel:2041): Gtk-WARNING **: 18:44:03.393: GtkImage 0x20e99e0 is 
drawn without a current allocation. This should not happen.

(xfce4-panel:2041): Gtk-WARNING **: 18:44:03.417: GtkBox 0x2048ac0 is 
drawn without a current allocation. This should not happen.

(xfce4-panel:2041): Gtk-WARNING **: 18:44:03.418: GtkImage 0x20e99e0 is 
drawn without a current allocation. This should not happen.

(xfce4-panel:2041): Gtk-WARNING **: 18:44:03.422: GtkBox 0x2048ac0 is 
drawn without a current allocation. This should not happen.

(xfce4-panel:2041): Gtk-WARNING **: 18:44:03.429: GtkImage 0x20e99e0 is 
drawn without a current allocation. This should not happen.

(xfce4-panel:2041): Gtk-WARNING **: 18:45:00.392: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.

(xfce4-panel:2041): Gtk-WARNING **: 18:46:00.387: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.

(xfce4-panel:2041): Gtk-WARNING **: 18:47:00.380: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.

(xfce4-panel:2041): Gtk-WARNING **: 18:48:00.342: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.

(xfce4-panel:2041): Gtk-WARNING **: 18:49:00.385: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.

(xfce4-panel:2041): Gtk-WARNING **: 18:50:00.441: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.

(xfce4-panel:2041): Gtk-WARNING **: 18:51:00.337: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.

(xfce4-panel:2041): Gtk-WARNING **: 18:52:00.381: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.

(xfce4-panel:2041): Gtk-WARNING **: 18:53:00.392: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.

(xfce4-panel:2041): Gtk-WARNING **: 18:54:00.385: 
gtk_widget_size_allocate(): attempt to underallocate PanelItembar's 
child PanelPluginExternalWrapper 0x2039238. Allocation is 74x30, but 
minimum required size is 74x32.




More information about the Xfce mailing list