Article 5GDY4 Debian - KDE (startx) fail to connect to X server - startkde - "$DISPLAY is not set or cannot connect to X server"

Debian - KDE (startx) fail to connect to X server - startkde - "$DISPLAY is not set or cannot connect to X server"

by
NemoUT15
from LinuxQuestions.org on (#5GDY4)
It's been DAYS since I received my new laptop (Thinkpad P14s AMD) and tried everything to start KDE on the Debian distro I installed. I never had any problem doing it when I installed it on a USB and using it on my old T61.

In the end I arrived at this point, where I'm on Debian TTY (even tho I chose KDE as DE during installation) and nothing seems to work. Nor systemctl, sddm, nor exec command written in .xinitrc file, reinstalling xorg, reinstalling the distro on my PC with different settings, changing settings on BIOS, nor many other solutions I tried.. Nothing. I'm really going mad after this bullshit, never had these issues while installing Debian. Just chose the DE, finish the installation and was ready to go.

I have a suspect that I fucked up something the first time I installed it on my laptop.

So I think there's something wrong at the root, and not with Debian itself. I wanted to try and restore the laptop to its factory settings by cleaning up everything (I have both manjaro and debian installed on it and I cannot remove them with a Windows CD because it doesn't even start. I tried also to reboot and press F11 but it either start manjaro or doesn't do anything. Manjaro did start and work without any issues, but then it couldn't open the terminal anymore after I did "sudo pacman -Syu" and installed everything. So even manjaro it's no use, but it doesn't matter since I want Debian as my main system).
Guess I'll try to bring the laptop to a technician and see how it goes.

In the meanwhile, any opinions/advices? Perhaps from somebody who's been in the same situation. Thanks.

P.S: I never had such problems installing Debian on a USB or on Virtualbox, it always went all ok and could use it right after the installation with it DE.
I already used CentOS, Arch, Artix and Manjaro after Debian, never had any issues so far.
I chose Debian because I want an easy to use friendly distro for daily use on my new laptop and I was satisfied with Debian.latest?d=yIl2AUoC8zA latest?i=fArk9-nnsAs:pan6RmHOl9s:F7zBnMy latest?i=fArk9-nnsAs:pan6RmHOl9s:V_sGLiP latest?d=qj6IDK7rITs latest?i=fArk9-nnsAs:pan6RmHOl9s:gIN9vFwfArk9-nnsAs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments