Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #224142 > unrolled thread

Installing/launching MATE in a command line environment

Started byRichard Owlett <rowlett@cloud85.net>
First post2020-06-28 15:30 +0200
Last post2020-06-29 21:20 +0200
Articles 12 on this page of 32 — 14 participants

Back to article view | Back to linux.debian.user


Contents

  Installing/launching MATE in a command line environment Richard Owlett <rowlett@cloud85.net> - 2020-06-28 15:30 +0200
    Re: Installing/launching MATE in a command line environment Patrick Bartek <nemommxiv@gmail.com> - 2020-06-28 15:40 +0200
      Re: Installing/launching MATE in a command line environment Richard Owlett <rowlett@cloud85.net> - 2020-06-28 16:20 +0200
        Installing/launching MATE in a command line environment echo test <echotest09@gmail.com> - 2020-06-28 16:40 +0200
          update-alternatives - was [Re: Installing/launching MATE in a command  line environment] Richard Owlett <rowlett@cloud85.net> - 2020-06-29 14:20 +0200
            Re: update-alternatives - was [Re: Installing/launching MATE in a  command line environment] <tomas@tuxteam.de> - 2020-06-29 14:30 +0200
              Re: update-alternatives - was [Re: Installing/launching MATE in a  command line environment] Richard Owlett <rowlett@cloud85.net> - 2020-06-29 16:00 +0200
                Re: update-alternatives - was [Re: Installing/launching MATE in a  command line environment] Brian <ad44@cityscape.co.uk> - 2020-06-29 16:40 +0200
                  Re: update-alternatives - was [Re: Installing/launching MATE in a  command line environment] Richard Owlett <rowlett@cloud85.net> - 2020-06-29 17:50 +0200
            Re: update-alternatives - was [Re: Installing/launching MATE in a  command line environment] davidson <davidson@freevolt.org> - 2020-06-29 16:20 +0200
              Re: update-alternatives - was [Re: Installing/launching MATE in a  command line environment] Richard Owlett <rowlett@cloud85.net> - 2020-06-29 17:30 +0200
                Re: update-alternatives - was [Re: Installing/launching MATE in a  command line environment] Brian <ad44@cityscape.co.uk> - 2020-06-29 19:10 +0200
                Re: update-alternatives - was [Re: Installing/launching MATE in a  command line environment] Liam O'Toole <liam.p.otoole@gmail.com> - 2020-06-29 19:50 +0200
            Re: update-alternatives - was [Re: Installing/launching MATE in a  command line environment] David <bouncingcats@gmail.com> - 2020-06-30 02:40 +0200
              Re: update-alternatives - was [Re: Installing/launching MATE in a  command line environment] Richard Owlett <rowlett@cloud85.net> - 2020-06-30 12:40 +0200
          Re: Installing/launching MATE in a command line environment Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-29 14:40 +0200
            Re: Installing/launching MATE in a command line environment <tomas@tuxteam.de> - 2020-06-29 14:40 +0200
            Re: Installing/launching MATE in a command line environment Jude DaShiell <jdashiel@panix.com> - 2020-09-13 01:00 +0200
              Re: Installing/launching MATE in a command line environment Greg Wooledge <wooledg@eeg.ccf.org> - 2020-09-14 14:30 +0200
                Re: Installing/launching MATE in a command line environment Kenneth Parker <sea7kenp@gmail.com> - 2020-09-14 16:20 +0200
    Re: Installing/launching MATE in a command line environment David Wright <deblis@lionunicorn.co.uk> - 2020-06-28 17:20 +0200
      Re: Installing/launching MATE in a command line environment Richard Owlett <rowlett@cloud85.net> - 2020-06-28 18:10 +0200
        Re: Installing/launching MATE in a command line environment Brian <ad44@cityscape.co.uk> - 2020-06-28 22:00 +0200
          Re: Installing/launching MATE in a command line environment Jude DaShiell <jdashiel@panix.com> - 2020-06-28 22:50 +0200
            Re: Installing/launching MATE in a command line environment Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-29 14:40 +0200
              Re: Installing/launching MATE in a command line environment <tomas@tuxteam.de> - 2020-06-29 14:50 +0200
              Re: Installing/launching MATE in a command line environment Jude DaShiell <jdashiel@panix.com> - 2020-06-29 19:00 +0200
      [SOLVED] Re: Installing/launching MATE in a command line environment Richard Owlett <rowlett@cloud85.net> - 2020-06-29 12:10 +0200
    Re: Installing/launching MATE in a command line environment Brian <ad44@cityscape.co.uk> - 2020-06-28 20:00 +0200
    Re: Installing/launching MATE in a command line environment songbird <songbird@anthive.com> - 2020-06-29 01:40 +0200
      Re: Installing/launching MATE in a command line environment Richard Owlett <rowlett@cloud85.net> - 2020-06-29 12:10 +0200
    Re: Installing/launching MATE in a command line environment Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-29 21:20 +0200

