Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

debian 12 broken login when switching virtual console

61 views
Skip to first unread message

digit...@gmx.de

unread,
Mar 11, 2023, 4:10:05 PM3/11/23
to

Hello,

i have installed (alpha 2 release) Debian 12 (with KDE) on two machines and on both the sddm session crashes when i switch the virtual console.

If i am logged in an active KDE session and i switch to the virtual console with: strg alt f2

and switch back i am logged out of my active session but i can't login because the login 

screen is frozen with a "pre typed" password.

I can only move my mouse, and pressing any key does nothing. 


Also after klicking on standby in the active KDE session, breaks the track pad in sddm and 

is still broken after login. 


Does somebody had same problems before and fixed it? 


Regards Felix 

Timothy M Butterworth

unread,
Mar 11, 2023, 4:20:06 PM3/11/23
to
I have KDE 5.27.2 with Frameworks 5.103 and mine works fine. What version do you have? There were a lot of updates recently.

Tim

--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

digit...@gmx.de

unread,
Mar 11, 2023, 4:30:06 PM3/11/23
to
Am Samstag, 11. März 2023, 22:14:52 CET schrieb Timothy M Butterworth:
> On Sat, Mar 11, 2023 at 4:06 PM <digit...@gmx.de> wrote:
> > Hello,
> >
> > i have installed (alpha 2 release) Debian 12 (with KDE) on two machines
> > and on both the sddm session crashes when i switch the virtual console.
> >
> > If i am logged in an active KDE session and i switch to the virtual
> > console with: strg alt f2
> >
> > and switch back i am logged out of my active session but i can't login
> > because the login
> >
> > screen is frozen with a "pre typed" password.
> >
> > I can only move my mouse, and pressing any key does nothing.
> >
> >
> > Also after klicking on standby in the active KDE session, breaks the track
> > pad in sddm and
> >
> > is still broken after login.
> >
> >
> > Does somebody had same problems before and fixed it?
> >
> >
> > Regards Felix
>
> I have KDE 5.27.2 with Frameworks 5.103 and mine works fine. What version
> do you have? There were a lot of updates recently.
>
> Tim

i have the same versions as you do .
My installation is a complete new one from the alpha2 installer.

Felix

Van Snyder

unread,
Mar 11, 2023, 5:10:06 PM3/11/23
to
On Sat, 2023-03-11 at 22:26 +0100, digit...@gmx.de wrote:
My installation is a complete new one from the alpha2 installer.

What's the "alpha2 installer?"

I usually do a netinst. Then I have to install each thing I actually use when I discover that it's not installed by netinst.

I need development tools. I need LaTeX. I use some old stuff such as xv and pdftk....

Is there in an installer that lets me choose more than a basic system?

digit...@gmx.de

unread,
Mar 11, 2023, 5:30:06 PM3/11/23
to
yeah sorry my fault.
i looked it now up...i meant that i used the netinst, with i guess the new
Debian Installer Bookworm Alpha 2 but i dont know that for sure.
so to be more precise i
just used the netinst iso from https://www.debian.org/devel/debian-installer

Felix

Andrew M.A. Cater

unread,
Mar 11, 2023, 5:30:06 PM3/11/23
to
So: once you've got a system up and running using netinst, then you can
use apt.

If you use the netinst to install, there are several desktop environments
to choose from - the tasksel screen.

apt install build-essential will give you some development tools.

apt cache show texlive* will show more TeX than you'd know what to do with.

apt install texlive gives you 24 packages and 129M of software space used.

If the netinst is too limiting for you, try a DVD. If the DVD is too limiting
then you can use jigdo to produce a 16G image, a Blu-Ray disk image ...

I can't see XV in modern Debian but pdftk is an apt command away ...
Debian has more than 40,000 packages - the combinatorial explosion
of possible package combinations someone might want to make their
ssytem the way they want is huge - but apt will pull in the packags for you.

All the very best, as ever,

Andy Cater

Vincent Lefevre

unread,
Mar 11, 2023, 6:20:06 PM3/11/23
to
But netinst is just an installation method used by the installer
(e.g. alpha2 installer), isn't it?

--
Vincent Lefèvre <vin...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Greg Wooledge

unread,
Mar 11, 2023, 6:40:05 PM3/11/23
to
On Sat, Mar 11, 2023 at 02:07:53PM -0800, Van Snyder wrote:
> What's the "alpha2 installer?"
>
> I usually do a netinst. Then I have to install each thing I actually
> use when I discover that it's not installed by netinst.
>
> I need development tools. I need LaTeX. I use some old stuff such as
> xv and pdftk....
>
> Is there in an installer that lets me choose more than a basic system?

The Debian installer is a suite of programs and stuff. Kinda like a
package, except it's special. Each time there's a new Debian release,
the Debian installer has to be updated to support whatever new features
the new version of Debian is supposed to have.

