Bug#897338: sddm: Cannot launch SDDM at boot time and from console

2019-07-13 Thread Jens Radloff
Hi,

I have found a solution for the behaviour on my machine with an AMD Radeon 
graphic card and with regard to Debian Buster 10.0, by doing a search on the 
Internet.

The following packets need to be installed:

firmware-linux
firmware-linux-nonfree
libdrm-amdgpu1
xserver-xorg-video-amdgpu

I found this information at

https://linuxconfig.org/how-to-install-the-latest-amd-drivers-on-debian-10-buster

Two of these packets were already installed in my Debian Buster installation. 

Now sddm is shown at the end of the start process of Debian Buster, and I can 
successfully log into KDE.

Regards,

Jens



Bug#897338: sddm: Cannot launch SDDM at boot time and from console

2019-07-10 Thread Jens Radloff
Update:

I tried the following iso images:

a) the official Debian Buster Live DVD with KDE image at https://
cdimage.debian.org/cdimage/release/current-live/amd64/iso-hybrid/debian-
live-10.0.0-amd64-kde.iso 

=> Running this image live results at the end of the loading process from DVD 
in a console prompt. No graphical environment is shown. It seems to make no 
sense to install this image to the hard drive.

b) the unofficial Debian Buster Live DVD with non-free packages and KDE at 
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/
current-live/amd64/iso-hybrid/debian-live-10.0.0-amd64-kde+nonfree.iso 

=> Running this image live results at the end of the loading process from DVD 
in displaying KDE. From there, if you install Debian Buster on the hard drive 
running the graphical installation program you are not asked in that program 
to enter the password for user root, only for the normal user. This results in 
an installation in which you do not know the password for user root.

Regards,

Jens



Bug#897338: sddm: Cannot launch SDDM at boot time and from console

2019-07-10 Thread Jens Radloff
Hi,

I installed Debian 10.0 ("Buster"), the current stable Debian release since 
some days, on my testing machine using a Netinstall CD. 

During the installation process I deactivated the installation of Gnome and 
instead activated the installation of KDE Plasma. So this installation is no 
upgrade from Debian 9.x ("Stretch"), but a new installation.

My testing machine has no Nvidia hardware. I did not install Debian Buster 
into an instance of Virtualbox.

Debian Buster starts successfully but does not present a login manager to KDE 
at the end of the boot/start process. Instead the console is shown on tty1. 
Until here no /var/log/Xorg.0.log gets created. If I enter "startx" as root or 
the normal user in the console, then KDE starts successfully.

The package sddm is installed.

The file /etc/X11/default-display-manager contains "/usr/bin/sddm".

I have an AMD Radeon graphic card, i.e. a Radeon HD 4350/4550.

Installing the package firmware-amd-graphics (thanks for this hint to user towo 
from an Internet forum) does not resolve the behaviour.

The command "journalctl | grep sddm" (thanks for this hint to user MSfree from 
an Internet forum) results in the following output ("startx" has not been 
executed before):

--- Quote Beginning ---

root@xxx:/home/yyy# journalctl|grep sddm
Jul 09 13:16:06 shit sddm[401]: Initializing...
Jul 09 13:16:06 shit sddm[401]: Starting...
Jul 09 13:16:06 shit sddm[401]: Logind interface found
root@xxx:/home/yyy#

--- Quote End ---

The command "systemctl enable sddm" (thanks for this hint to user wanne from 
an Internet forum) results in the following output:

--- Quote Beginning ---

Synchronizing state of sddm.service with SysV service script with /lib/
systemd/systemd-sysv-install
Executing: /lib/systemd/systemd-sys-install enable sddm

The unit files have no installation config (WantedBy=, RequiredBy=, Also=, 
Alias= settings in the [Install] section and DefaultInstance= for template 
units). This means they are not meant to be enabled using systemctl.

Possible reasons for having this kind of units are:
- A unit may be statically enabled by being symlinked from another unit's 
.wants/ or .requires/ directory.
- A unit's purpose may be to act as a helper for some other unit which has a 
requirement dependency on it
- A unit may be started when needed via activation (socket, path, timer, D-
Bus. udev, scripted systemctl call ...)
- In case of template units, the unit is meant to be enabled with some 
instance name specified.

--- Quote End ---

Regards,

Jens



Bug#897338: sddm: Cannot launch SDDM at boot time and from console

2018-08-01 Thread Boris Pek
Hi,

> Hi, I am on Debian Unstable on real hardware and I have the same problem,
> SDDM launches but there is dark screen on TTY7 with only my mouse.

Try instructions from Debian wiki [1]. They solved this problem for NVIDIA
GeForce GTX 1050 Ti Mobile on my laptop.

[1] https://wiki.debian.org/NvidiaGraphicsDrivers/Optimus

Best wishes,
Boris



Bug#897338: sddm: Cannot launch SDDM at boot time and from console

2018-05-29 Thread Kevin Messer
Hi, I am on Debian Unstable on real hardware and I have the same problem,
SDDM launches but there is dark screen on TTY7 with only my mouse.

-- 
Kevin Messer


Bug#897338: sddm: Cannot launch SDDM at boot time and from console

2018-05-02 Thread Александр Керножицкий
> Is X started at all?

