installing gnome-terminal on a foreign distribution causes login to fail

  • Open
  • quality assurance status badge
Details
2 participants
  • Leo Famulari
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Maxim Cournoyer
Severity
normal
M
M
Maxim Cournoyer wrote on 13 Jan 2022 18:42
(name . bug-guix)(address . bug-guix@gnu.org)
87wnj3zg5h.fsf@gmail.com
Hello Guix,

I'm lacking investigation detail, but this seems worthy of reporting.

I had tested installing gnome-terminal from guix on top of a Debian
stable distribution, and was surprised that login would not longer work
(!) until I 'guix remove gnome-terminal' from a TTY.

We should investigate why (such as in a VM).

Maxim
L
L
Leo Famulari wrote on 13 Jan 2022 19:10
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 53233@debbugs.gnu.org)
YeBrIFJXfM72aYK/@jasmine.lan
On Thu, Jan 13, 2022 at 12:42:18PM -0500, Maxim Cournoyer wrote:
Toggle quote (8 lines)
> Hello Guix,
>
> I'm lacking investigation detail, but this seems worthy of reporting.
>
> I had tested installing gnome-terminal from guix on top of a Debian
> stable distribution, and was surprised that login would not longer work
> (!) until I 'guix remove gnome-terminal' from a TTY.

On Debian 11 (current stable), I did this:

recent commit, from today
|
------ ?
$ guix time-machine --commit=ea71ec1630e06503c14c6e7f4570b69de4e42123 -- install gnome-terminal
$ gnome-terminal
# Error creating terminal: The name org.gnome.Terminal was not provided by any .service files
$
------

So, it doesn't work in general. But, it also doesn't break login. I
tried `bash --login` and also logged in from the console in another TTY.

However, my system doesn't use a desktop environment or login manager. I
login from the console and run `startx`.
M
M
Maxim Cournoyer wrote on 13 Jan 2022 22:04
(name . Leo Famulari)(address . leo@famulari.name)(address . 53233@debbugs.gnu.org)
8735lrz6rs.fsf@gmail.com
Hi Leo!

Leo Famulari <leo@famulari.name> writes:

Toggle quote (20 lines)
> On Thu, Jan 13, 2022 at 12:42:18PM -0500, Maxim Cournoyer wrote:
>> Hello Guix,
>>
>> I'm lacking investigation detail, but this seems worthy of reporting.
>>
>> I had tested installing gnome-terminal from guix on top of a Debian
>> stable distribution, and was surprised that login would not longer work
>> (!) until I 'guix remove gnome-terminal' from a TTY.
>
> On Debian 11 (current stable), I did this:
>
> recent commit, from today
> |
> ------ ?
> $ guix time-machine --commit=ea71ec1630e06503c14c6e7f4570b69de4e42123 -- install gnome-terminal
> $ gnome-terminal
> # Error creating terminal: The name org.gnome.Terminal was not provided by any .service files
> $
> ------

Yes, this is because gnome-terminal installs dbus services that aren't
found without messing with the host dbus config.

Toggle quote (6 lines)
> So, it doesn't work in general. But, it also doesn't break login. I
> tried `bash --login` and also logged in from the console in another TTY.
>
> However, my system doesn't use a desktop environment or login manager. I
> login from the console and run `startx`.

OK, perhaps this explains why. My testing was with GDM/GNOME atop
Debian 9.

Thanks for trying it!

Maxim
?