So, you've got a development and debugging cycle of the installer itself.
That's what the "alpha 2" refers to here -- the second alpha release of
the Debian installer for bookworm.

It has nothing to do with the state of bookworm itself. All of the
packages that will be part of bookworm go through their own entirely
separate development and debugging processes. Release Critical bugs
are tracked, and need to be resolved, and so on.

An installation image is the combination of the Debian installer and
a handful of packages. There are several different installation images
of differing sizes. The difference between them is the number of extra
packages that are included alongside the installer.

The "netinst" images are the smallest ones. They include just enough
packages to get the standard Debian system up and running without needing
to download anything from the Internet at installation time.

The "DVD" images are much larger. They contain enough packages to fill
up a DVD (4.7 GB or so).

In all cases, you're using the same installer. The installation *process*
doesn't change. After the base system has been installed, you're given a
menu from which you can select additional software to install -- SSH server,
various Desktop Environments, and so on.

If you select some of these things from a "netinst" installation image,
you may have to download a bunch of packages from the Internet during
the installation.

If you select that same thing from a "DVD" installation image, there's a
higher chance that the packages you're installing are already on your
installation medium, and won't have to be downloaded.

That's the SOLE difference.

After the installation is done, you reboot into the new system. From
there, you can continue installing other packages if you want.
Experienced users often have a good idea which packages they want, and
may just do something like "apt install build-essential xorg fvwm mutt ...".
Newcomers will probably take longer to learn what packages are available,
what they do, which ones would be helpful to install on their systems,
etc.

Adding extra packages in this way isn't part of the installer, because
it doesn't have to be. You can simply do it after rebooting.

If you're installing several systems concurrently and want them all to
have the same set of packages, there are tools to automate this. This
is beyond the scope of this thread, but if you want to know about this
stuff, you can always ask. I'm sure someone on the mailing list will
be able to help you with it.

Greg Wooledge

unread,
Mar 11, 2023, 9:00:05 PM3/11/23
to
On Sat, Mar 11, 2023 at 05:41:23PM -0800, Van Snyder wrote:
> With other distributions, for example back when Scientific Linux
> actually existed, the list of "additional software to install" provided
> by the installer was much larger. It included development software,
> publishing software, web serverrs, ....
>
> Are these not in the list in the recent Debian installers because they
> don't fit nicely on one non-graphic-installer's screen?

If you want the exact reasoning behind the decisions made by the Debian
installer's developers, you'll have to ask them. Here, we can only
speculate.

Let's take "web server" as an example, because at least I know a little
bit about those. There are at least two major web servers in common
use on Linux web servers -- Apache and nginx. A choice for "web server"
10 or 20 years ago might have been clear, because it was almost always
gonna be Apache. Only a *tiny* minority would want aolserver or some
other choice. But now? There are major competing products, and for
the installer to choose one arbitrarily might alienate a big chunk of
the people who want a different choice.

The overwhelming number of options and configurations available on a
Debian system means that the person installing the software is the best
one to make choices about what to install, and how to set it up.

davidson

unread,
Mar 12, 2023, 6:10:06 AM3/12/23
to
On Sat, 11 Mar 2023 digit...@gmx.de wrote:
> Hello,
> i have installed (alpha 2 release) Debian 12 (with KDE) on two machines

So you decided stable was too boring, and chose to install testing.

> and on both the sddm session crashes when i switch the virtual
> console. If i am logged in an active KDE session and i switch to
> the virtual console with: strg alt f2 and switch back i am logged
> out of my active session but i can't login because the login screen
> is frozen with a "pre typed" password. I can only move my mouse,
> and pressing any key does nothing.
>
> Also after klicking on standby in the active KDE session, breaks the
> track pad in sddm and is still broken after login.
>
> Does somebody had same problems before and fixed it?

Have you read this page?

Debian-Installer errata
https://www.debian.org/devel/debian-installer/errata

Errata for Bookworm Alpha 2

This is a list of known problems in the Bookworm Alpha 2 release of
the Debian Installer. If you do not see your problem listed here,
please send us an installation report[1] describing the problem.

[1] https://www.debian.org//releases/stable/amd64/ch05s04#submit-bug

--
Ce qui est important est rarement urgent
et ce qui est urgent est rarement important
-- Dwight David Eisenhower

davidson

unread,
Mar 12, 2023, 6:50:04 AM3/12/23
to
On Sat, 11 Mar 2023 digit...@gmx.de wrote:
> Hello,
> i have installed (alpha 2 release) Debian 12 (with KDE) on two machines and on both
> the sddm session crashes when i switch the virtual console.
> If i am logged in an active KDE session and i switch to the virtual console with: strg alt f2
> and switch back i am logged out of my active session but i can't login because the login
> screen is frozen with a "pre typed" password.
> I can only move my mouse, and pressing any key does nothing.

