MATE Unable to get Mate running

Pardub

Member

Reaction score: 5
Messages: 22

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
 

Yampress

Active Member

Reaction score: 23
Messages: 136

in the ~ / .xinitrc file you need to write down what desktop environment must be running after login
 
OP
P

Pardub

Member

Reaction score: 5
Messages: 22

~/.xinitrx contains "exec mate-session".
What else needs to be added?
 

Yampress

Active Member

Reaction score: 23
Messages: 136

What's your graphics card? Maybe the xorg driver needs to be installed or compile additionally drm-kmod
 
OP
P

Pardub

Member

Reaction score: 5
Messages: 22

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.
 

fraxamo

Member

Reaction score: 64
Messages: 76

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.
 

fraxamo

Member

Reaction score: 64
Messages: 76

Add that line back in to /usr/local/etc/slim.conf and comment out what you have in ~/.xinitrc. Does that work?
 
OP
P

Pardub

Member

Reaction score: 5
Messages: 22

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.
 

Argentum

Aspiring Daemon

Reaction score: 289
Messages: 612

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.
 

Sevendogsbsd

Daemon

Reaction score: 683
Messages: 1,132

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.
 
OP
P

Pardub

Member

Reaction score: 5
Messages: 22

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.
 

Yampress

Active Member

Reaction score: 23
Messages: 136


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..
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 12,371
Messages: 38,906

~/.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.
 
Top