Freezes at the boot of xfce

Hi,

I have manjaro with xfce and I have a weird behavior when I boot.

Indeed, at the beginning, in the ~30 first second, My mouse is stuck like my firefox and other things while ~1 second. Then a second time few moments after the first one. And that’s all, after the second time, all is ok. so it’s not a critical problem but I would like to fix it. I don’t know how to start to seach


My first impression is that the system is busy finishing loading the startup services and first-launched applications.

2 Likes

Is there a way to list the applications loaded at the boot ?

I can try to remove ones to see if manjaro can launch without freeze

For system processes : systemctl list-unit-files --state=enabled
For user processes : systemctl --user list-unit-files --state=enabled
For desktop processes : xfce:xfce4-session:preferences [Xfce Docs]

1 Like

Thanks for the tips :slight_smile: I’ll try tomorrow, I’ll say you if it works for me

I removed skype (with your third method), but firefox and other applications still start at the boot and I don’t know how to remove theim

this is the result of the comme “inxi --admin --verbosity=7 --filter --no-host --width”:

System:
  Kernel: 5.13.12-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
  root=UUID=a018d76c-d703-413d-8016-17bd27255828 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 
  dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: ASUSTeK product: ROG Strix G533QS_G533QS v: 1.0 
  serial: <filter> 
  Mobo: ASUSTeK model: G533QS v: 1.0 serial: <filter> 
  UEFI: American Megatrends LLC. v: G533QS.320 date: 06/27/2021 
Battery:
  ID-1: BAT0 charge: 45.2 Wh (55.0%) condition: 82.2/90.0 Wh (91.3%) 
  volts: 14.6 min: 15.9 model: AS3GWAF3KC GA50358 type: Li-ion 
  serial: <filter> status: Discharging 
Memory:
  RAM: total: 30.79 GiB used: 2.51 GiB (8.2%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 8-Core model: AMD Ryzen 9 5900HX with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen 3 family: 19 (25) model-id: 50 (80) stepping: 0 
  microcode: A50000B cache: L2: 4 MiB bogomips: 105444 
  Speed: 1197 MHz min/max: 1200/3300 MHz boost: enabled Core speeds (MHz): 
  1: 1197 2: 2701 3: 1397 4: 2008 5: 1197 6: 1197 7: 1197 8: 1197 9: 1227 
  10: 1273 11: 1390 12: 1847 13: 1197 14: 1558 15: 3653 16: 3634 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists erms extapic extd_apicid f16c 
  flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs 
  invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor 
  movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw 
  overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core 
  perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt pse pse36 rdpid rdpru 
  rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca smep ssbd 
  sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce 
  topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vaes vgif vmcb_clean 
  vme vmmcall vpclmulqdq wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt 
  xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown 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 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, 
  STIBP: always-on, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] 
  vendor: ASUSTeK driver: nvidia v: 470.63.01 alternate: nouveau,nvidia_drm 
  bus-ID: 01:00.0 chip-ID: 10de:249c class-ID: 0300 
  Device-2: AMD Cezanne vendor: ASUSTeK driver: amdgpu v: kernel 
  bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300 
  Display: x11 server: X.Org 1.20.13 compositor: xfwm4 v: 4.16.1 driver: 
  loaded: amdgpu,ati,nvidia unloaded: modesetting,nouveau 
  alternate: fbdev,nv,vesa display-ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP res: 1920x1080 hz: 300 dpi: 142 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  OpenGL: renderer: AMD RENOIR (DRM 3.41.0 5.13.12-1-MANJARO LLVM 12.0.1) 
  v: 4.6 Mesa 21.2.1 direct render: Yes 
Audio:
  Device-1: AMD vendor: ASUSTeK driver: snd_hda_intel v: kernel 
  bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403 
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: ASUSTeK 
  driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 05:00.5 
  chip-ID: 1022:15e2 class-ID: 0480 
  Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403 
  Sound Server-1: ALSA v: k5.13.12-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.33 running: no 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8169 v: kernel port: e000 bus-ID: 02:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp2s0 state: down mac: <filter> 
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: e000 
  bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280 
  IF: wlp3s0 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 AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-4:3 
  chip-ID: 8087:0029 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running 
  rfk-block: hardware: no software: yes address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 953.87 GiB used: 195.83 GiB (20.5%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM001TD3JX013N 
  size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 type: SSD serial: <filter> rev: 41000C20 temp: 41.9 C scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 236.14 GiB size: 231.37 GiB (97.98%) 
  used: 195.8 GiB (84.6%) fs: ext4 dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: N/A uuid: a018d76c-d703-413d-8016-17bd27255828 
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) 
  used: 25.2 MiB (9.8%) fs: vfat dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A 
  uuid: 00E6-E906 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 697.33 GiB fs: ntfs label: OS 
  uuid: 12301F96301F8041 
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 650 MiB fs: ntfs label: RECOVERY 
  uuid: B4A4F540A4F50620 
  ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 19.5 GiB fs: ntfs label: RESTORE 
  uuid: 727C97877C97452F 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-3:2 info: ASUSTek N-KEY Device type: Keyboard 
  driver: asus,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA 
  chip-ID: 0b05:1866 class-ID: 0301 
  Device-2: 1-4:3 info: ASUSTek N-KEY Device type: Keyboard 
  driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 0b05:18c6 class-ID: 0301 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-2:2 info: Logitech M105 Optical Mouse type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s 
  power: 100mA chip-ID: 046d:c077 class-ID: 0301 
  Device-2: 3-4:3 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029 
  class-ID: e001 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 67.0 C mobo: N/A gpu: amdgpu temp: 56.0 C 
  Fan Speeds (RPM): cpu: 2300 
Info:
  Processes: 363 Uptime: 2m wakeups: 4 Init: systemd v: 248 tool: systemctl 
  Compilers: gcc: 11.1.0 alt: 10 Packages: pacman: 1219 lib: 342 flatpak: 0 
  Shell: Bash v: 5.1.8 running-in: xfce4-terminal inxi: 3.3.06 

Don’t hesitate to ask me to do other commands if you I can help you help me :slight_smile:

Did you set to save the session on logout?
https://docs.xfce.org/xfce/xfce4-session/preferences#general

I deactivated this option to see if this is the root of the problem. Without success

What about the application restart settings?
https://docs.xfce.org/xfce/xfce4-session/preferences#session

It’s ok, I have no application at boot. But I have the same behavior. I tried to boot and then to stay on my desktop (without start any desktop application). I move my mouse only but I have always the same thing, it is stuck after few moments while 1 sec then a second time ~30 seconds after.

I had linux mint before Manjaro and I didn’t have this behavior (and I have a dual boot with windows 10, no problem with it). Is it possible there is a problem with my installation ? How to check that ?