A weird XFCE desktop disappear when return from tty2

reproduce problem

log into xfce desktop. then trun to tty2(Ctrl+Alt+F2). then return to DE(Ctrl+Alt+F1). It will show many code just like the codes appear when boot. Nothing work but tty2. no mouse. no any window. Just black background and codes.

_cgi-bin_mmwebwx-bin_webwxgetmsgimg &MsgID=4367549885483723057&skey=@crypt_bb294eb6_083d345df5b693b7c94bb64077b02091&mmweb_appid=wx_webfilehelper

tmp solution

reboot or shutdown


sudo journalctl -b -a | eos-sendlog fail for network. sudo journalctl -b -a > log.txt

unable to use pastebin for the file size is 2.4MB

system info

$ inxi --admin --verbosity=7 --filter --width
  Kernel: 5.15.74-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux-lts
    root=UUID=cdb5b6cb-c546-44e0-b073-db36cfb6e18a rw loglevel=3 nowatchdog
  Desktop: Xfce v: 4.16.1 tk: Gtk v: 3.24.34 info: xfce4-panel wm: xfwm
    v: 4.16.1 vt: 7 dm: LightDM v: 1.32.0 Distro: EndeavourOS base: Arch Linux
  Type: Desktop System: HP product: HP ProDesk 480 G6 MT v: N/A
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: HP model: 859A v: KBC Version 08.98.00 serial: <superuser required>
    UEFI: HP v: R03 Ver. 02.12.00 date: 12/28/2021
  Message: No system battery data found. Is one present?
  RAM: total: 15.35 GiB used: 4.33 GiB (28.2%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
  Info: model: Intel Core i5-9500 bits: 64 type: MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 smt: <unsupported> cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB L3: 9 MiB
    desc: 1x9 MiB
  Speed (MHz): avg: 1355 high: 3358 min/max: 800/4400 scaling:
    driver: intel_pstate governor: powersave cores: 1: 3358 2: 1174 3: 900
    4: 900 5: 900 6: 900 bogomips: 36000
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt 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 fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp
    rep_good sdbg sep sgx sgx_lc smap smep smx ss ssbd sse sse2 sse4_1 sse4_2
    ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer
    vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: DP-3 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:3e92 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 compositor: xfwm v: 4.16.1 driver: X:
    loaded: intel unloaded: modesetting alternate: fbdev,vesa dri: i965
    gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: DP-3 mapped: DP3 model: Lenovo LEN L2262wA serial: <filter>
    built: 2012 res: 1920x1080 hz: 60 dpi: 104 gamma: 1.2
    size: 470x260mm (18.5x10.24") diag: 537mm (21.1") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 22.2.1
    direct render: Yes
  Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  Sound API: ALSA v: k5.15.74-1-lts running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.59 running: yes
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: docker0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
  Message: No bluetooth data found.
  Message: No logical block device data found.
  Message: No RAID data found.
  Local Storage: total: 1.14 TiB used: 551.19 GiB (47.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix
    model: BC501 HFM256GDJTNG-8310A size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 15.8 Gb/s lanes: 2 type: SSD serial: <filter>
    rev: 80002C00 temp: 28.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD10EZEX-60WN4A1 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A03 scheme: GPT
  Message: No optical or floppy data found.
  ID-1: / raw-size: 100 GiB size: 97.87 GiB (97.87%) used: 15.8 GiB (16.1%)
    fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A
    uuid: cdb5b6cb-c546-44e0-b073-db36cfb6e18a
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 107.5 MiB
    (42.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: SYSTEM
    uuid: 62DE-7A49
  ID-3: /home raw-size: 400 GiB size: 392.66 GiB (98.16%) used: 117 GiB
    (29.8%) fs: ext4 dev: /dev/sda3 maj-min: 8:3 label: home
    uuid: b1e6cb24-4166-466b-8589-152609b2a161
  ID-4: /run/media/mifen/DATADRIVE1 raw-size: 531.39 GiB size: 531.39 GiB
    (100.00%) used: 418.28 GiB (78.7%) fs: ntfs dev: /dev/sda2 maj-min: 8:2
    label: DATADRIVE1 uuid: 0A24E1E824E1D72B
  Alert: No swap data was found.
  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: 137.28 GiB fs: ntfs
    label: Windows uuid: 5C5A1DF25A1DCA22
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 937 MiB fs: ntfs label: Windows
    RE Tools uuid: A6F2CF6AF2CF3CF5
  ID-4: /dev/sda1 maj-min: 8:1 size: 128 MiB fs: <superuser required>
    label: N/A uuid: N/A
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:2 info: Xiaomi MI Wireless Mouse type: Keyboard,Mouse,HID
    driver: hid-generic,usbhid interfaces: 4 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 2717:003b class-ID: 0300
  Device-2: 1-2:3 info: Lenovo Optical Mouse type: Mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
    power: 100mA chip-ID: 17ef:608d class-ID: 0301
  Device-3: 1-9:4 info: Dell KB216 Wired Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
    power: 100mA chip-ID: 413c:2113 class-ID: 0300
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  System Temperatures: cpu: 32.0 C pch: 47.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 215 Uptime: 2h 11m wakeups: 0 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 Packages:
  pm: pacman pkgs: 1174 libs: 388 tools: pamac,yay Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.22

That seems the normal boot screenshot and startup of system services.

I am not sure about the problem but to my understanding seems you are having trouble switching from tty back to your desktop.

I mean you can use the terminal in xfce to conduct the same commands than in tty, just saying. You could also simply use the command reboot in tty and get back to your desktop?


yes. so I find this issue accidently. I use endevaourOS on my laptop(KDE),too. that is fine with tty and kde plasma.

if I do not turn tty2. desktop works fine. Most case I just use desktop. With serveral times test, reboot not work every time. If so I need to force shutdown by long press button.

the screen is TTY1 (with the code lines) you need to switch back to TTY7 in most cases…


Strange, maybe worth if someone in the forum tests on xfce. As a side note, I would rather recommend typing the reboot in tty to safely reboot or enable reisub. Force shut down could potentially corrupt your file system.

[Tip] Enable Magic SysRq Key (REISUB)

1 Like

I think tty1 is DE desktop for a long time :cold_face:

depending …

yep. I try tty7 on Kds plasma. tty7 got nothing.

mine is on TTY2 :wink:

what ? which de you use?

it is caused by using LY as login manager …

On my XFCE4 install with lightdm it is on TTY7.

Even better, if you have access to the TTY, you can reboot by just issuing:


But in case the system is frozen completely, then REISUB is good. Never use the power button to reboot or shut down.

I do use power button for a few time when using arch, manjaro, endevaour(now)…it seems fine. But as you say. do not do that agagin

Thanks for your guy’s advices, which helps and I really learn a lot. :smiling_face_with_three_hearts:

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