Thursday 14 May 2015

Installing Desktop in Solaris 11.2

For SPARC the default iso it is a text installer. Does not include the solaris-desktop package.

#pkg  list -af | grep solaris-desktop
group/system/solaris-desktop                      0.5.11-0.175.2.0.0.42.0    ---

It does include the large server package that is good for a server only unit.

#pkg  list -af | grep solaris-large
group/system/solaris-large-server                 0.5.11-0.175.2.0.0.42.0    i--

Check our Boot Environments BE

# beadm list
BE               Active Mountpoint Space  Policy Created
--               ------ ---------- -----  ------ -------
solaris          NR     /          6.15G  static 2015-05-13 16:54

To install the desktop first we got to create a BE and ad the package.

# beadm create desktop
# beadm mount desktop /mnt
# pkg -R /mnt install group/system/solaris-desktop
# bootadm update-archive -R /mnt
# beadm umount desktop
# beadm activate desktop

Check that our new BE will be active at reboot.

# beadm list
BE               Active Mountpoint Space Policy Created
--               ------ ---------- ----- ------ -------
desktop          R      -          7.46G static 2015-05-14 09:15
solaris          N      /          4.43M static 2015-05-13 15:48

# reboot

# beadm list
BE               Active Mountpoint Space  Policy Created
--               ------ ---------- -----  ------ -------
desktop          NR     /          7.68G  static 2015-05-14 09:15

solaris          -      -          10.62M static 2015-05-13 15:48


If you need remote graphical login.

/etc/gdm/custom.conf file. This file will only be here after a reboot, using BE desktop.

[xdmcp]
Enable=true

Enable xvnc-inetd

# inetadm -e xvnc-inetd

restart the graphical login service (gdm) 

# svcadm restart svc:/application/graphical-login/gdm:default





No comments:

Post a Comment