external Display should be the only Screen (Login + Work)  [Solved]

Message
Author
chrissi55
Posts: 8
Joined: Wed Aug 20, 2025 8:43 am

Re: external Display should be the only Screen (Login + Work)

#11 Post by chrissi55 »

I get the following errors in terminal when using this command in konsole

Code: Select all

xrandr --auto && xrandr --output XWAYLAND0 --off
then konsole delivers

Code: Select all

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  7 (RRSetScreenSize)
  Serial number of failed request:  27
  Current serial number in output stream:  29
So seems to be a xrandr problem first and that why the settings seems not to work on boot.

Can someone help me to understand this X Error code?

chrissi55
Posts: 8
Joined: Wed Aug 20, 2025 8:43 am

Re: external Display should be the only Screen (Login + Work)  [Solved]

#12 Post by chrissi55 »

Finally i got it working !

I switched from the login screen from wayland to x11 for one boot.

xrandr | grep connected delivers complately different names of the connected displays than under wayland!

So i tested from the command line the following

Code: Select all

xrandr --output eDP-1 --off 
worked!

So i edited the /usr/share/sddm/scripts/Xsetup file as follows

Code: Select all

#!/bin/sh
# Xsetup - run as root before the login dialog appears 
xrandr --output HDMI-1 --primary --auto
xrandr --output eDP-1 --off
exit 0
that worked under x11 session!
Then i switched back to session type wayland and voila it worked for wayland as well.

on top i could use a script as follows (but that's a nice to have later ...)
https://forum.garudalinux.org/t/display ... ation/4526

:popcorn:

Post Reply

Return to “Hardware /Configuration”