Desktop environment does not start on load. I have to run startx every time

am very new to Manjaro and new to linux on the whole. I have recently installend the KDE manjaro and for some reason I need to run startx everry time i boot. The installation went fine with no errors and Iam only shown cli like command interface at boot.

I am running an 11th Gen Intel® Core™ i7-1165G7 and GeForce MX450, I am also dual booting with windows. My kernel is Linux 5.15.84-1 and Manjaro 22.0.0, i am also running with the propietary driver for my gpu.

If you require any further information please let me know and also how I can provide it.

Thank You.

provide system info, and use formatting, click this icon in editor: </>, and copy the following output there:
inxi -Fazv7
mhwd -l -li

and after you installed, the first time you booted, it worked? or it started to happen later?

Hi @WBChandra, and welcome!

Since this is posted under the Kde Plasma section, I’m going to presume that’s what you’re using.

Please provide the output of:

systemctl status sddm

:bangbang: Tip: :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Also, if your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

inxi -Fazv7

System:
  Kernel: 5.15.84-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=a8dfa126-3705-43dc-ab87-ba9dc12d183c rw quiet apparmor=1
    security=apparmor resume=UUID=f176355b-8b5c-4760-be44-41408b12d4bb
  Desktop: Budgie v: 10.6.4 info: budgie-panel wm: kwin_x11 dm: 1: LightDM
    v: 1.32.0 note: stopped 2: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Micro-Star product: Modern 14 B11SB v: REV:1.0
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Micro-Star model: MS-14D2 v: REV:1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: E14D2IMS.114 date: 06/25/2021
Battery:
  ID-1: BAT1 charge: 25.6 Wh (76.0%) condition: 33.7/52.4 Wh (64.2%)
    volts: 11.7 min: 11.4 model: MSI Corp. MS-14D2 type: Li-ion serial: N/A
    status: N/A
