Open ~/.vnc/xstartup file
$ nano ~/.vnc/xstartup
Add the lines in the file.
#!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey # fix to make xfce work: startxfce4 &
Save and exit.
In case you’re using the book in the title, here’s the fix for the Chapter 3 MNIST dataset hang