-
Guys i need help about Fedora 42 KDE Desktop Edition
-
How I can switch from Wayland to x11 because my nvidia card is so old
-
I try to download all requirement for x11 but if i choose x11 be default in startup and restart my pc. my screen be black
What i can do?
try sudo dnf install kwin-x11
you will propably also need to install sddm-x11
.
OK i Missed sddm-x11
After That what i should be do
Do you see the sddm screen? You should be able to select the type of session wayland or X11 in the bottom left corner of the sddm screen.
Ah I see, instead of kwin-x11 you need to install plasma-workspace-x11
sudo dnf install plasma-workspace-x11
This will also install kwin-x11 as dependency.
I Already Installed him Another problems theses it:
-
Symptoms: Black screen after boot, SDDM fails to start graphical session
-
Error Triggers:
- Plymouth exits successfully but no desktop appears
- Ctrl+Alt+F2 switches to TTY but GUI remains inaccessible
-
Related Components: SDDM, Xorg, NVIDIA driver
-
Critical Error:
(EE) no screens found
-
Configuration Issues:
[ 112.248] Data incomplete in file /etc/X11/xorg.conf [ 112.248] Undefined Screen "nvidia" referenced by ServerLayout "layout" [ 112.248] (EE) Error parsing the config file
3. X Server Connection Failures
- **Symptoms**: `Can't open display :0` when running graphical commands
- **Commands Affected**:
- `startx`
- `xrandr`
- `glxinfo`
- `nvidia-settings`
- **Root Causes**:
- Permission issues with `/tmp`
- Corrupted `~/.Xauthority` files
- Incorrect `DISPLAY` environment variable
- **Hardware**: NVIDIA GeForce GT 520 (GF119)
- **Specific Problems**:
- Kernel 6.14+ incompatibility with 390xx drivers
- Missing modesetting support for 1366x768 resolution
- OpenGL rendering failures
- **Error Evidence**:
```log
[ 112.089] Kernel command line: ... rd.driver.blacklist=nouveau
[ 112.132] (==) Using config file: "/etc/X11/xorg.conf"
[ 112.250] (EE) no screens found(EE)
#### 5. **Driver Installation Conflicts**
```markdown
- **Package Management Issues**:
- Broken dependencies between `xorg-x11-drv-nvidia-390xx` and Mesa libraries
- Kernel module compilation failures with `akmods`
- Missing firmware warnings in `dmesg`
- **Diagnostic Commands**:
```bash
dmesg | grep -i nvidia
rpm -qa | grep -E "nvidia|kernel|mesa"
akmods --force
#### 6. **Session Management Failures**
```markdown
- **KDE-Specific Issues**:
- Wayland session disabled but X11 fails to start
- `startplasma-x11` reports "Display error"
- SDDM autologin misconfiguration
- **Configuration Files**:
- `/etc/sddm.conf`
- `/usr/share/wayland-sessions/`
- `~/.xinitrc`
- **Critical Errors**:
- `Invalid argument for -config - "/etc/X11/xorg.conf" With elevated privileges`
- `chmod` and `chown` failures on system directories
- **Affected Paths**:
- `/dev/tty[1-9]`
- `/tmp`
- `/var/log/Xorg.0.log`
- `/usr/lib/Xorg.wrap`
- **Critical Errors**:
- `Invalid argument for -config - "/etc/X11/xorg.conf" With elevated privileges`
- `chmod` and `chown` failures on system directories
- **Affected Paths**:
- `/dev/tty[1-9]`
- `/tmp`
- `/var/log/Xorg.0.log`
- `/usr/lib/Xorg.wrap`
- **Specific to HannaStar HZ194A Display**:
- Missing EDID data
- Invalid modeline calculations
- `xrandr` unable to set custom modes
- **Error Examples**:
```bash
xrandr: Failed to get size of gamma for output default
xrandr: Configure crtc 0 failed
#### 9. **Initramfs and Bootloader Issues**
```markdown
- **Common Problems**:
- `dracut --force` fails to include NVIDIA modules
- Incorrect kernel parameters in GRUB
- Plymouth theme conflicts with NVIDIA drivers
- **Critical Files**:
- `/boot/grub2/grub.cfg`
- `/etc/default/grub`
- `/etc/modprobe.d/nvidia.conf`
### Severity Classification
| Issue | Severity | Impact | Solution Complexity |
|-------|----------|--------|---------------------|
| Xorg Configuration | Critical | System Unusable | Medium |
| Driver Compatibility | High | Hardware Acceleration Broken | High |
| Permission Issues | Medium | Partial Functionality | Low |
| Session Management | Medium | Login Failures | Medium |
| Resolution Problems | Low | Display Quality | Medium |
### Recommended Diagnostic Commands
```bash
# 1. System logs
journalctl -b -p 3 --no-pager | grep -iE "nvidia|xorg|sddm|drm"
# 2. Xorg log analysis
cat /var/log/Xorg.0.log | grep -E "(EE)|(WW)"
# 3. NVIDIA status check
lsmod | grep nvidia
nvidia-smi 2>&1
# 4. Display configuration
xrandr --verbose 2>/dev/null || echo "X not running"
# 5. File permissions
ls -ld /tmp /dev/tty[1-9] ~/.Xauthority
> **Legacy Hardware Limitation**: The NVIDIA GeForce GT 520 (Fermi architecture) has reached end-of-life status in NVIDIA's Linux support. Fedora 42's modern kernel and graphics stack may have **fundamental incompatibilities** with this 13-year-old GPU. Consider these options:
> 1. Downgrade to Fedora 36 (last known good version for legacy NVIDIA)
> 2. Use nouveau driver with `nomodeset` kernel parameter
> 3. Hardware upgrade to Kepler (600+) or newer GPU
have you installed sddm-x11?
pls post output of rpm -qa sddm\*
With such an old GPU, you should really consider removing the old nvidia driver and using the nouveau driver instead, which supports wayland.
Yeah i Install it
❯ rpm -qa sddm\*
sddm-0.21.0-9.fc42.x86_64
sddm-breeze-6.3.5-1.fc42.noarch
sddm-kcm-6.3.5-1.fc42.x86_64
sddm-conf-0.3.0-2.fc42.x86_64
sddm-themes-0.21.0-9.fc42.noarch
sddm-wayland-plasma-6.3.5-1.fc42.noarch
Note: I changed from x11 to Wayland and Nouveau so I could search for a solution because I can’t install x11 and wayland together but yes I installed all x11 plugins and it didn’t work
[Read What i type before this reply to know what i mean]
Nouveau supports X11 too.
I guess the nvidia kernel modules could not be compiled with the 6.14.9 (?) kernel.
But i try nvidia-smi
in tty and his worked
Delete it.
Sorry but somebody has to write this: for “legacy” hardware that does not work well with current Fedora the idea of making changes to somehow “roll back” Fedora is obviusly wrong. Things are going to be worse. I suggest to use a more conservative distribution like Debian. Same goes for the Desktop Environment, probably if X11 is required it would be better to use something like XFCE.
I tried xfce but it’s not like kde in my opinion
And at the point you were talking about roll back, I think it is important for the user to have the option to use what he prefers, whether X11 or Wayland, especially since Wayland is still new.
What i do Next?
Are xorg-x11-server-Xorg and xorg-x11-xinit installed?
rpm -q xorg-x11-server-Xorg xorg-x11-xinit
I guess there are some misunderstandings here.
First of all, the real problem with X11 is that it is not developed any more.
It has been years already.
Then, Wayland is not X11 replacement and there isn’t a single “wayland”, meaning while X11 is a collection of tools that are the same for every software that need them, Wayland is a protocol that needs to be implemented by each single Desktop Environment and Window Manager with a proper compositor. So there there are several different implementations of Wayland. For example, speaking of XFCE, they are slowly implementing Wayland via labwc, which in turn is a wlroots derivative, wlroots is the Sway Wayland compositor. Labwc aims to replace Openbox, BTW.
I agree, XFCE is not like KDE. If it was, there would be two KDEs.
XFCE is way way simpler than KDE, actually it is a simplified Gnome2 (nowadays Mate). It is a bare bones Desktop Environment that nowadays makes sense for low end computers. At some point even XFCE will drop X11 then.
For good reasons:
- X11 was never designed for the current threat environment, so many organizations are making efforts to get it off their systems.
- developers with X11 experience are getting old. Few businesses will be recruiting X11 developers as they give priority to new hardware, so knowledge of X11 is now in the hands of of a decreasing pool of experienced devs, hobbyists, and probably malware developers.
Well yes, X was designed forty years ago.
That’s not really true. Wayland has been around for a very long time. GNOME has defaulted to Wayland for almost a decade upstream, and KDE Plasma has done so for about half as long in Fedora.
In my opinion the user is not given the option to use what he prefers EVER.
The option given is to keep using legacy hardware and legacy software knowing there can’t be new features added there can’t be bug fixes and there can’t be security patches.
Even Debian, that prides to stay “stable” for years and provides support for its “legacy” versions, can’t keep old software for ever, at some point it gets dropped.
X11 is the 11th release of X and it was published in 1987. Back then I was using MS DOS computers, meaning no desktop GUI, I guess I got Windows 3.11 at the very beginning of the '90s. So here we are saying the user wants the option to chose between current software and software designed before the Desktop Environment was popular.
in an attempt to answer the original question: I am using fedora gnome, not kde but i guess it doesn’t matter. In my old desktop PC I have an nvidia geforce gtx 770 that requires legacy 470.xx nvidia drivers. When I install the xorg-nvidia-470 drivers and the akmod-470 drivers, then blacklist nouveau, I get X loaded by default. I don’t really get to choose to switch between wayland and X, it does falls back to X.