Hi, about two months ago I created a thread asking for some help installing DWM to freeBSD 13 in a virtual machine. My main issue at that point was that I didn't have X running properly.
I've come back and finally installed FreeBSD to hardware and I've gotten a bit farther this time. I've downloaded DWM from the suckless website and edited config.mk (thanks to Minbari and a guide by NapoleanWils0n for the info on how to do that), and then ran make clean install. However, There still seems to be something I haven't done correctly because I got a little ahead of myself.
I ran StartX to make sure my x server is actually running, and it launched just fine.
When I try to launch dwm, though, this happens:
I've tried to sudo and run dwm but I get the same output.
Once X is open and I try to start dwm I get the obvious output:
I'm a pretty novice user so I don't really understand how to execute these steps.
Once I vim into config.def.h am I supposed to run the patch command somehow? I assume not because I tried to do that and got an error from vim telling me it's not a viable vim command.
What is the purpose of going into config.def.h; what am I supposed to edit once I'm in there? How does the patch command actually work and how am I supposed to use it in this context?
Like I said, I'm really new when it comes to this stuff, but I'm very intrigued by FOSS and I'm I want to learn how to do all these little things.
Thanks in advance for any help here.
I've come back and finally installed FreeBSD to hardware and I've gotten a bit farther this time. I've downloaded DWM from the suckless website and edited config.mk (thanks to Minbari and a guide by NapoleanWils0n for the info on how to do that), and then ran make clean install. However, There still seems to be something I haven't done correctly because I got a little ahead of myself.
I ran StartX to make sure my x server is actually running, and it launched just fine.
When I try to launch dwm, though, this happens:
$ dwm
dwm: cannot open display
I've tried to sudo and run dwm but I get the same output.
Once X is open and I try to start dwm I get the obvious output:
I believe my issue is somewhere in these final steps Minbari left on my my last postdwm: another window manager is already running
$ vim config.def.h
$ patch -p1 < dwm-autostart-20210120-cb3f58a.diff
sudo make clean install
I'm a pretty novice user so I don't really understand how to execute these steps.
Once I vim into config.def.h am I supposed to run the patch command somehow? I assume not because I tried to do that and got an error from vim telling me it's not a viable vim command.
What is the purpose of going into config.def.h; what am I supposed to edit once I'm in there? How does the patch command actually work and how am I supposed to use it in this context?
Like I said, I'm really new when it comes to this stuff, but I'm very intrigued by FOSS and I'm I want to learn how to do all these little things.
Thanks in advance for any help here.