Memory:
  RAM: total: 15.33 GiB used: 2.39 GiB (15.6%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP
    arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
    process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
    microcode: 0xA6
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 1817 high: 3118 min/max: 400/4700 scaling:
    driver: intel_pstate governor: powersave cores: 1: 1243 2: 1275 3: 2559
    4: 2200 5: 3118 6: 1449 7: 1320 8: 1378 bogomips: 44864
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2
    avx512_vnni avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd
    avx512dq avx512f avx512ifma avx512vbmi avx512vl bmi1 bmi2 bts cat_l2
    cdp_l2 clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16
    cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
    flush_l1d fma fpu fsgsbase fsrm fxsr gfni ht hwp hwp_act_window hwp_epp
    hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ida intel_pt invpcid
    invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b
    movdiri msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq
    pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts rdpid rdrand
    rdseed rdt_a rdtscp rep_good sdbg sep sha_ni smap smep split_lock_detect
    ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc
    tsc_adjust tsc_deadline_timer tsc_known_freq umip vaes vme vmx vnmi
    vpclmulqdq vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology
    xtpr
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-1
    bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
  Device-2: NVIDIA TU117M [GeForce MX450] vendor: Micro-Star MSI
    driver: nvidia v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2022-12) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
    link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2e:00.0
    chip-ID: 10de:1f97 class-ID: 0302
  Device-3: Acer HD Webcam type: USB driver: uvcvideo bus-ID: 3-6:6
    chip-ID: 5986:211c class-ID: 0e02
  Display: x11 server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7
    compositors: 1: kwin_x11 2: budgie-wm driver: X: loaded: modesetting,nvidia
    unloaded: nouveau alternate: fbdev,nv,vesa dri: iris gpu: i915
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
  Monitor-1: eDP-1 model: BOE Display 0x06df built: 2016 res: 1920x1080
    hz: 60 dpi: 158 gamma: 1.2 size: 309x173mm (12.17x6.81") diag: 354mm (13.9")
    ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel Xe Graphics (TGL GT2)
    direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Micro-Star MSI
    driver: sof-audio-pci-intel-tgl bus-ID: 3-3:4
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl chip-ID: 12d1:3a07
    bus-ID: 00:1f.3 chip-ID: 8086:a0c8 class-ID: 0300 serial: <filter>
    class-ID: 0401
  Device-2: Huawei USB-C HEADSET type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k5.15.84-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-10:7 chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 20.62 GiB (4.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: OM8PCP3512F-AI1
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: ECFK52.8 temp: 31.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 106.65 GiB size: 104.42 GiB (97.91%)
    used: 20.62 GiB (19.8%) fs: ext4 dev: /dev/nvme0n1p8 maj-min: 259:8
    label: N/A uuid: a8dfa126-3705-43dc-ab87-ba9dc12d183c
  ID-2: /boot/efi raw-size: 301 MiB size: 300.3 MiB (99.79%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p6 maj-min: 259:6
    label: NO_LABEL uuid: E523-4AE1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 19.53 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p7 maj-min: 259:7 label: N/A
    uuid: f176355b-8b5c-4760-be44-41408b12d4bb
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 300 MiB fs: vfat label: SYSTEM
    uuid: 86A0-9413
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 128 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 333.51 GiB fs: ntfs
    label: Windows uuid: B8AE7A54AE7A0AE0
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 1.02 GiB fs: ntfs label: N/A
    uuid: AACAEBF7CAEBBDA7
  ID-5: /dev/nvme0n1p5 maj-min: 259:5 size: 15.51 GiB fs: ntfs
    label: BIOS_RVY uuid: FE6CA40C6CA3BDB1
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-1:2 info: Areson Corp 2.4G Receiver type: Keyboard,Mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s
    power: 100mA chip-ID: 25a7:fa23 class-ID: 0301
  Device-2: 3-2:3 info: Winbond Gaming Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 1.1 speed: 12 Mb/s
    power: 400mA chip-ID: 0416:c345 class-ID: 0300
  Device-3: 3-3:4 info: Huawei USB-C HEADSET type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 12 Mb/s power: 100mA chip-ID: 12d1:3a07 class-ID: 0300
    serial: <filter>
  Device-4: 3-5:5 info: Realtek RTS5129 Card Reader Controller
    type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc
    interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0129
    class-ID: ff00 serial: <filter>
  Device-5: 3-6:6 info: Acer HD Webcam type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 5986:211c
    class-ID: 0e02
  Device-6: 3-10:7 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026
    class-ID: e001
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 323 Uptime: 3m wakeups: 1 Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 1255
  pm: pacman pkgs: 1242 libs: 335 tools: pamac pm: flatpak pkgs: 10 pm: snap
  pkgs: 3 Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.24

mhwd -l -li

--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
     video-modesetting            2020.01.13                true            PCI
           video-linux            2018.05.04                true            PCI
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI


Warning: No installed USB configs!
> 0000:2e:00.0 (0302:10de:1f97) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI


> 0000:00:02.0 (0300:8086:9a49) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


Yes, it happened the first time I booted, btw i installed sddm and it no longer go to tty but when i login though sddm it only shows blank screen with cursor.

sddm.service - Simple Desktop Display Manager
     Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; preset: dis>
     Active: active (running) since Thu 2022-12-22 19:40:23 WIB; 6min ago
       Docs: man:sddm(1)
             man:sddm.conf(5)
   Main PID: 720 (sddm)
      Tasks: 19 (limit: 18817)
     Memory: 186.1M
        CPU: 4.047s
     CGroup: /system.slice/sddm.service
             ├─ 720 /usr/bin/sddm
             └─1090 /usr/lib/Xorg -nolisten tcp -background none -seat seat0 vt>

Dec 22 19:40:52 Wilbert-Laptop sddm-helper[1133]: gkr-pam: unable to locate dae>
Dec 22 19:40:52 Wilbert-Laptop sddm-helper[1133]: [PAM] returning.
Dec 22 19:40:52 Wilbert-Laptop sddm-helper[1133]: gkr-pam: stashed password to >
Dec 22 19:40:52 Wilbert-Laptop sddm[720]: Authenticated successfully
Dec 22 19:40:52 Wilbert-Laptop sddm-helper[1133]: pam_unix(sddm:session): sessi>
Dec 22 19:40:52 Wilbert-Laptop sddm[720]: Auth: sddm-helper exited successfully
Dec 22 19:40:52 Wilbert-Laptop sddm[720]: Greeter stopped.
Dec 22 19:40:53 Wilbert-Laptop sddm-helper[1133]: gkr-pam: unlocked login keyri>
Dec 22 19:40:53 Wilbert-Laptop sddm-helper[1133]: Starting: "/usr/share/sddm/sc>
Dec 22 19:40:53 Wilbert-Laptop sddm[720]: Session started

I just installed it and when i rebooted with it and login it only shows blank screen

Try:

systemctl enable sddm.service

Followed by a reboot.

It worked, thank youu so much

1 Like

:wink:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.