On 09/06/2018 03:56 PM, Gavin Flower wrote:
On 07/09/2018 01:24, Robert Moskowitz wrote:
> I am working with Fedora29 on arm, but this is really a long time
> issue that needs to be addressed.
>
> The ~/.vnc/xstartup file created by vncserver is for gnome. It does
> not work for other desktop environments.
>
> There is no documentation (that I have found) on what should be in
> xstartup for, say Xfce (that I use). Googling comes up with
> different recommendations for other repos and it is confusing what to
> use.
>
> Minimally, the xstartup should have commented lines for other
> desktops and to indicate that the default is for gnome.
>
> I can put up a bug report on this to ask for this 'enhancement'.
>
> And if anyone can give me the proper xstartup content for Xfce, I
> would appreciate it.
>
> thanks
[...]
Even if huge numbers of people had not fled GNOME, once GNOME 3 for
foisted on us, I would still think that Robert's complaint &
suggestion are valid.
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...
I will do additional testing per any recommendations here or the users
list. Otherwise, it works well enough for me that I go on to the next
task. But I wonder if it works well enough for general release?