Switching from console back to X (ALT+F7) not working properly recently?

Hi all, I just noticed that switching from the GUI to a console (CTRL+ALT+Number) works, but switching back to the GUI (X-Session) is not working. It seems I have to use ALT+F7 and then use STRG+ALT+Number (as if I want to switch to another console), which instead takes me back to the GUI. Anyone else having this? Two laptops with recent (June) snapshots installed, both using KDE/Plasma with X. Both showing this issue. Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Hi, Am Samstag, 8. Juli 2023, 21:58:21 CEST schrieb Johannes Kastl:
Hi all,
I just noticed that switching from the GUI to a console (CTRL+ALT+Number) works, but switching back to the GUI (X-Session) is not working. It seems I have to use ALT+F7 and then use STRG+ALT+Number (as if I want to switch to another console), which instead takes me back to the GUI.
Anyone else having this? Two laptops with recent (June) snapshots installed, both using KDE/Plasma with X. Both showing this issue.
SDDM 0.20 uses the first free VT now, no longer restricted to tty7+. By default that's tty2, i.e. you'll have to press Ctrl+Alt+F2. Cheers, Fabian
Kind Regards, Johannes
-- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de
B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Hi Fabian, thanks for the quick reply. On 08.07.23 at 22:01 Fabian Vogt wrote:
Am Samstag, 8. Juli 2023, 21:58:21 CEST schrieb Johannes Kastl:
I just noticed that switching from the GUI to a console (CTRL+ALT+Number) works, but switching back to the GUI (X-Session) is not working. It seems I have to use ALT+F7 and then use STRG+ALT+Number (as if I want to switch to another console), which instead takes me back to the GUI.
SDDM 0.20 uses the first free VT now, no longer restricted to tty7+. By default that's tty2, i.e. you'll have to press Ctrl+Alt+F2.
Hmm, I am just testing this and it seems X is on tty2. But in the last couple of days I am sure I was seeing a console on tty2, and I needed the "workaround" to get to X again. I'll monitor this in the next couple of days. Anyways, can this be configured? Can I tell SDDM to use tty7 as before? Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Hi, Am Samstag, 8. Juli 2023, 22:05:28 CEST schrieb Johannes Kastl:
Hi Fabian,
thanks for the quick reply.
On 08.07.23 at 22:01 Fabian Vogt wrote:
Am Samstag, 8. Juli 2023, 21:58:21 CEST schrieb Johannes Kastl:
I just noticed that switching from the GUI to a console (CTRL+ALT+Number) works, but switching back to the GUI (X-Session) is not working. It seems I have to use ALT+F7 and then use STRG+ALT+Number (as if I want to switch to another console), which instead takes me back to the GUI.
SDDM 0.20 uses the first free VT now, no longer restricted to tty7+. By default that's tty2, i.e. you'll have to press Ctrl+Alt+F2.
Hmm, I am just testing this and it seems X is on tty2. But in the last couple of days I am sure I was seeing a console on tty2, and I needed the "workaround" to get to X again. I'll monitor this in the next couple of days.
Anyways, can this be configured? Can I tell SDDM to use tty7 as before?
No, the MinimumVT option became victim of refactoring. There was an attempt to reintroduce it in a simple way but that does not work: https://github.com/sddm/sddm/issues/1650 Cheers, Fabian
Kind Regards, Johannes
-- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de
B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

On Saturday 2023-07-08 22:10, Fabian Vogt wrote:
SDDM 0.20 uses the first free VT now, no longer restricted to tty7+. By default that's tty2, i.e. you'll have to press Ctrl+Alt+F2.
the MinimumVT option became victim of refactoring. There was an attempt to reintroduce it in a simple way but that does not work: https://github.com/sddm/sddm/issues/1650
Refucktoring, great. systemctl enable getty@tty{2,3,4,5,6} might get you there with some cheating.

