solaris 11 display resize

Discussions about using Solaris guests in VirtualBox.

solaris 11 display resize

Postby msmcknight » 7. Jan 2015, 11:16

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
msmcknight
 
Posts: 20
Joined: 4. Feb 2009, 21:07

Re: solaris 11 display resize

Postby dimndskier » 1. Feb 2015, 08:15

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.
dimndskier
 
Posts: 1
Joined: 1. Feb 2015, 07:37

Re: solaris 11 display resize

Postby msmcknight » 22. Mar 2015, 10:15

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
msmcknight
 
Posts: 20
Joined: 4. Feb 2009, 21:07

Re: solaris 11 display resize

Postby themagicm » 13. Apr 2015, 16:00

Thanks! Fixed my issue in 11.2 also.
themagicm
 
Posts: 1
Joined: 13. Apr 2015, 16:00


Return to Solaris Guests

Who is online

Users browsing this forum: No registered users and 2 guests