Page 2 of 2 — ← Prev page 1 [2]


#224147

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2020-06-28 17:20 +0200
Message-ID<AmHg5-10t-7@gated-at.bofh.it>
In reply to#224142
On Sun 28 Jun 2020 at 08:21:29 (-0500), Richard Owlett wrote:
> The default install of the MATE desktop installs too much I don't want.
> Unfortunately the Debian installer does not allow coerces the
> installation of "recommended" packages.
> 
> Therefore I did an install without *ANY* desktop environment.
> [Used DVD1 of Debian 8.6, latest for which I had a physical DVD]
> 
> I then did
> apt-get --no-install-recommends install mate-desktop-environment gparted
> 
> On reboot the desktop did not appear.
> 
> What is the forgotten command to automatically launch the desktop at boot?

You appear to want to install MATE manually without Recommends, rather
than within the d-i and with Recommends. In that case, you should
install task-mate-desktop, not just mate-desktop-environment:

    Package: task-mate-desktop
    Depends: tasksel (= 3.53), task-desktop, mate-desktop-environment, lightdm
    Recommends: gimp, synaptic, libreoffice, libreoffice-help-en-us, mythes-en-us, hunspell-en-us, hyphen-en-us, network-manager-gnome, orca, libreoffice-gtk3
    Description: MATE
      This task package is used to install the Debian desktop, featuring
      the MATE desktop environment, and with other packages that Debian users
      expect to have available on the desktop.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#224150

FromRichard Owlett <rowlett@cloud85.net>
Date2020-06-28 18:10 +0200
Message-ID<AmI2u-1wD-9@gated-at.bofh.it>
In reply to#224147
On 06/28/2020 10:15 AM, David Wright wrote:
> On Sun 28 Jun 2020 at 08:21:29 (-0500), Richard Owlett wrote:
>> The default install of the MATE desktop installs too much I don't want.
>> Unfortunately the Debian installer does not allow coerces the
>> installation of "recommended" packages.
>>
>> Therefore I did an install without *ANY* desktop environment.
>> [Used DVD1 of Debian 8.6, latest for which I had a physical DVD]
>>
>> I then did
>> apt-get --no-install-recommends install mate-desktop-environment gparted
>>
>> On reboot the desktop did not appear.
>>
>> What is the forgotten command to automatically launch the desktop at boot?
> 
> You appear to want to install MATE manually without Recommends, rather
> than within the d-i and with Recommends.

Yes.

> In that case, you should
> install task-mate-desktop, not just mate-desktop-environment:
> 
>      Package: task-mate-desktop
>      Depends: tasksel (= 3.53), task-desktop, mate-desktop-environment, lightdm
>      Recommends: gimp, synaptic, libreoffice, libreoffice-help-en-us, mythes-en-us, hunspell-en-us, hyphen-en-us, network-manager-gnome, orca, libreoffice-gtk3
>      Description: MATE
>        This task package is used to install the Debian desktop, featuring
>        the MATE desktop environment, and with other packages that Debian users
>        expect to have available on the desktop.
> 

Just tried that. Now the boot process does NOT complete.
It may have collided with other things I have tried.
I'll redo all from scratch to to eliminate that possibility.
This time I'll create a log file.
I'm not sure If I'll get back to it until tomorrow.
Thanks.

[toc] | [prev] | [next] | [standalone]


#224156

FromBrian <ad44@cityscape.co.uk>
Date2020-06-28 22:00 +0200
Message-ID<AmLD4-3vW-11@gated-at.bofh.it>
In reply to#224150
On Sun 28 Jun 2020 at 11:02:53 -0500, Richard Owlett wrote:

> On 06/28/2020 10:15 AM, David Wright wrote:
> > On Sun 28 Jun 2020 at 08:21:29 (-0500), Richard Owlett wrote:
> > > The default install of the MATE desktop installs too much I don't want.
> > > Unfortunately the Debian installer does not allow coerces the
> > > installation of "recommended" packages.
> > > 
> > > Therefore I did an install without *ANY* desktop environment.
> > > [Used DVD1 of Debian 8.6, latest for which I had a physical DVD]
> > > 
> > > I then did
> > > apt-get --no-install-recommends install mate-desktop-environment gparted
> > > 
> > > On reboot the desktop did not appear.
> > > 
> > > What is the forgotten command to automatically launch the desktop at boot?
> > 
> > You appear to want to install MATE manually without Recommends, rather
> > than within the d-i and with Recommends.
> 
> Yes.
> 
> > In that case, you should
> > install task-mate-desktop, not just mate-desktop-environment:
> > 
> >      Package: task-mate-desktop
> >      Depends: tasksel (= 3.53), task-desktop, mate-desktop-environment, lightdm
> >      Recommends: gimp, synaptic, libreoffice, libreoffice-help-en-us, mythes-en-us, hunspell-en-us, hyphen-en-us, network-manager-gnome, orca, libreoffice-gtk3
> >      Description: MATE
> >        This task package is used to install the Debian desktop, featuring
> >        the MATE desktop environment, and with other packages that Debian users
> >        expect to have available on the desktop.
> > 
> 
> Just tried that. Now the boot process does NOT complete.
> It may have collided with other things I have tried.
> I'll redo all from scratch to to eliminate that possibility.
> This time I'll create a log file.
> I'm not sure If I'll get back to it until tomorrow.
> Thanks.

All good stuff. All very interesting. All very resolvable when a user
has a clue what he is doing. We have gone from unable to boot the MATE
desktop to not being able to boot at all! Carry on installing. :)

Debian installs Recommends: by default. Your issue demonstrates exactly
why it was made so.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#224157

FromJude DaShiell <jdashiel@panix.com>
Date2020-06-28 22:50 +0200
Message-ID<AmMpr-41R-1@gated-at.bofh.it>
In reply to#224156
If I run a gui, I prefer to be logged in before that gui starts up.
Probably systemctl disable lightdm as root then editing startx such that
the last line runs mate gets something like this done.

On Sun, 28 Jun 2020, Brian wrote:

> Date: Sun, 28 Jun 2020 15:53:59
> From: Brian <ad44@cityscape.co.uk>
> To: debian-user@lists.debian.org
> Subject: Re: Installing/launching MATE in a command line environment
> Resent-Date: Sun, 28 Jun 2020 19:54:15 +0000 (UTC)
> Resent-From: debian-user@lists.debian.org
>
> On Sun 28 Jun 2020 at 11:02:53 -0500, Richard Owlett wrote:
>
> > On 06/28/2020 10:15 AM, David Wright wrote:
> > > On Sun 28 Jun 2020 at 08:21:29 (-0500), Richard Owlett wrote:
> > > > The default install of the MATE desktop installs too much I don't want.
> > > > Unfortunately the Debian installer does not allow coerces the
> > > > installation of "recommended" packages.
> > > >
> > > > Therefore I did an install without *ANY* desktop environment.
> > > > [Used DVD1 of Debian 8.6, latest for which I had a physical DVD]
> > > >
> > > > I then did
> > > > apt-get --no-install-recommends install mate-desktop-environment gparted
> > > >
> > > > On reboot the desktop did not appear.
> > > >
> > > > What is the forgotten command to automatically launch the desktop at boot?
> > >
> > > You appear to want to install MATE manually without Recommends, rather
> > > than within the d-i and with Recommends.
> >
> > Yes.
> >
> > > In that case, you should
> > > install task-mate-desktop, not just mate-desktop-environment:
> > >
> > >      Package: task-mate-desktop
> > >      Depends: tasksel (= 3.53), task-desktop, mate-desktop-environment, lightdm
> > >      Recommends: gimp, synaptic, libreoffice, libreoffice-help-en-us, mythes-en-us, hunspell-en-us, hyphen-en-us, network-manager-gnome, orca, libreoffice-gtk3
> > >      Description: MATE
> > >        This task package is used to install the Debian desktop, featuring
> > >        the MATE desktop environment, and with other packages that Debian users
> > >        expect to have available on the desktop.
> > >
> >
> > Just tried that. Now the boot process does NOT complete.
> > It may have collided with other things I have tried.
> > I'll redo all from scratch to to eliminate that possibility.
> > This time I'll create a log file.
> > I'm not sure If I'll get back to it until tomorrow.
> > Thanks.
>
> All good stuff. All very interesting. All very resolvable when a user
> has a clue what he is doing. We have gone from unable to boot the MATE
> desktop to not being able to boot at all! Carry on installing. :)
>
> Debian installs Recommends: by default. Your issue demonstrates exactly
> why it was made so.
>
>

