On 2/22/23 12:09 PM, cardpuncher wrote:
Hi,
After getting used to NetBSD a bit on sdf.org, I compiled and installed
CDE 2.5.1 (Common Desktop Environment) from the CURRENT branch after downloading its tarball on NetBSD 9.3 amd64. The only remaining thing is
to be able to launch it with startx and for that, I think I have to
modify the ~/.xinitrc file.
Right now, the relevant line has
exec /usr/X11R7/bin/ctwm -W
CTWM is nice but I would like to give CDE a try. What should I put in
there? Thanks in advance.
Your post got me curious as I had spent many an hour using CDE on Sun
Sparcs back in the 90s. Anyways, it took a bit of fiddling to get CDE
to work on my 9.3/i386 VM instance but I finally did.
Take a look in /usr/pkg/share/docs/cde/README.netbsd ; it lists several additional steps needed after installing the package. Note that for the /etc/hosts entry you need to replace "hostname" with your actual
hostname. I made as similar entry for ::1 (IPv6). If you want to get an xdm(1)-like login you'll need to add 'dtlogin=YES' in /etc/rc.conf;
DON'T enable both xdm and dtlogin. In ~/.xsession (dtlogin option) or ~/.xinitrc (startx option) just put 'exec startcde' and make the file executable (chmod 751 <file> seems to work).
I think that covers everything I did. I did notice some text in /usr/pkg/dt/bin/Xsession saying to run (as root) the following:
#echo allowed_users=anybody' >> /usr/pkg/etc/X11/Xwrapper.config
The file has to be created first; probably it's not needed.
So all that and... yup, CDE is just as ugly as I remember. ;)
Be warned, there is no support for your pointer's scroll-wheel and
locking the screen is a dead end with the default configs; perhaps the
CDE wiki can be some help there.
Have fun!
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)