On Sun, 9 Jul 2023 02:34:15 +0200 (CEST), Jan Engelhardt <jengelh@inai.de> wrote:
On Saturday 2023-07-08 22:10, Fabian Vogt wrote:
SDDM 0.20 uses the first free VT now, no longer restricted to tty7+. By default that's tty2, i.e. you'll have to press Ctrl+Alt+F2.
the MinimumVT option became victim of refactoring. There was an attempt to reintroduce it in a simple way but that does not work: https://github.com/sddm/sddm/issues/1650
Refucktoring, great.
systemctl enable getty@tty{2,3,4,5,6}
might get you there with some cheating.
OK. Cool. What about a command to tell which VT(s) are X? Or just switch you to the first one? -- Robert Webb

On Sunday 2023-07-09 04:40, Robert Webb via openSUSE Factory wrote:
SDDM 0.20 uses the first free VT now, no longer restricted to tty7+. By default that's tty2, i.e. you'll have to press Ctrl+Alt+F2.
the MinimumVT option became victim of refactoring.
What about a command to tell which VT(s) are X? Or just switch you to the first one?
/usr/bin/X :0 vt7 Without an explicit vt parameter, first free is used. So if SDDM does not start the X server that way because someone broke SDDM, I guess you're SOL.

On 2023-07-09 02:34, Jan Engelhardt wrote:
On Saturday 2023-07-08 22:10, Fabian Vogt wrote:
SDDM 0.20 uses the first free VT now, no longer restricted to tty7+. By default that's tty2, i.e. you'll have to press Ctrl+Alt+F2.
the MinimumVT option became victim of refactoring. There was an attempt to reintroduce it in a simple way but that does not work: https://github.com/sddm/sddm/issues/1650
Refucktoring, great.
Googling "refactoring". Refactoring: clean your code Refactoring.Guru https://refactoring.guru › refactoring Refactoring is a systematic process of improving code without creating new functionality that can transform a mess into clean code and simple design. Code refactoring Software class In computer programming and software design, code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behavior. Refactoring is intended to improve the design, structure, and/or implementation of the software, while preserving its functionality. Wikipedia Doesn't say anything about removing existing functionality >:-}
systemctl enable getty@tty{2,3,4,5,6}
might get you there with some cheating.
-- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)

On Sun, 9 Jul 2023 12:29, Carlos E. R. <robin.listas@...> wrote:
On 2023-07-09 02:34, Jan Engelhardt wrote:
On Saturday 2023-07-08 22:10, Fabian Vogt wrote:
SDDM 0.20 uses the first free VT now, no longer restricted to tty7+. By default that's tty2, i.e. you'll have to press Ctrl+Alt+F2.
the MinimumVT option became victim of refactoring. There was an attempt to reintroduce it in a simple way but that does not work: https://github.com/sddm/sddm/issues/1650
Refucktoring, great.
Googling "refactoring".
Refactoring: clean your code <snip>
Doesn't say anything about removing existing functionality >:-}
Yep THAT ist THE difference between "refactoring" and "refucktoring". Sadly the later esp. combined with added "featuritis" is much more common. Makes me go "grrr" as a user and "brrr" as a contributor to a project. F..k that shit with a thermal lance. In german there is a word for such a happening: "Verschlimmbesserung" literally: make-it-worse-by-making-it-better. - Yamaban.

Johannes Kastl composed on 2023-07-08 21:58 (UTC+0200):
I just noticed that switching from the GUI to a console (CTRL+ALT+Number) works, but switching back to the GUI (X-Session) is not working. It seems I have to use ALT+F7 and then use STRG+ALT+Number (as if I want to switch to another console), which instead takes me back to the GUI.
Anyone else having this? Two laptops with recent (June) snapshots installed, both using KDE/Plasma with X. Both showing this issue.
Just because Plasma is your primary DE doesn't dictate you use SDDM as display manager. The following still run plasma X11 on vtty7 here without any reconfiguration necessary: KDM3 (repositories/KDE:/KDE3) LightDM TDM <https://wiki.trinitydesktop.org/OpenSUSE_Trinity_Repository_Installation_Instructions> XDM -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
participants (9)
-
Carlos E. R.
-
Fabian Vogt
-
Felix Miata
-
Jan Engelhardt
-
Johannes Kastl
-
Kilian Hanich
-
mh@mike.franken.de
-
Robert Webb
-
Yamaban