cde-2.5.3.tar.gz, SHA512 a01b413b... as in pkgsrc distinfo; recipe from pkgsrc 3c1118e94432. Added with -f: CDE's .gitignore hides 612 files of the archive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
83 lines
2.5 KiB
Plaintext
83 lines
2.5 KiB
Plaintext
+----------------------------------------------------------------------
|
|
| First steps with CDE on pkgsrc
|
|
+----------------------------------------------------------------------
|
|
|
|
To add the required authenticaion policies to your PAM configuration,
|
|
import the policy files provided with the package:
|
|
|
|
$ for i in cde dtlogin dtsession; do
|
|
> cp @PREFIX@/share/examples/pam.d/$i /etc/pam.d
|
|
> done
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
To provide support for CDE font aliases, the required font paths must
|
|
appended to the standard X server configuration.
|
|
|
|
This can be done by creating a `99-fonts.conf' file with the following
|
|
content:
|
|
|
|
Section "Files"
|
|
FontPath "@PREFIX@/share/fonts/100dpi/"
|
|
FontPath "@PREFIX@/share/fonts/75dpi/"
|
|
FontPath "@PREFIX@/dt/share/cde/fontaliases"
|
|
EndSection
|
|
|
|
Place the file inside either:
|
|
|
|
- /etc/X11/xorg.conf.d # native X11
|
|
- @PREFIX@/etc/X11/xorg.conf.d # modular X11
|
|
|
|
NB: Create the xorg.conf.d target directory if it doesn't exist already.
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
For ttsession to work, your hostname needs to be aliased to the
|
|
localhost and the loopback address inside /etc/hosts.
|
|
|
|
NOTE: in the example below, replace "hostname" with your actual
|
|
host's name, as returned by hostname(1). Replace the wildcard in
|
|
"localhost.*" with your domain name if you have any, or leave it blank.
|
|
|
|
::1 hostname localhost localhost.*
|
|
127.0.0.1 hostname localhost localhost.*
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
To better access CDE applications:
|
|
|
|
* Add dt/bin to your shell PATH:
|
|
$ export PATH=$PATH:${PREFIX}/dt/bin
|
|
|
|
* Add ${PREFIX}/dt/man to /etc/man.conf and run `makemandb'.
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
To start the Common Desktop Environment,
|
|
|
|
$ env LANG=C startx ${PREFIX}/dt/bin/Xsession
|
|
|
|
Or use the provided `@PREFIX@/bin/startcde' script.
|
|
|
|
Your user should be part of the '@REAL_ROOT_GROUP@' group to allow CDE
|
|
to create the required directories upon startup.
|
|
-----------------------------------------------------------------------
|
|
|
|
To start the Dt Login Manager,
|
|
|
|
$ cp @PREFIX@/share/examples/rc.d/dtlogin /etc/rc.d
|
|
$ service dtlogin onestart
|
|
|
|
To enable the dtlogin service at startup,
|
|
|
|
$ echo dtlogin=YES >> /etc/rc.conf
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
NOTE:
|
|
|
|
For better scrolling, consider adding this to your ~/.Xresources file
|
|
|
|
*saveLines: 32000
|
|
*scrollBar: True
|