#1128020 Split out phosh session scripts into phosh-session

#1128020#5
Date:
2026-02-15 09:48:08 UTC
From:
To:
Hi,
please consider dropping the "Recommends" by phoc on phosh.

Otherwise, whenever phrog is used as login manager, Phosh is automatically included,
that destroys the aim of re-using phrog as login manager for non-Phosh systems. [1]

Kind regards
Marco

[1]https://salsa.debian.org/Mobian-team/mobian-recipes/-/issues/56

#1128020#10
Date:
2026-02-15 09:59:27 UTC
From:
To:
Hi,

I don't think that this is useful as e.g. phrog needs the translations
from the phosh package so you really want that installed. Also the
overhead of the phosh package is minimal. (It's a bit like requesting
that gdm shouldn't depend on gnome-shell).

I guess what you *want* is not install the session scripts so the Phosh
session isn't available in phrog but at this point I'm just guessing.

Cheers,
 -- Guido

#1128020#15
Date:
2026-02-15 10:34:46 UTC
From:
To:
Hi Guido,
you're right, only the shell package is installed, then the size overhead is
minimal.

I tend to disagree on something like translations being needed: is there a relevant
usecase in the user interacting with a localized drop-down menu in phrog? I mean,
the main usecase should be for the user to do their things within the shell after
logging in. But this is not my field, maybe in Phrog/Phosh such usecase exists...

I've tried logging into the Phosh session: only Plasma apps are listed, a mix of GTK and
Qt (breeze?) icons are shown. I was also able to crash the shell and be brought back to
phrog: I guess this is not the Phosh shell's experience that should be provided to users,
even if they flashed the "plasma-mobile" image and tapped "Session: Phosh" for the sake
of curiosity. IMO removing session scripts is a good compromise.

PS: about the compositor depending on the shell thing, I still think users should install
the shell package (even better, the metapackage) and not install the lower-level dependencies
themselves. FTR I've just reported a similar issue on the Plasma side (#1128023)...

Kind regards
Marco

#1128020#20
Date:
2026-02-15 10:52:02 UTC
From:
To:
Hi,

Can we get a backtrace with debug symbols please?
Cheers,
 -- Guido

#1128020#31
Date:
2026-02-15 17:45:47 UTC
From:
To:
Il 15/02/26 11:52 AM, Guido Günther ha scritto:
Hi Guido,
yes of course, but that's another issue that brings us away from
the main point of this bug report. ;)

Phoc is the compositor used by the Phosh shell: Phosh needs Phoc,
not viceversa.

If you do not feel like dropping the Recommends in phoc, I guess
we will have to mask in some way Phosh' session file so that
phrog doesn't list it in plasma-mobile images on the Mobian side.
But it feels really a hack that would e.g. has side effects
in case the user really wants both Phosh and Plasma complete
systems on their system available to be
chosen in the login manager...

Kind regards
Marco

#1128020#36
Date:
2026-02-15 18:08:06 UTC
From:
To:
Hi,

You brought that up, not me ;) and I'd really like to see why things are
crashing as we go to great length to have stable sessions.
states) how would the Phosh session show up? (Keep in mind that the
phosh session setup is completely separate from the phosh binary,
there just in the same package atm).

Generally speaking: I would expect that Plasma Mobile images need to
*always* remove at least *one* package being pulled in as a dependency
when using phrog in their image builds as we always want the user to get
a fairly complete session automatically.

So in your current situation you'd basically just remove phosh from the
mobian PlaMo images. This will continue working when we split i18n files
into phosh-common and session scripts into phosh-session. As recommends
aren't pulled in on update you're done.

This should make it possible to use phrog in the PlaMo images with as
little risk of things breaking unexpectedly as possible and a reasonable
use experience with translated menu entries, etc.

Cheers,
 -- Guido

#1128020#39
Date:
2026-02-15 18:42:37 UTC
From:
To:
Hello,

Bug #1128020 in phosh reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/DebianOnMobile-team/phosh/-/commit/231506f340d41a3667f338f1a475f79287d23c66
------------------------------------------------------------------------
Introduce phosh-session

Split out the session scripts. This allows for a minimal
phosh without adding the actual a session. This can be
useful for e.g. nested experiments.

Closes: #968547
Closes: #1128020
Signed-off-by: Guido Günther <agx@sigxcpu.org>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1128020

#1128020#44
Date:
2026-02-15 18:43:58 UTC
From:
To:
Hello,

Bug #1128020 in phosh reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/DebianOnMobile-team/phosh/-/commit/b4888f4d615169ae3efd013e9ca531e0d980a8de
------------------------------------------------------------------------
Introduce phosh-session

Split out the session scripts. This allows for a minimal
phosh without adding the actual a session. This can be
useful for e.g. nested experiments.

Closes: #968547
Closes: #1128020
Signed-off-by: Guido Günther <agx@sigxcpu.org>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1128020

#1128020#47
Date:
2026-02-15 18:46:21 UTC
From:
To:
Hello,

Bug #1128020 in phosh reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/DebianOnMobile-team/phosh/-/commit/bb8d5a372a5d0ced74ff88d0dd60de2af2b6be9b
------------------------------------------------------------------------
Introduce phosh-session

Split out the session scripts. This allows for a minimal
phosh without adding the actual a session. This can be
useful for e.g. nested experiments.

Closes: #968547
Closes: #1128020
Signed-off-by: Guido Günther <agx@sigxcpu.org>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1128020

#1128020#50
Date:
2026-02-20 20:46:27 UTC
From:
To:
Hello,

Bug #1128020 in phosh reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/DebianOnMobile-team/phosh/-/commit/d36d69952788383a3ad8991695912e7fc5d3767f
------------------------------------------------------------------------
Introduce phosh-session

Split out the session scripts. This allows for a minimal
phosh without adding the actual a session. This can be
useful for e.g. nested experiments.

Closes: #968547
Closes: #1128020
Signed-off-by: Guido Günther <agx@sigxcpu.org>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1128020

#1128020#53
Date:
2026-05-17 10:04:57 UTC
From:
To:
Hello,

Bug #1128020 in phosh reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/DebianOnMobile-team/phosh/-/commit/e2781819f080376954416f99286c3bf73e6ec830
------------------------------------------------------------------------
Introduce phosh-session

Split out the session scripts. This allows for a minimal
phosh without adding the actual session. This can be
useful for e.g. nested experiments.

Closes: #968547
Closes: #1128020
Signed-off-by: Guido Günther <agx@sigxcpu.org>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1128020