I don't use KDE. Forgive my speculation.

Q: Where did the "pre-typed" password come from?
A: You typed it. You are looking at tty used by the dm greeter, not
the one used by your graphical desktop session

Q: Where is your graphical desktop session?
A: On some other tty. That is, you didn't "switch back" to your
session. You switched to the greeter. Output from the 'w' command
might give you some clues about who is using what tty.

These are just guesses, unlikely to be correct.

digit...@gmx.de

unread,
Mar 12, 2023, 7:10:06 AM3/12/23
to
Am Sonntag, 12. März 2023, 11:47:23 CET schrieb davidson:
> On Sat, 11 Mar 2023 digit...@gmx.de wrote:
> > Hello,
> > i have installed (alpha 2 release) Debian 12 (with KDE) on two machines
> > and on both the sddm session crashes when i switch the virtual console.
> > If i am logged in an active KDE session and i switch to the virtual
> > console with: strg alt f2 and switch back i am logged out of my active
> > session but i can't login because the login screen is frozen with a "pre
> > typed" password.
> > I can only move my mouse, and pressing any key does nothing.
>
> I don't use KDE. Forgive my speculation.
>
> Q: Where did the "pre-typed" password come from?
> A: You typed it. You are looking at tty used by the dm greeter, not
> the one used by your graphical desktop session
>
> Q: Where is your graphical desktop session?
> A: On some other tty. That is, you didn't "switch back" to your
> session. You switched to the greeter. Output from the 'w' command
> might give you some clues about who is using what tty.
>
> These are just guesses, unlikely to be correct.
If i start my laptop the sddm session starts on tty7 as normal.
then i can login just normal and my desktop(kde) starts.

But then, when i change from tty7 (where my active kde session is) to any
other tty and then back to tty7 i get the sddm login screen with my greyed
"pre-typed" password.
Its the same image as if you login, hit enter , and then the image after that
(just before the kde loading screen starts)
Problem is, i can only move my mouse and pressing any key does nothing.

Andrew M.A. Cater

unread,
Mar 12, 2023, 7:50:06 AM3/12/23
to
On Sat, Mar 11, 2023 at 05:41:23PM -0800, Van Snyder wrote:
> On Sat, 2023-03-11 at 18:32 -0500, Greg Wooledge wrote:
> > The installation *process*
> > doesn't change. After the base system has been installed, you're given a
> > menu from which you can select additional software to install -- SSH server,
> > various Desktop Environments, and so on....
> >
> > After the installation is done, you reboot into the new system. From
> > there, you can continue installing other packages if you want.
> > Experienced users often have a good idea which packages they want, and
> > may just do something like "apt install build-essential xorg fvwm mutt ...".
> > Newcomers will probably take longer to learn what packages are available,
> > what they do, which ones would be helpful to install on their systems,
> > etc.
>
> With other distributions, for example back when Scientific Linux
> actually existed, the list of "additional software to install" provided
> by the installer was much larger. It included development software,
> publishing software, web serverrs, ....
>

Other distributions do things differently: CentOS/Red Hat/Almalinux and Rocky
split their software down into slightly finer grained small collections
of packages. I'm fairly sure that very few people go beyond "server with GUI"
which has most of the twenty-odd subcategories in it. Red Hat is also,
primarily, still a server distribtuion. And Red Hat-alikes ship many
fewer packages by default - almost everything you find in Debian will come from
EPEL or another third party repository.

The GNOME metapackage installs 1300+ Debian packages - including games,
Libreoffice and so on. It's a compromise for *most* users' needs. The tasksel
screen gives you a series of those large desktop metapackages(KDE ...) and then
three specific small subsets: web server (which currently installs Apache 2.*)
ssh server - which installs openssh server - so you can SSH into a machine)
and laptop which has various utilities primarily for laptops.

> Are these not in the list in the recent Debian installers because they
> don't fit nicely on one non-graphic-installer's screen?
>

The tasksel selection is metapackages - and not all of them. If you're doing
software development, and install build-essential that will pull in a
selection broadly equivalent to Software Development on Red Hat, for
example.

Hope this helps,

Andy Cater.

Thomas Schmitt

unread,
Mar 12, 2023, 9:20:06 AM3/12/23
to
Hi,

Van Snyder wrote:
> > I use some old stuff such as xv

Andrew M.A. Cater wrote:
> I can't see XV in modern Debian

That's most probably because of its license terms as "shareware".

I love it much and it turns out that my Debian 11 uses a binary which i
made on a SuSE machine about 10 years ago:
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.4

So just for curiosity i tried what happens if i build xv on Debian 11.