It seems that X is not started. Checked it using 'top' command and searching 
'Xorg' process.
 
> What's the output of `` update-alternatives --query sddm-debian-theme `` ?

Name: sddm-debian-theme
Link: /usr/share/sddm/themes/debian-theme
Status: auto
Best: /usr/share/sddm/themes/debian-maui
Value: /usr/share/sddm/themes/debian-maui

Alternative:  /usr/share/sddm/themes/debian-maui
Priority: 40

> It seems that there is a known issue upstream with some nvidia drivers:
> https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1762885
> https://github.com/sddm/sddm/issues/1019
> 
> Are you using a nvidia card? Can you please check if the problem goes away 
> with an older version of the nvidia drivers?

No, I don't use NVidia graphics cards, I reproduced the bug on VirtualBox.



Bug#897338: sddm: Cannot launch SDDM at boot time and from console

2018-05-01 Thread Maximiliano Curia

¡Hola Alexander!

El 2018-05-01 a las 17:12 +0300, Alexander Kernozhitsky escribió:

Package: sddm
Version: 0.17.0-1
Severity: grave
Justification: renders package unusable


I tried to do a fresh install of Debian Testing with KDE. After installing 
it, SDDM did not launch. Launching it manually with "sudo systemctl start 
sddm" did not have effect also.



"systemctl status sddm" shows the following:



● sddm.service - Simple Desktop Display Manager
  Loaded: loaded (/lib/systemd/system/sddm.service; indirect; vendor preset: 
enabled)
  Active: active (running) since Tue 2018-05-01 16:56:33 +03; 12min ago
Docs: man:sddm(1)
  man:sddm.conf(5)
 Process: 412 ExecStartPre=/bin/sh -c [ "$(cat /etc/X11/default-display-manager 
2>/dev/
Main PID: 421 (sddm)
   Tasks: 2 (limit: 1156)
  Memory: 11.7M
  CGroup: /system.slice/sddm.service
  └─421 /usr/bin/sddm



Though I don't see the login screen, tty7 is blank.


I tried to rebuild and install sddm from Ubuntu Bionic (where it works), but 
met the same problem. Installing sddm 0.14.0-4 from stable did solve the 
problem.


Is X started at all?

What's the output of `` update-alternatives --query sddm-debian-theme `` ?

It seems that there is a known issue upstream with some nvidia drivers:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1762885
https://github.com/sddm/sddm/issues/1019

Are you using a nvidia card? Can you please check if the problem goes away 
with an older version of the nvidia drivers?


Happy hacking,
--
"Anytime you have a fifty-fifty chance of getting something right, there's a
90 percent probability you'll get it wrong."
-- The 50-50-90 rule
Saludos /\/\ /\ >< `/


signature.asc
Description: PGP signature


Bug#897338: sddm: Cannot launch SDDM at boot time and from console

2018-05-01 Thread Alexander Kernozhitsky
Package: sddm
Version: 0.17.0-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I tried to do a fresh install of Debian Testing with KDE. After installing it, 
SDDM did not launch. Launching it manually with "sudo systemctl start sddm" did 
not have effect also.

"systemctl status sddm" shows the following:

● sddm.service - Simple Desktop Display Manager
   Loaded: loaded (/lib/systemd/system/sddm.service; indirect; vendor preset: 
enabled)
   Active: active (running) since Tue 2018-05-01 16:56:33 +03; 12min ago
 Docs: man:sddm(1)
   man:sddm.conf(5)
  Process: 412 ExecStartPre=/bin/sh -c [ "$(cat 
/etc/X11/default-display-manager 2>/dev/
 Main PID: 421 (sddm)
Tasks: 2 (limit: 1156)
   Memory: 11.7M
   CGroup: /system.slice/sddm.service
   └─421 /usr/bin/sddm

Though I don't see the login screen, tty7 is blank.

I tried to rebuild and install sddm from Ubuntu Bionic (where it works), but 
met the same problem. Installing sddm 0.14.0-4 from stable did solve the 
problem.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sddm depends on:
ii  adduser 3.117
ii  debconf [debconf-2.0]   1.5.66
ii  libc6   2.27-3
ii  libgcc1 1:8-20180425-1
ii  libpam0g1.1.8-3.7
ii  libqt5core5a5.10.1+dfsg-5
ii  libqt5dbus5 5.10.1+dfsg-5
ii  libqt5gui5  5.10.1+dfsg-5
ii  libqt5network5  5.10.1+dfsg-5
ii  libqt5qml5  5.10.1-4
ii  libqt5quick55.10.1-4
ii  libstdc++6  8-20180425-1
ii  libsystemd0 238-4
ii  libxcb-xkb1 1.13-1
ii  libxcb1 1.13-1
ii  qml-module-qtquick2 5.10.1-4
ii  x11-common  1:7.7+19
ii  xserver-xorg [xserver]  1:7.7+19

Versions of packages sddm recommends:
ii  libpam-systemd   238-4
ii  sddm-theme-debian-maui [sddm-theme]  0.17.0-1

Versions of packages sddm suggests:
ii  libpam-kwallet5   5.12.1-1
pn  qtvirtualkeyboard-plugin  

-- debconf information:
* shared/default-x-display-manager: sddm
  sddm/daemon_name: /usr/bin/sddm