Tuesday, November 20, 2007

OpenSolaris Nevada Build 76 and Xming/XDMCP

I upgraded my box from build 59 in order to check out the new Xen support.

With the new "secure by default" implementations, I had to re-enable XDMCP by clearing the cde-login arguments, like this:

# svccfg -s cde-login setprop dtlogin/args = \"\"
# svcadm refresh cde-login
# svcadm restart cde-login


This allows XDMCP requests to come in (the default args set the udp port to 0).

However, Xming would get a login cursor and blackscreen, then would die.

Turns out, whatever has changed in dtlogin needs some fonts I dont have, so I had to start up a font server:

# svcadm enable xfs

With this in place, I can once again X into my OpenSolaris box from my Vista desktop!

Oh and another nice thing I did was to enable screensave/poweroff for the console X server by adding a line to /usr/dt/config/Xsetup (around line 81):

$XDIR/xset dpms 60 120 180

My OpenSolaris box is connected to my second LCD panel on the EVGA connection, and my Vista box uses the DVI connectors. When the Vista box tried to power off the second LCD, the OpenSolaris box would be sitting there, a bit annoying, so the dpms change to the X server did the trick. The second panel now powers off correctly.