OpenSolaris dual monitor usage

In this blog I described already the switching to an external monitor/beamer
in OpenSolaris.

Today I created an xorg.conf by the help of Xorg --configure:
First I disabled the graphical login manager:

svcadm disable gdm:default

After this I logged in via SSH and started
Xorg --configure

This created an in /root.
In the Display-Section I set the Virtual Size
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 2048 2048

and started the dual head operation with
pfexec xrandr --output VGA --right-of LVDS

After this, the mouse can go out of screen on the Laptop and enters the external screen.
Also a running Windows can be moved to the other screen.