set LMDE default session to mate

Archived topics about LMDE 1 and LMDE 2
Locked
pratsriv

set LMDE default session to mate

Post by pratsriv »

Hi,

I like Mate I would like it to be my default environment. I gave the command:

Code: Select all

sudo /usr/lib/x86_64-linux-gnu/lightdm/lightdm-set-defaults -s mate-session
It returned no output (probably succeeded). But when I login with default xsession option, gnome3 shows-up again.

contents of /etc/lightdm/lightdm.conf

Code: Select all

[SeatDefaults]
xserver-allow-tcp=false
greeter-hide-users=true
user-session=mate-session
session-wrapper=/etc/X11/Xsession
autologin-user=myusername
autologin-user-timeout=0
contents of ~/.xsession-errors : http://pastebin.com/0w2rKkKG

what am I missing?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: set LMDE default session to mate

Post by xenopeek »

Moved here by moderator. Reason: LMDE.
Image
pratsriv

Re: set LMDE default session to mate

Post by pratsriv »

further info:

uname:
Linux prateek-mint 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011 x86_64 GNU/Linux
äxl

Re: set LMDE default session to mate

Post by äxl »

Why are you using LightDM? Aren't GDM or MDM good enough?
I'm using GDM3 and I don't have to set my default session. It's just using the selection from last time.
pratsriv

Re: set LMDE default session to mate

Post by pratsriv »

Thank you for the response, had been desperately waiting for it.
Well, mine is slightly old computer and I thought LightDM would not slow it down.
Also, the reference I used to install Mate used LightDM, I just followed it.
If GDM/MDM is not resource hungry, I can go for it right away.
Only trouble being: I do not know how to switch to GDM/MDM.
Appreciate any help I can get. Thank you!
pratsriv

Re: set LMDE default session to mate

Post by pratsriv »

found the solution to install MDM on another post in the forum.
Thank you. MDM is awesome!
I did get some errors as below, but the system is still functional:

Setting up mdm (1.0.0) ...
dpkg: error processing mdm (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mdm
rjha94

Re: set LMDE default session to mate

Post by rjha94 »

Please check /usr/share/xsessions folder, on my box (LMDE)

Code: Select all

rjha@mint /etc/lightdm $ ls -l /usr/share/xsessions/
total 28
-rw-r--r-- 1 root root  152 Mar 20 18:21 cinnamon.desktop
-rw-r--r-- 1 root root   86 Feb 19 21:30 lightdm-xsession.desktop
-rw-r--r-- 1 root root 6376 Mar  1 02:46 mate.desktop
-rw-r--r-- 1 root root 9715 Apr 20 00:39 ssh.desktop
So the session name should be "mate" and not "mate-session"

Also, you should be aware that auto-login sessions will override the user-sessions. I can see that you have set auto-login to true.
BrunoMiranda
Level 4
Level 4
Posts: 359
Joined: Thu Jun 24, 2010 2:22 pm

Re: set LMDE default session to mate

Post by BrunoMiranda »

Hi,

I like Mate I would like it to be my default environment. I gave the command:

Code: Select all
sudo /usr/lib/x86_64-linux-gnu/lightdm/lightdm-set-defaults -s mate-session


It returned no output (probably succeeded). But when I login with default xsession option, gnome3 shows-up again.

contents of /etc/lightdm/lightdm.conf

Code: Select all
[SeatDefaults]
xserver-allow-tcp=false
greeter-hide-users=true
user-session=mate-session
session-wrapper=/etc/X11/Xsession
autologin-user=myusername
autologin-user-timeout=0

:roll: This works on Mint 12 LXDE :D
You have really helped me on this one...
Thanks!
Locked

Return to “LMDE Archive”