gtk-server does this already...