Missing X11 libs (and GUI) on Solaris 11.2

X11 are not part of the default Solaris 11-setup, and if you want stuff like Oracle Database you may feel the urge of having X11 to perform the installation. I did a fresh install of 11.2 on a Dell PowerEdge R610, and wanted a GUI for easy testing of VirtualBox etc.

In order to install the necessary components you should have success following these steps

Issuing this command (either as root or sudo-style) will install the necessary libs

root@solaris:~# pkg install SUNWarc SUNWbtool SUNWhea SUNWlibms SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw pkg://solaris/SUNWxwplt truetype/fonts-core

This does not install any GDM, and most likely you won’t have any installed

root@solaris:~# svcs -xv gdm
svc:/application/graphical-login/gdm:default (?)
 State: -
Reason: Service is incomplete, defined only by profile /etc/svc/profile/generic.xml. To install this service, identify and install the package which provides the service's primary manifest. Use "pkg search 'svc\:/application/graphical-login/gdm\:default'" to identify th e package, then "pkg install <pkg>" to install the indicated package.
Impact: This service is not running.
root@solaris:~# pkg search 'svc\:/application/graphical-login/gdm\:default'
INDEX ACTION VALUE PACKAGE
org.opensolaris.smf.fmri set svc:/application/graphical-login/gdm:default pkg:/system/display-manager/gdm@2.30.7-0.175.2.0.0.38.0
root@solaris:~# pkg install gdm
 Packages to install: 41
 Services to change: 9
 Create boot environment: No
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 41/41 7025/7025 48.8/48.8 546k/s
PHASE ITEMS
Installing new actions 13669/13669
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 1/1

Most likely you’d also like a desktop environment as well, so you need to install more stuff

root@solaris:~# pkg install solaris-desktop
 Packages to install: 225
 Services to change: 11
 Create boot environment: No
Create backup boot environment: Yes
DOWNLOAD PKGS FILES XFER (MB) SPEED
desktop/compiz/ccsm 11/225 2713/30840 21.5/400.0 588k/s

When the installation has completed just do a reboot and if graphics card has been detected successfully AND is supported you will be greeted with a nice Solaris GUI

Advertisements

Legg igjen en kommentar

Fyll inn i feltene under, eller klikk på et ikon for å logge inn:

WordPress.com-logo

Du kommenterer med bruk av din WordPress.com konto. Logg ut / Endre )

Twitter picture

Du kommenterer med bruk av din Twitter konto. Logg ut / Endre )

Facebookbilde

Du kommenterer med bruk av din Facebook konto. Logg ut / Endre )

Google+ photo

Du kommenterer med bruk av din Google+ konto. Logg ut / Endre )

Kobler til %s