CDE 是 Common Desktop Environment(通用桌面环境)的缩写。是一款历史悠久的桌面环境,常被用于 Unix 商业发行版。
安装软件
执行:
# pkg install xorg cde wqy-fonts xdg-user-dirs
或者:
# cd /usr/ports/x11/xorg/ && make install clean# cd /usr/ports/x11/cde/ && make install clean# cd /usr/ports/x11-fonts/wqy/ && make install clean # 文泉驿字体# cd /usr/ports/devel/xdg-user-dirs/ && make install clean # 自动创建用户目录的工具
开启各项服务
查看安装后信息:
root@ykla:/home/ykla# pkg info -D cdecde-2.5.2_4:Oninstall:CDE-TheCommonDesktopEnvironmentisanXWindowsdesktopenvironmentthatwascommonlyusedoncommercialUNIXvariantssuchasSunSolaris,HP-UX,andIBMAIX.Developedbetween1993and1999,ithasnowbeenreleasedunderanOpensourcelicensebyTheOpenGroup.CommonDesktopEnvironmentrequirestheSubprocessControlService,dtcms,andtheinetdsuperservertofullyfunction.First,addthefollowinglineto/etc/inetd.conf:dtspcstreamtcpnowaitroot/usr/local/dt/bin/dtspcd/usr/local/dt/bin/dtspcdSecond,addthefollowinglineto/etc/services:dtspc6112/tcp# CDE Subprocess Control Service# sysrc rpcbind_enable=YES# sysrc dtcms_enable=YES# sysrc inetd_enable=YES# service rpcbind start && service dtcms start && service inetd startFinally,makesuretoadd/usr/local/dt/bintoyourpath.TostarttheCommonDesktopEnvironment:%envLANG=Cstartx/usr/local/dt/bin/XsessionAlternatively,ifyouwanttousetheLoginManageraswell,create/usr/local/etc/X11/Xwrapper.configandaddthisline:allowed_users=anybodyTostarttheCommonDesktopEnviromentLoginManager:%/usr/local/dt/bin/dtlogin-daemon