The officially official Devuan Forum!

You are not logged in.

#1 2018-04-27 01:24:02

Caluser2000
Member
Registered: 2018-04-24
Posts: 35  

Booting direct to the desktop.

I would like to set this system to boot directly to the MATE desktop on startup. I've searched google but not found anything Devuan/Debian specific. Using Jessie i386.

How do I go about this?

Thanks in advance.

With my old CrunchBang install this was quite easy to do using GDM.
I use to have my Red Hat 7.3 install set up like that as well.

Last edited by Caluser2000 (2018-04-27 01:46:57)

Offline

#2 2018-04-27 03:11:24

golinux
Administrator
Registered: 2016-11-25
Posts: 3,340  

Re: Booting direct to the desktop.

I think you're describing "auto login".  In the the config file of your dm (whatever that is) there should be an option to toggle yes/no.  I think there is even an option to set that during installation but I don't do that often enough to be sure.

Online

#3 2018-04-27 03:59:12

Caluser2000
Member
Registered: 2018-04-24
Posts: 35  

Re: Booting direct to the desktop.

golinux wrote:

I think you're describing "auto login".  In the the config file of your dm (whatever that is) there should be an option to toggle yes/no.  I think there is even an option to set that during installation but I don't do that often enough to be sure.

The login manger is slim. Uses F1 to switch between WM/DEs. Its pretty parse and doesn't appear to have a auto login option.

Last edited by Caluser2000 (2018-04-27 04:19:57)

Offline

#4 2018-04-27 04:10:34

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,268  

Re: Booting direct to the desktop.

If it's slim you could possibly achieve auto-login by editing /etc/slim.conf, and then only change #default_user devuan to be default_user caluser (i.e., remove the # and choose user name wisely), as well as changing #auto_login no to be auto_login yes (i.e., remove the # and change to  yes).

Offline

#5 2018-04-27 04:21:21

Caluser2000
Member
Registered: 2018-04-24
Posts: 35  

Re: Booting direct to the desktop.

Thanks. Just need MATE to be the default DE now.

Offline

#6 2018-04-27 05:20:18

Caluser2000
Member
Registered: 2018-04-24
Posts: 35  

Re: Booting direct to the desktop.

Got MATE set as default DE by running the following as root:

update-alternatives --config x-session-manager 

It listed all the DE/WMs. I then selected MATE and it placed a star next to it.

Last edited by Caluser2000 (2018-04-27 05:24:17)

Offline

#7 2018-04-27 05:33:07

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,268  

Re: Booting direct to the desktop.

Right. I suppose you'll need a sibling or replace of /usr/share/xsessions/xfce.desktop to make that happen. Perhaps by replacing all "xfce" with "mate"; and maybe add some particular hand-crafting to the "Exec=..." line at the bottom. Or, just hang around until someone who knows something swings by smile

Offline

#8 2018-04-27 05:37:30

Caluser2000
Member
Registered: 2018-04-24
Posts: 35  

Re: Booting direct to the desktop.

Ive got it auto booting into MATE now. Combination of editing slim.conf and the above command did the trick. Hopefully this help anyone else who wishes to do something similar.

Means my wife can fire up the system to use the printer without having me around.

One interesting thing I discovered is that removing lxde with apt appeared to remove but it still booted into it.

Last edited by Caluser2000 (2018-04-27 05:45:24)

Offline

Board footer