Minimal Mate install

Forum rules
Before you post please read how to get help
Post Reply
User avatar
jelabarre59
Level 2
Level 2
Posts: 57
Joined: Thu Jan 20, 2011 6:57 pm

Minimal Mate install

Post by jelabarre59 » Fri May 04, 2018 2:31 pm

I like the solution Ubuntu has provided in 10.04 of having a "minimal" install. I would like to do this on one of my systems, but with Mate rather than Gnome. I've experimented by installing an UbuntuServer base install and then bringing in the Mint repo and installing the Mate-Desktop-Core. It installs the Mate packages, but I can't get the system to boot into a GUI. Startx will work, so I know that X is working

I tried installing LightDM, but once I saw the boatload of dependencies it takes along with it, I cancelled. I specifically want as little as possible, and LightDM is far too embedded into the Gnome environment. So what is the minimum configuration needed to get the system to boot directly into X? "sudo systemctl set-default graphical.target" does nothing to make this work either.

User avatar
administrollaattori
Level 14
Level 14
Posts: 5158
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Minimal Mate install

Post by administrollaattori » Fri May 04, 2018 2:37 pm

XDM is the best choice for minimal installations.

User avatar
Flemur
Level 16
Level 16
Posts: 6058
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Minimal Mate install

Post by Flemur » Fri May 04, 2018 3:35 pm

jelabarre59 wrote:
Fri May 04, 2018 2:31 pm
So what is the minimum configuration needed to get the system to boot directly into X? "sudo systemctl set-default graphical.target" does nothing to make this work either.
You don't need a session/display manager. I've done it but it didn't make any measurable difference in boot time or memory use after boot.

Remove your session manager, and edit the file:
/lib/systemd/system/getty@.service
as described here
https://wiki.archlinux.org/index.php/ge ... al_console
https://wiki.archlinux.org/ index.php/ getty #Automatic_login_to_virtual_console

Because it didn't make any real difference**, I undid my changes - and my "save" file is the same as the original, so I can't tell you exactly what I did...

**and it was a bit goofy to switch from fluxbox, my normal desktop, to xfce; trickier than just logging out/back-in.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

User avatar
Flemur
Level 16
Level 16
Posts: 6058
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Minimal Mate install

Post by Flemur » Sat May 05, 2018 12:42 pm

Also - if you don't use a session manager you'll need

Code: Select all

~/.dmrc

Code: Select all

[Desktop]
Session=fluxbox
and perhaps some code in ~/.xinitrc
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

User avatar
administrollaattori
Level 14
Level 14
Posts: 5158
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Minimal Mate install

Post by administrollaattori » Sun May 06, 2018 3:16 am

Flemur wrote:
Sat May 05, 2018 12:42 pm
Also - if you don't use a session manager you'll need

Code: Select all

~/.dmrc

Code: Select all

[Desktop]
Session=fluxbox
and perhaps some code in ~/.xinitrc
An another way is to set default environment via command line.

Code: Select all

sudo update-alternatives --config x-session-manager

User avatar
Flemur
Level 16
Level 16
Posts: 6058
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Minimal Mate install

Post by Flemur » Sun May 06, 2018 11:45 am

administrollaattori wrote:
Sun May 06, 2018 3:16 am
Flemur wrote:
Sat May 05, 2018 12:42 pm

Code: Select all

[Desktop]
Session=fluxbox
and perhaps some code in ~/.xinitrc
An another way is to set default environment via command line.

Code: Select all

sudo update-alternatives --config x-session-manager
I'm not sure that would do the same thing; my default is fluxbox (via xinit, startx or lightdm login), but update-alternative doesn't mention it:

Code: Select all

$ update-alternatives --list x-session-manager
/usr/bin/startxfce4
/usr/bin/xfce4-session
$ update-alternatives --query x-session-manager
Name: x-session-manager
Link: /usr/bin/x-session-manager
...
Best: /usr/bin/startxfce4
Value: /usr/bin/startxfce4
Alternative: /usr/bin/startxfce4
...more xfce stuff..
After I login "/usr/bin/startfluxbox" is running, but no xfce programs are.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

Post Reply

Return to “MATE”