-- 

[toc] | [prev] | [next] | [standalone]


#224175

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2020-06-29 14:40 +0200
Message-ID<An1eO-4G5-7@gated-at.bofh.it>
In reply to#224157
On Sun, Jun 28, 2020 at 04:44:46PM -0400, Jude DaShiell wrote:
> If I run a gui, I prefer to be logged in before that gui starts up.
> Probably systemctl disable lightdm as root then editing startx such that
> the last line runs mate gets something like this done.

That's rather heavy-handed.

startx runs the user's ~/.xsession or, if no such file exists, the
user's ~/.xinitrc or, if no such file exists, the system-wide
/etc/X11/Xsession script.

The Debian /etc/X11/Xsession script runs the desktop environment
or window manager that was selected via the Debian "alternatives"
system, by checking for /usr/bin/x-session-manager or
/usr/bin/x-window-manager.  Both of which are configured via
update-alternatives.

A typical user running "startx" will either rely on the alternatives
system to decide what programs to run for the X session, or will write
a ~/.xsession file to take full control.

Editing startx itself is not a common choice, and I wouldn't recommend
it -- if for no other reason than simply because your edits will be
lost when the package is updated.

[toc] | [prev] | [next] | [standalone]


#224178

From<tomas@tuxteam.de>
Date2020-06-29 14:50 +0200
Message-ID<An1ou-4Js-9@gated-at.bofh.it>
In reply to#224175

[Multipart message — attachments visible in raw view] — view raw

On Mon, Jun 29, 2020 at 08:39:04AM -0400, Greg Wooledge wrote:
> On Sun, Jun 28, 2020 at 04:44:46PM -0400, Jude DaShiell wrote:
> > If I run a gui, I prefer to be logged in before that gui starts up.
> > Probably systemctl disable lightdm as root then editing startx such that
> > the last line runs mate gets something like this done.
> 
> That's rather heavy-handed.
> 
> startx runs the user's ~/.xsession or, if no such file exists, the
> user's ~/.xinitrc or, if no such file exists, the system-wide
> /etc/X11/Xsession script.

