Hi,

I'd like to get access to the sourceforge wiki to update the OpenBSD entry.
Also, there is some other cleanup that needs to happen in other sections as
well.

The updated OpenBSD wiki text is included in this email as well.

Thanks,

Alex

 

 

OpenBSD 5.7 setup and guide to installing CDE

These instructions are verified with a default OpenBSD 5.7 install. X
windows components installed from CD and xdm login disabled (boots to
command line). Make sure OpenBSD ports and packages system are set up. See
here for instructions:  <http://www.openbsd.org/faq/faq15.html>
http://www.openbsd.org/faq/faq15.html

All instructions done using root

Verify hostname is in /etc/hosts file or else CDE will not start up properly

add the 'hostname' to /etc/hosts

127.0.0.1              [hostname goes here]

127.0.0.1              [FQDN goes here]

 

Add to /etc/rc.conf.local

portmap_flags=""

 

Install the following packages:

pkg_add git

pkg_add ksh93

pkg_add bison

pkg_add wget

pkg_add libXp

pkg_add xprintproto

Prepare to build Motif from source

Get the following patch:

wget
<https://raw.github.com/jasperla/openbsd-wip/master/x11/cde/openmotif_xprint
.diff>
https://raw.github.com/jasperla/openbsd-wip/master/x11/cde/openmotif_xprint.
diff

cd /usr/ports/x11/openmotif

patch </root/openmotif_xprint.diff

make install clean

cd

Prepare to build CDE 2.2.3

git clone git://git.code.sf.net/p/cdesktopenv/code cdesktopenv-code

Log for troubleshooting

script /tmp/log.txt

Make the folllowing symlinks:

cd cdesktopenv-code/cde

mkdir -p imports/x11/include

ln -s /usr/X11R6/include/X11 imports/x11/include/

ln -s /usr/local/include/Xm imports/x11/include/

make World

 

Install CDE (must be done as root):

cd admin/IntegTools/dbTools

./installCDE -s /root/cdesktopenv-code/cde

Exit logging:

exit

add to /etc/rc.conf.local

shlib_dirs="/usr/dt/lib"

If you want to be able to exchange calendar data with other users, put

the following line in your /etc/inetd.conf:

rpc.cmsd/1 dgram rpc/tcp wait root /usr/local/dt/bin/rpc.cmsd rpc.cmsd

Reboot

Start CDE:

You can now start dtlogin manager as root:

/usr/dt/bin/dtlogin -nodaemon

Alternatively, you can start an X session as a normal user:

env LANG=C startx /usr/dt/bin/Xsession

 

Cleanup and post-install:

If everything compiled and installed properly you may delete the install log
file you created using the script command above (/tmp/log.txt)

To automatically source your .profile when opening a terminal in CDE
uncomment the last line in your user's .dtprofile file:

# DTSOURCEPROFILE=true

To automatically go into the CDE graphical login at system startup add the
following line to /etc/rc.local : (first verify CDE starts up manually using
command shown above)

/usr/dt/bin/dtlogin &

 

 

Attachment: OpenBSD_57_CDE_wiki.rtf
Description: MS-Word document

------------------------------------------------------------------------------
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to