MATE Unable to get Mate running

Hi,
I tried to get Mate Desktop running.

Once the Slim login screen is displayed and after having entered the username ( the user, not root) and password ,I received the following error message:

Code:
“failed to execute login command”

Initially, I didn’t add the xinitrc file with the line “exec mate-session” but even if I add it ,I received the same error.

I had to proceed a hard reboot as I have no way to go back to the terminal and boot in the single user mode to comment out in /etc/rc.conf “slim_enable=YES” in order to boot normally.

All the error messages related to the sound at the end of DMESG “hdac0:…address 00” appears systematically after a hard reboot despite many fresh install.
How can I get Mate running ?


I added to the links below some files configuration:

dmesg log https://dpaste.com/EXG9B9NKX

fstab log https://dpaste.com/GKDLMC92D

kldstat log https://dpaste.com/3YMJESWWP

pciconf https://dpaste.com/CNRSX67XG

uname https://dpaste.com/CLYCA86Q4

xorg log https://dpaste.com/7W8KXY6TN

rc.conf log https://dpaste.com/9PMBGPB4C

.xinitrc https://dpaste.com/7DNCSMP63

Thank you for your help
 
Intel HD 4000.

I compiled the drm-fbsd12.0-kmod from the ports following instructions in the link https://forums.freebsd.org/threads/...-2-release-workaround-build-from-ports.77501/

KDE plasma was working on my laptop with the exact same set up but for some reasons,I cannot start Mate despite a fresh and clean install.

As I couldn't start Mate with the drm-fbsd12.0-kmod despite being compiled ,I also installed with pkg the xf86-video-intel => same problem.

I deleted xf86-video-intel and then reinstall xf86-video-intel by compiling it from the ports => same problem.
 
You can either remove/comment out the following line from your ~/.xinitrc:
exec mate-session

Or remove/comment out the following line from your /usr/local/etc/slim.conf:
sessiondir /usr/local/share/xsessions

You don't need both.
 
Add that line back in to /usr/local/etc/slim.conf and comment out what you have in ~/.xinitrc. Does that work?
 
I realised I made 2 ~/.xinirx file, one in root and one in the home user.
I deleted the one in root and comment out exec mate-session in ~/.xinitrc
I don't have anymore the error “failed to execute login command” but once I press enter after the password, the screen is blinking for 1 second showing the login in the terminal and go back automatically to the Slim login page.
 
Hi,
I tried to get Mate Desktop running.

Once the Slim login screen is displayed and after having entered the username ( the user, not root) and password ,I received the following error message:

Code:
“failed to execute login command”

Initially, I didn’t add the xinitrc file with the line “exec mate-session” but even if I add it ,I received the same error.

I had to proceed a hard reboot as I have no way to go back to the terminal and boot in the single user mode to comment out in /etc/rc.conf “slim_enable=YES” in order to boot normally.

All the error messages related to the sound at the end of DMESG “hdac0:…address 00” appears systematically after a hard reboot despite many fresh install.
How can I get Mate running ?
You can try using x11/sddm as a login manager. SDDM should recognize MATE if it is installed. Personally, I am using SDDM with MATE. Works fine. SLIM should also work, but it needs to be configured correctly. I keep SLIM for backup, but use SDDM as my primary login manager. Your Xorg seems to work correctly, otherwise SLIM will not start. Xorg log looks good also.

Just try to build SDDM from ports and add sddm_enable="YES" into the /etc/rc.conf.
 
OP: too many things in play. Start slow and get mate’ running first without a login manager. Once you can start mate’ using startx using ~/.xinitrc, then you can introduce a login manager.
 
Thank you to everyone for your help!
I can login with SDDM.
I will try to investigate further when I will have more time about Slim.
I'm happy enough to have MATE running.
 

with slim I have in file usr/local/etc/X11/xorg.conf.d/driver-intel.conf
Section "Device"
Identifier "Card0"
Driver "intel"
EndSection

+
I have compiled the drm-fbsd12.0-kmod from the ports
and everything (mate) works fine..
 
~/.xinitrx contains "exec mate-session".
For SLiM you need this:
Code:
[ -n "$1" ] && [ -x "$1" ] && exec "$1"
Leave the sessiondir as-is in slim.conf. It will automatically pick up any Desktop/Window managers you have installed. Then on the SLiM login screen press F1 to select the desktop/window manager you want to use. The line above will make sure to execute the correct application.
 
Back
Top