When you get the following errors, you've run out of X sockets.
Xlib: connection to :0.0 refused by server
Xlib: maximum number of clients reached
By default, the X server has a limit of just 128. In order to
increase this limit, you need to run at least Solaris 8 or an
earlier release with the Xserver patch applies that fixes bug:
4185418 the X server should support more connections
Then change the Xservers configuration file and add the "-clients 1024"
option to the X commandline.