# \[UConsole\]Fix Login Screen(sddm) Rotation after boot

**URL:** <https://forum.clockworkpi.com/t/uconsole-fix-login-screen-sddm-rotation-after-boot/13236>\
**Category:** uConsole\
**Created:** [May 5, 2024, 6:35am UTC](https://forum.clockworkpi.com/t/uconsole-fix-login-screen-sddm-rotation-after-boot/13236 "2024-05-05T06:35:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mykhailo\_Chuha](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mykhailo_chuha/32/8423_2.png) [@Mykhailo\_Chuha](https://forum.clockworkpi.com/u/Mykhailo_Chuha)\
**Post date:** [May 5, 2024, 6:35am UTC](https://forum.clockworkpi.com/t/uconsole-fix-login-screen-sddm-rotation-after-boot/13236/1 "2024-05-05T06:35:03Z")

</div>

After you set kde-plasma as your main DE do the next:

1. add next line

`xrandr --output DSI-1 --rotate right`

to the file

/usr/share/sddm/scripts/Xsetup

1. Add next lines

```auto
[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup

```

to the file

/var/lib/sddm/state.conf

reboot.

after i got correct rotation right after boot. maybe it will help

---

<div class="post-metadata">

**Author:** ![Kirou](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/kirou/32/8936_2.png) [@Kirou](https://forum.clockworkpi.com/u/Kirou)\
**Post date:** [May 5, 2024, 9:49am UTC](https://forum.clockworkpi.com/t/uconsole-fix-login-screen-sddm-rotation-after-boot/13236/2 "2024-05-05T09:49:44Z")

</div>

To solve the orientation of KDE at startup, I use another solution: I boot directly on the desktop, then a script immediately locks the screen, which is always oriented correctly, even on an external screen! And I can connect normally.

---

<div class="post-metadata">

**Author:** ![Mykhailo\_Chuha](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mykhailo_chuha/32/8423_2.png) [@Mykhailo\_Chuha](https://forum.clockworkpi.com/u/Mykhailo_Chuha)\
**Post date:** [May 5, 2024, 4:02pm UTC](https://forum.clockworkpi.com/t/uconsole-fix-login-screen-sddm-rotation-after-boot/13236/3 "2024-05-05T16:02:13Z")

</div>

and does it keep rotated after reboot? because when you set it via desktop it works, of course, but resets after reboot

---

<div class="post-metadata">

**Author:** ![Kirou](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/kirou/32/8936_2.png) [@Kirou](https://forum.clockworkpi.com/u/Kirou)\
**Post date:** [May 5, 2024, 4:32pm UTC](https://forum.clockworkpi.com/t/uconsole-fix-login-screen-sddm-rotation-after-boot/13236/4 "2024-05-05T16:32:01Z")

</div>

Yes it is! This setting remains after reboot, because it’s a Desktop Environment’s setting, not a SDDM or Lightdm tweak.

(Sorry for English, I reply fast but trashy 😅)

---

<div class="post-metadata">

**Author:** ![bennyclams](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@bennyclams](https://forum.clockworkpi.com/u/bennyclams)\
**Post date:** [June 4, 2025, 4:15am UTC](https://forum.clockworkpi.com/t/uconsole-fix-login-screen-sddm-rotation-after-boot/13236/5 "2025-06-04T04:15:18Z")

</div>

This doesn’t seem to work on Plasma 6

Edit: Never mind, i’m an idiot

---

<div class="post-metadata">

**Author:** ![bitnotfound](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/bitnotfound/32/11279_2.png) [@bitnotfound](https://forum.clockworkpi.com/u/bitnotfound)\
**Post date:** [July 4, 2025, 8:30pm UTC](https://forum.clockworkpi.com/t/uconsole-fix-login-screen-sddm-rotation-after-boot/13236/6 "2025-07-04T20:30:11Z")

</div>

In case someone else comes across this in the future, my uConsole’s display was DSI-2. So sometimes it is different.

Run xrandr in the terminal. If xrandr shows XWAYLAND0 as the display device, it means that your DE is using Wayland. That display device is not the one you want. You’ll kind of have to “guess”. Try DSI-1. If that doesn’t work, try DSI-2.

---

<div class="post-metadata">

**Author:** ![Shiefy](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@Shiefy](https://forum.clockworkpi.com/u/Shiefy)\
**Post date:** [January 22, 2026, 1:59pm UTC](https://forum.clockworkpi.com/t/uconsole-fix-login-screen-sddm-rotation-after-boot/13236/7 "2026-01-22T13:59:30Z")

</div>

I had to go in and just change the orientation for the time being. Going to consider all these solutions. It just randomly did that after some time of not using it.

 ![IMG_9349](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/6/6013924f49f657fe9c44f8f81419807a07f7d53d.jpeg)
