Other Proper Common Desktop Environment Instructions

Code:
freebsd-update fetch
freebsd-update install

portsnap fetch extract update
cd /usr/ports/ports-mgmt/portmaster
make -DBATCH install clean

portmaster -C -D --no-confirm -y \
  x11/xorg \
  devel/git \
  converters/iconv \
  shells/ksh93 \
  x11-toolkits/open-motif \
  lang/tcl86
  textproc/opensp

pkg install cde xorg

Add to /etc/rc.conf

rpcbind_enable="YES"
inetd_enable="YES"


ksh93 wont install
 
I installed from pkg from sourceforge I used to install from source I just wanted to save time.
Why would you want to use the upstream sources when we have two ports and two corresponding packages? Besides, the sourceforge sources won't build on on FreeBSD without patches.
 
Oh, right, it was already removed from the 14 base. All the more reason to stop using it.
 
After reading the messages from the package the correct configuration is

/etc/inetd.conf

dtspc stream tcp nowait root /usr/local/dt/bin/dtspcd /usr/local/dt/bin/dtspcd

/etc/services

dtspc 6112/tcp

sysrc rpc_bind_enbale = YES
sysrc dtcms_enable = YES
sysrc inetd_enable =YES

service rpcbind start && service dtcms start && service inetd start

export /usr/local/dt/bin on the PATH

echo "/usr/dt/bin/Xsession" >> ~/.xinitrc

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

/usr/local/etc/x11/XWrapper.config and add the following line:

allowed_users=anybody

as root:

/usr/local/dt/bin/dtlogin -deamon

I'm learning how to use the .dtprofile and .dt structure the dtlogin my kick out back to the login until the HOSTS file is configured correctly.

still you might need to chmod 755 the ~ directory.

Create the Snapshot sh mksnap_ffs /snap This command takes a snapshot of the "/" file system and stores it in the file "/snap".

Create a Memory Disk sh mdconfig /snap This command maps the snapshot file to a memory disk.

Mount the Snapshot sh mount -o ro /dev/md0 /mnt This command mounts the memory disk in read-only mode to /mnt.

Access the Snapshot

You can now access the snapshot via /mnt.

Cleanupsh umount /mnt mdconfig -du 0 rm /snap These commands unmount the snapshot.
 
Back
Top