Missing icons for headless Xfce session via VNC
I've set up a new server running a fresh installation of Ubuntu Server 13.04. I've installed xubuntu-desktop
and tightvnc
. My ~/.vnc/xstartup
configuration file contains the following:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
# /etc/X11/Xsession
startxfce4 &
The VNC server appears to running fine, and I am able to connect to port 5901
successfully using the TightVNC Java client.
My concern is that a lot of icons in the GUI are broken/missing, as shown in this screenshot:
Am I missing some commands in my xstartup
file?
Ideally, I would like to be able to have the GUI be the default Xubuntu session (with the Xubuntu theme, etc) and not a bare-bones Xfce session.
Update:
For reference, opening the XFCE appearance settings, it shows that the Greybird
theme is selected and the icon set is elementary Xfce
.
Solution 1:
I had the exact same issue and finally managed to resolve it. The weird thing was it is simply the order of these two lines in the configuration file.
# Starting X session must come before export statement
/etc/X11/Xsession
# This line comes second
export XKL_XMODMAP_DISABLE=1
Solution 2:
you properly didn't load vncconfig script for vnc session
add
vncconfig -iconic &
to your xstartup for xubuntu-desktop, your xstartup should look like
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &