I tried slim but it didn't help.which display manager do you run ?
passwd yourLoginName
to change the password for your primary user account.But for .xinitrc to work it also needs to be chowned. Thanks for your input.for slim to work you have to create
~/.xinitrc
exec mate-session
this should solve problems with slim logging.
There is a dot in front of xinitrc => .xinitrc
.xinitrc is created by user in user ~/But for .xinitrc to work it also needs to be chowned. Thanks for your input.
Does that automatically apply for you with multiple users? What version of the OS are you using?.xinitrc is created by user in user ~/
never had to chown anything created by user
I use single user environment, but assuming that user configures ~/ this does not mannter.Does that automatically apply for you with multiple users? What version of the OS are you using?
I have a main fbsd box where .xinitrc was not needed, so I'm inclined to agree with you.user created .xinitrc just works without issuing chown command.
Wow. The useless use of cat (*) is now conquered by the useless use of sudo. (And why do so many docs writing people nowadays think that everyone has sudo installed & configured? You can only assume that when you're writing docs for Ubuntu based installations…)https://linoxide.com/mate-desktop-installation-freebsd-11/
% sudo nano /home/arun/.xinitrc
[…]
% sudo chown arun:arun /home/arun/.xinitrc
cat file.txt | grep mysearchstring
instead of grep mysearchstring file.txt
; That was called the "useless use of cat".thisI have a main fbsd box where .xinitrc was not needed, so I'm inclined to agree with you.
However, I'm perplexed why the following link says otherwise. It refers to fbsd 11. I have 13.0
https://linoxide.com/mate-desktop-installation-freebsd-11/
'.....................Then, we'll add the following line of command into the .xinitrc file under the user’s home directory. We'll use our favorite text editor to do so.
% sudo nano /home/arun/.xinitrc
Once the text editor opens, we'll append the file with the following line then save and exit the text editor.
exec mate-session
Next, we'll need to change the ownership of the .xinitrc file to the respective user.
% sudo chown arun:arun /home/arun/.xinitrc
Rebooting Machine
If everything were done as expected, we should be able to get Slim Display Manager asking for user login and after the user login, we should be able to get our Mate desktop environment working as charm. We can simply execute the following command to reboot our FreeBSD machine.
% sudo reboot'
The only thing I can think of is that the downloads of iso's might be tinkered with from the outset, thus produding a need to do things slightly differently. So, I spent hours trying to getting it to work, but it only did with the chown config. Hmm!
is wrong:% sudo nano /home/arun/.xinitrc
moused is needed only if you want to use mouse in terminal, not needed for GUI.
moused_enable
is only needed for PS/2 mice. For USB mice moused(8) gets automatically loaded through devd(8).notify 100 {
match "system" "DEVFS";
match "subsystem" "CDEV";
match "type" "CREATE";
match "cdev" "ums[0-9]+";
action "service moused quietstart $cdev";
};
.. and it is not needed for touchpad in GUI
Well I used su in place of sudo, I cd'd to home/user & used chown. For me, I was the only thing that opened the Mate desktop.Wow. The useless use of cat (*) is now conquered by the useless use of sudo. (And why do so many docs writing people nowadays think that everyone has sudo installed & configured? You can only assume that when you're writing docs for Ubuntu based installations…)
If you haven't messed up your $HOME and/or user account any file you're creating inside your users $HOME as user will already have the correct ownership. Why ever you failed without su to root - that was not the reason, and root not the solution. Creating a ~/.xinitrc as user works (and has also nothing to do which desktop environment, window manager etc. is used).Well I used su in place of sudo, I cd'd to home/user & used chown. For me, I was the only thing that opened the Mate desktop.