[kde-solaris] KDE 3.1.1 Installation Instructions on Solaris 8

Stefan Teleman steleman at nyc.rr.com
Sun May 4 15:44:08 CEST 2003


Here's a little cheat sheet with installation instructions for KDE on 
Solaris 8.



		KDE 3.1.1 Installation Instructions on Solaris 8

This is a simple write-up of the necessary steps required to get KDE 
3.1.1 running on Solaris 8.

I am assuming that the following packages have already been installed:

After these packages have been installed, delete all the leftover 
files and directories from any previous KDE installation(s):


0. Locale

The system locale should be defined system-wide. This is usually done
by setting the NSLPATH and I18NPATH environment variables in the 
system shell initialization files. A typical locale setup on Solaris 
may look like this:

export NSLPATH="/usr/lib/locale:/usr/openwin/lib/locale"
export I18NPATH="/usr/lib/locale:/usr/openwin/lib/locale"
export LANG="en_US"
export LC_CTYPE="en_US"
export LC_NUMERIC="en_US"
export LC_TIME="en_US"
export LC_COLLATE="en_US"
export LC_MONETARY="en_US"
export LC_MESSAGES="en_US"
export LC_ALL="en_US"

1. Arts
- Make sure artsd and artswrapper are installed setuid root (they 
should be).
- The file ${HOME}/.mcoprc should contain only the following line:


- Make sure that the file ${HOME}/.kde/share/config/kcmartsrc looks 
similar to this:
Arguments=\s-F 8 -S 2048 -a sun -d -n -b 16 -m artsmessage -l 3 -f

The most important parameters are 'Arguments' and 'AudioIO' (arts 
needs to be told to use the Sun audio device, otherwise, you will get 
scratches and static and it will sound like it does not work at all). 
You can fiddle around with the other parameters, and set them to your 
favorite values.

2. Services

The DCOP interface in KDE calls getservbyname(3SOCKET). This requires 
adding an entry in /etc/services, to make the 'dcop' service known to 
the system -- and make getservbyname() work. As such, you need to add 
the following line in /etc/services:

dcop	9700/tcp		# KDE dcopserver service

Caution: the _third_ field of this entry is left intentionally blank 
(i.e., the comment entry '# KDE dcopserver service' is the _fourth_ 
field). I use port 9700 for my DCOP services, but this is not a 

3. PAM

KDE uses PAM for authentication. As such, the file /etc/pam.conf needs 
to be updated to permission KDE to run. This is the relevant portion 
of my own /etc/pam.conf file, with the directives pertaining to KDE:

----- SNIP -----

kde	auth required 	/usr/lib/security/$ISA/pam_unix.so.1 
kde	auth requisite	/usr/lib/security/$ISA/pam_unix.so.1 
kde	auth sufficient	/usr/lib/security/$ISA/pam_unix.so.1 
kde	auth optional	/usr/lib/security/$ISA/pam_unix.so.1 
kde	account requisite	/usr/lib/security/$ISA/pam_roles.so.1 
kde	account optional	/usr/lib/security/$ISA/pam_roles.so.1 
kde	account sufficient	/usr/lib/security/$ISA/pam_roles.so.1 
kde	account required	/usr/lib/security/$ISA/pam_unix.so.1 
kde	account requisite	/usr/lib/security/$ISA/pam_unix.so.1 
kde	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kde	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kde	session	optional	/usr/lib/security/$ISA/pam_unix.so.1
knotify	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
knotify	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
knotify	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
knotify	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
dcopserver	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
dcopserver	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
dcopserver	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
dcopserver	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kwin	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kwin	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kwin	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kwin	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kwin4	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kwin4	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kwin4	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kwin4	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kinetd	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kinetd	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kinetd	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kinetd	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
konqueror	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
konqueror	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
konqueror	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
konqueror	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kioslave	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kioslave	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kioslave	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kioslave	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kdesktop	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kdesktop	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kdesktop	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kdesktop	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
ksmserver	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
ksmserver	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
ksmserver	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
ksmserver	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kmail	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kmail	auth	optional 	/usr/lib/security/$ISA/pam_unix.so.1
kmail	account sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kmail	account optional	/usr/lib/security/$ISA/pam_unix.so.1
kioslave	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kioslave	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kioslave	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kioslave	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kfmclient	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kfmclient	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kfmclient	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kfmclient	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kssld	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kssld	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kssld	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kssld	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kio_file	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kio_file	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kio_file	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kio_file	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kio_http	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kio_http	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kio_http	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kio_http	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kio_help	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kio_help	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kio_help	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kio_help	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
kio		auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kio		auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
kio		account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
kio		account	optional	/usr/lib/security/$ISA/pam_unix.so.1
xscreensaver	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
xscreensaver	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
xscreensaver	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
xscreensaver	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
session	auth	sufficient	/usr/lib/security/$ISA/pam_pwdb.so
session	auth	optional	/usr/lib/security/$ISA/pam_pwdb.so
session	account	sufficient	/usr/lib/security/$ISA/pam_pwdb.so
session	account	optional	/usr/lib/security/$ISA/pam_pwdb.so
xmms	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
xmms	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
xmms	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
xmms	account	optional	/usr/lib/security/$ISA/pam_unix.so.1
wmxmms	auth	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
wmxmms	auth	optional	/usr/lib/security/$ISA/pam_unix.so.1
wmxmms	account	sufficient	/usr/lib/security/$ISA/pam_unix.so.1
wmxmms	account	optional	/usr/lib/security/$ISA/pam_unix.so.1

----- SNAP -----

Stefan Teleman          'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com                          -Monty Python

More information about the kde-solaris mailing list