Agreed. The whole xsession config may seem complex at first, but
it is the right place to do it: it offers you a way of having
system-wide settings which can be overridden by users ("users?
What is users, anyway?" ;-)

Plus the probability that (re-) installing some package will
obliterate (or worse: half-obliterate) your work is way lower.

Cheers
-- t

[toc] | [prev] | [next] | [standalone]


#224202

FromJude DaShiell <jdashiel@panix.com>
Date2020-06-29 19:00 +0200
Message-ID<An5ip-74c-1@gated-at.bofh.it>
In reply to#224175
Do any utilities exist to help users intelligently edit ~/.xsession
files like fleacollar.sh for setting up mutt?

On Mon, 29 Jun 2020, Greg Wooledge wrote:

> Date: Mon, 29 Jun 2020 08:39:04
> From: Greg Wooledge <wooledg@eeg.ccf.org>
> To: debian-user@lists.debian.org
> Subject: Re: Installing/launching MATE in a command line environment
> Resent-Date: Mon, 29 Jun 2020 12:39:23 +0000 (UTC)
> Resent-From: debian-user@lists.debian.org
>
> On Sun, Jun 28, 2020 at 04:44:46PM -0400, Jude DaShiell wrote:
> > If I run a gui, I prefer to be logged in before that gui starts up.
> > Probably systemctl disable lightdm as root then editing startx such that
> > the last line runs mate gets something like this done.
>
> That's rather heavy-handed.
>
> startx runs the user's ~/.xsession or, if no such file exists, the
> user's ~/.xinitrc or, if no such file exists, the system-wide
> /etc/X11/Xsession script.
>
> The Debian /etc/X11/Xsession script runs the desktop environment
> or window manager that was selected via the Debian "alternatives"
> system, by checking for /usr/bin/x-session-manager or
> /usr/bin/x-window-manager.  Both of which are configured via
> update-alternatives.
>
> A typical user running "startx" will either rely on the alternatives
> system to decide what programs to run for the X session, or will write
> a ~/.xsession file to take full control.
>
> Editing startx itself is not a common choice, and I wouldn't recommend
> it -- if for no other reason than simply because your edits will be
> lost when the package is updated.
>
>

-- 

[toc] | [prev] | [next] | [standalone]


#224171 — [SOLVED] Re: Installing/launching MATE in a command line environment

FromRichard Owlett <rowlett@cloud85.net>
Date2020-06-29 12:10 +0200
Subject[SOLVED] Re: Installing/launching MATE in a command line environment
Message-ID<AmYTE-3nX-11@gated-at.bofh.it>
In reply to#224147
On 06/28/2020 10:15 AM, David Wright wrote:
> On Sun 28 Jun 2020 at 08:21:29 (-0500), Richard Owlett wrote:
>> The default install of the MATE desktop installs too much I don't want.
>> Unfortunately the Debian installer does not allow coerces the
>> installation of "recommended" packages.
>>
>> Therefore I did an install without *ANY* desktop environment.
>> [Used DVD1 of Debian 8.6, latest for which I had a physical DVD]
>>
>> I then did
>> apt-get --no-install-recommends install mate-desktop-environment gparted
>>
>> On reboot the desktop did not appear.
>>
>> What is the forgotten command to automatically launch the desktop at boot?
> 
> You appear to want to install MATE manually without Recommends, rather
> than within the d-i and with Recommends. In that case, you should
> install task-mate-desktop, not just mate-desktop-environment:

That worked.
Thanks

[toc] | [prev] | [next] | [standalone]


#224153

FromBrian <ad44@cityscape.co.uk>
Date2020-06-28 20:00 +0200
Message-ID<AmJKW-2mm-3@gated-at.bofh.it>
In reply to#224142
On Sun 28 Jun 2020 at 08:21:29 -0500, Richard Owlett wrote:

> The default install of the MATE desktop installs too much I don't want.

Mmm.

> Unfortunately the Debian installer does not allow coerces the installation
> of "recommended" packages.

This is not correct. The installer allows a determined user to override
the usual behaviour of tasksel. You are aware of this. Your choice; you
can coerce d-i into dong what you want.

The behaviour of tasksel is only "unfortunate" for your intended use.
For the vast majority of users it is exactly right. Those who take
another route would do well not to make assumptions and research the
possible outcome of their intended actions.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#224160

Fromsongbird <songbird@anthive.com>
Date2020-06-29 01:40 +0200
Message-ID<AmP3Y-5EW-13@gated-at.bofh.it>
In reply to#224142
Richard Owlett wrote:
...
> What is the forgotten command to automatically launch the desktop at boot?

  i use lightdm and edit the config file to have the
auto login happen.

  it just works (most of the time as i'm running testing
here or there sometimes a glitch does happen and i have
to either figure it out or live with it until i do).


  songbird

[toc] | [prev] | [next] | [standalone]


#224170

FromRichard Owlett <rowlett@cloud85.net>
Date2020-06-29 12:10 +0200
Message-ID<AmYTD-3nX-3@gated-at.bofh.it>
In reply to#224160
On 06/28/2020 06:33 PM, songbird wrote:
> Richard Owlett wrote:
> ...
>> What is the forgotten command to automatically launch the desktop at boot?
> 
>    i use lightdm and edit the config file to have the
> auto login happen.
> 
>    it just works (most of the time as i'm running testing
> here or there sometimes a glitch does happen and i have
> to either figure it out or live with it until i do).
> 

David Wright had pointed out my problem. Actual prime cause was a 
copying error in some personal notes.

I'll keep lightdm in mind for future experiments.
Thanks.

[toc] | [prev] | [next] | [standalone]


#224210

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-06-29 21:20 +0200
Message-ID<An7tT-6g-1@gated-at.bofh.it>
In reply to#224142

[Multipart message — attachments visible in raw view] — view raw

On Du, 28 iun 20, 08:21:29, Richard Owlett wrote:
> The default install of the MATE desktop installs too much I don't want.
> Unfortunately the Debian installer does not allow coerces the installation
> of "recommended" packages.
> 
> Therefore I did an install without *ANY* desktop environment.
> [Used DVD1 of Debian 8.6, latest for which I had a physical DVD]
> 
> I then did
> apt-get --no-install-recommends install mate-desktop-environment gparted
> 
> On reboot the desktop did not appear.
 
I'm guessing you meant the graphical login interface, in general we 
refer to "the desktop" as the stuff that shows up after you login.

> What is the forgotten command to automatically launch the desktop at boot?

According to dependencies of task-mate-desktop you need (at least):

    apt install lightdm


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.debian.user


csiph-web