$BROWSER -CreateProfile Screenshot
every time.
]]>Also, vncserver frequently tries to start a full desktop environment. Since I use WindowMaker over VNC for its simplicity, I notice that its buttons show up in the screenshot. This can be fixed by -suprise- not running a window manager. Unfortunately, the stock vncserver script doesn’t allow you to choose this. So to fix this you either need a hacked version of vncserver or you need to bypass it and call Xvnc directly.
I chose to create a version of vncserver that doesn’t start any other programs past the X server (just cut out the stuff having to do with xstartup), and it works great. It’ll probably make the whole process faster, because you don’t have to wait for any other programs to start (many seconds for KDE or Gnome).
]]>