wget ftp://ftp.trilon.com/pub/xv/xv-3.10a.tar.gz
tar xzf xv-3.10a.tar.gz
cd xv-3.10a
view INSTALL

The INSTALL file gives information about systems of the 1990s, not
mentioning GNU/Linux. It falls probably under "GCC". So i simply did

make

This earns me the error message

xv.h:123:25: error: conflicting types for ‘sys_errlist’
123 | extern const char *sys_errlist[]; /* this too... */
| ^~~~~~~~~~~
In file included from /usr/include/stdio.h:781,
from xv.h:103,
from xv.c:11:
/usr/include/x86_64-linux-gnu/bits/sys_errlist.h:27:26: note: previous declaration of ‘sys_errlist’ was here
27 | extern const char *const sys_errlist[];

So i change in ./xv.h

- extern const char *sys_errlist[]; /* this too... */
+ extern const char *const sys_errlist[]; /* this too... */

and run again

make

After some ugly warnings the run ends and there exists

$ ls -l ./xv
-rwxr-xr-x 1 thomas thomas 1376536 Mar 12 13:46 ./xv

It starts and can show its JPEG picture:

./xv jpeg/testimg.jpg &

About dependencies:

$ ldd ./xv
linux-vdso.so.1 (0x00007ffc695b5000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f8350da2000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8350c5e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8350a99000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f8350a6e000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8350a68000)
/lib64/ld-linux-x86-64.so.2 (0x00007f83510ad000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f8350a63000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f835085b000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f8350844000)
libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f8350837000)

The compiler equipment is probably provided by Debian package
"build-essential".
I assume that i got the X stuff when the system was installed as Debian 10
with XFCE desktop. Meanwhile it is Debian 11 with fvwm.
Maybe others can tell what packages are necessary to provide the above
libraries and their development include headers.


Have a nice day :)

Thomas

Greg Wooledge

unread,
Mar 12, 2023, 10:30:06 AM3/12/23
to
On Sun, Mar 12, 2023 at 02:09:09PM +0100, Thomas Schmitt wrote:
> So just for curiosity i tried what happens if i build xv on Debian 11.
>
> wget ftp://ftp.trilon.com/pub/xv/xv-3.10a.tar.gz
> tar xzf xv-3.10a.tar.gz
> cd xv-3.10a
> view INSTALL

Debian used to include xv, with patches and PNG support. So that's
what I use as my starting point.

unicorn:~$ dpkg -l xv | tail -n1
ii xv 3.10a-20 amd64 An image viewer and manipulator for the X Window System.

unicorn:~$ dpkg -s xv | grep Depends
Depends: libc6 (>= 2.14), libjpeg62-turbo (>= 1.3.1), libpng12-0 (>= 1.2.13-4), libtiff5 (>= 4.0.3), libx11-6, zlib1g (>= 1:1.1.4)

Note that it needs the *old* PNG library (12), not the new one with the
incompatible API (16).

unicorn:~$ dpkg -l libpng\* | grep ^.i
ii libpng-dev:amd64 1.6.37-3 amd64 PNG library - development (version 1.6)
ii libpng-tools 1.6.37-3 amd64 PNG library - tools (version 1.6)
ii libpng12-0:amd64 1.2.54-6 amd64 PNG library - runtime
ii libpng16-16:amd64 1.6.37-3 amd64 PNG library - runtime (version 1.6)
ii libpng16-16:i386 1.6.37-3 i386 PNG library - runtime (version 1.6)

I'm not sure how difficult it would be to build this package on
current stable Debian. I've still got my xv_3.10a-20_amd64.deb file
(last built in 2015), so I just use that, and make sure the PNG dependency
is met.

Thomas Schmitt

unread,
Mar 12, 2023, 11:10:06 AM3/12/23
to
Hi,

Greg Wooledge wrote:
> Debian used to include xv, with patches and PNG support.

I wonder how the xv license permitted this.
The only trace i found is a dead link at "XV Jumbo Patches"
http://www.gregroelofs.com/greg_xv.html
"fully patched XV source code (but Debian has permission)"


> unicorn:~$ dpkg -s xv | grep Depends
> Depends: libc6 (>= 2.14), libjpeg62-turbo (>= 1.3.1), libpng12-0 (>=
> 1.2.13-4), libtiff5 (>= 4.0.3), libx11-6, zlib1g (>= 1:1.1.4)

This differs much from the ldd list of my freshly made ./xv.
Obviously the tarball brought its own implementation for JPEG reading.
State of the art in 1995. Still usable.


> I'm not sure how difficult it would be to build this package on
> current stable Debian.

Modern graphics libraries would indeed be nice.
(I could donate a smoother image size scaler, if not the jumbo patches
contain something better.)
0 new messages