solaris 11 display resize

Discussions about using Solaris guests in VirtualBox.
Post Reply
msmcknight
Posts: 20
Joined: 4. Feb 2009, 21:07

solaris 11 display resize

Post by msmcknight »

Hi everyone,

I have a solaris 11.1 guest with the latest guest additions installed and am unable to get the X display to resize. Resolution options are limited to 1024x768, 800x600, 640x480 and auto resizing doesnt work at all.

I've tried linking /etc/X11/xorg.conf to /opt/VirtualBoxAdditions/solaris_xorg.conf but that had no effect.

I don't know what else to look for.

Any help would be appreciated.

Thank you,
-Michael
dimndskier
Posts: 1
Joined: 1. Feb 2015, 07:37

Re: solaris 11 display resize

Post by dimndskier »

Sorry msmcknight, what is it you want to do?

Also, did you check in the /var/adm/messages file to check for errors?

Have a good day Michael.
msmcknight
Posts: 20
Joined: 4. Feb 2009, 21:07

Re: solaris 11 display resize

Post by msmcknight »

Hi everyone,

I finally figured this one out...

There was an xorg.xonf file in /etc/X11 that had the virtualbox references in it. I guess when the OS was installed, it detected it... or maybe when the guest additions was installed... anyway, it was there. But... gdm wasn't using it...

# svccfg -s svc:/application/x11/x11-server describe | grep config_file
options/config_file astring xorg.conf.vesa

# find / -name xorg.conf.vesa
/usr/lib/X11/xorg.conf.vesa

I tried setting the SMF config file to be /etc/X11/xorg.conf by using:
# svccfg -s svc:/application/x11/x11-server setprop options/config_file=/etc/X11/xorg.conf

But after I did that, X wouldn't start at all.

Then, I set it back to the way it was:
# svccfg -s svc:/application/x11/x11-server setprop options/config_file=xorg.conf.vesa

and copied /etc/X11/xorg.conf to /usr/lib/X11/xorg.conf.vesa and restarted gdm again. This time it worked. Once gdm was up and I had logged in, I was able to resize the virtual display and the solaris desktop would automatically resize with it.

I have no idea why setting the property to the /etc/X11 file wouldn't work. I wonder if SMF requires the config file to be in a specific location or something. Anyway, this worked for me so I thought I'd put it out here in case someone else was having the same problem.

-Michael
themagicm
Posts: 1
Joined: 13. Apr 2015, 16:00

Re: solaris 11 display resize

Post by themagicm »

Thanks! Fixed my issue in 11.2 also.
Post Reply