Solved Attempting to run cwm on FreeBSD

I imagine that you have configured a regular user and added that user to wheel, operator and video groups.

I have been following this tutorial, with deviations given that cwm is slightly off the beaten track, for freebsd. Youtube tutorials are great, in the sense that the handbook is loooooooooooooooooong. Discouraging in it's completeness. Until somebody figures out how to make it both complete, and quick to read and implement, such tutorials will have a place for people who can't handle more than the short-and-sweet. :)

I have a user configured, but drop to root (not using sudo or doas) for anything requiring priviledges.
 
The lock error seems like it is a permissions issue, so if you are not root, then you need read and write permissions on the .Xauthority file. See my attachment as an example using my user,group info (john:john).

Right. I drop to root when I need to, but when I call starx, -that- is from my "ordinary user" account.
Your attachment is fascinating.
 
So have you tried startx? is everything working now? I hope so :)
That's how I found out that the proposed solution seems to work :)
A useful tool for gleaning system info is dmidecode. In the future, you can use this tool to gather info about your system, which could be useful for installing drivers. I have used a similar tool on Windows to setup a system in VirtualBox using vboxmanage. I was able to successfully activate Windows because all of the system data was present from the actual hardware. dmidecode tools are very nice for collecting such information.
Awesome! ..more research for me :)
I hope that you have your driver and xorg working. Let us know if you have solved this problem ...
My plan is to re-install once again so that I can properly verify your suggestion for activating the driver without needing a reboot. Then.. I'll try to understand the permissions thing and what you put in that screen-shot.. And then I'll proceed to setup the rest of my system the way I think I know how to do and will promptly find out that I actually don't.. ..onwards! :)
 
for example: $ kldload i915kms

Works! Like a charm.. Seems to have a seizure while it's at it, but what's life without some drama.. :)
..and the .Xauthority is there now, with the same permissions as yours.. ..convenient.. ;-)

..so.. (..at least for systems similar to mine, with intel graphics..)

1) Login.
2) su (Become root..)
3) # pkg install xorg (Chapter 5 Handbook)
4) # pkg install drm-kmod (Chapter 5 Handbook)
5) # sysrc kld_list+=i915kms (Chapter 5 Handbook)
6) # kldload i915kms ( -Not- present in chapter 5 of handbook, as far as I can tell..) (not clear if this needs to be done as root, but doing it as root -does- work.
7) # pkg install cwm (..on till morning..)
8) # chown -R user:user /home/user (I -think- this has to be done as root, or with sudo..) (whether this is the best or approved way, no idea)
9) As ordinary user, create (or edit) .xinitrc to include:
10) $ startx (After a brief fit, you will get a black screen with a working mouse. See this and this (very bottom)(and many many more examples out there..), for suggestions as to what else you might include [in .xinitrc] to get anything beyond said black screen :))
11) For those not familiar with cwm, Ctrl-Alt-Shift-Q [CMS-q] will get you back out of it ;-) :)
 
Hi mikethe1wheelnut,

congratulations!!! I am so happy for you. You did well and deserve a round of applause :) I was hoping that it worked for you.

I like your instructions for others and with a sense of humour too :)

I am still playing with FreeBSD in VirtualBox because it is new to me. I want to master certain concepts, then i want to make a video for Windows users migrating to The Beast (FreeBSD). I've had some problems along the way but mostly because i am a Windows user and nothing specific to FreeBSD. Anyway, i still have to learn about PF and sslproxy/sslsplit. I also need to double-down on jails. One last thing for me is adding Apache, PHP and MySQL to the mix with security in mind. Then i will be ready to install on my laptop and make a video guide for other Windows users. We need to help each other, i figure.

So i hope that you can add alacritty and picom and enjoy your new installation. It has been a pleasure getting to know you, mikethe1wheelnut. Now get some rest, please. You've worked hard on this problem and you have managed to solve it. Yay!

I hope that you have a pleasant day,
John
 
Then i will be ready to install on my laptop and make a video guide for other Windows users. We need to help each other, i figure.
..I like your level of ambition. And I take this as an indication of the level of problems with windows. I've come to see windows users as immovable rocks, quite content with their systems. Even linux, for many of them, is heresy :) ..I got exposed to linux as part of my undergrad, or I would probably myself still be in that category :)
 
So i hope that you can add alacritty and picom and enjoy your new installation. It has been a pleasure getting to know you, mikethe1wheelnut. Now get some rest, please. You've worked hard on this problem and you have managed to solve it. Yay!
This, along with others, is an interesting statement. I will disclose that in the current context, it makes me feel as if you think I am one of the elderly. Whether, in other circumstances, that would not be the case, I don't know. I -am- sick, hence my low energy level. That said, getting myself off of linux and graduating to the bsd's -will- be a major accomplishment. Seriously, all my other collaborators are solidly stuck in either windows or mac-world. Even linux, for most people, is an act of rebellion. Language and communications are, and will remain, challenging things :) I hope your son is well! :) Onwards with cleaning up our computers! ;-)
 
Back
Top