# A weird XFCE desktop disappear when return from tty2

**URL:** <https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951>\
**Category:** XFCE\
**Created:** [October 18, 2022, 10:01am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951 "2022-10-18T10:01:16Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![aida](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/77aa72/32.png) [@aida](https://forum.endeavouros.com/u/aida)\
**Post date:** [October 18, 2022, 10:01am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/1 "2022-10-18T10:01:17Z")

</div>

# 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](https://forum.endeavouros.com/uploads/default/original/3X/d/5/d5153bad20e4f7e8a9a20fbc1ec92d18e7621f6b.jpeg)

## tmp solution

reboot or shutdown

## log

`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

```bash
$ inxi --admin --verbosity=7 --filter --width
System:
  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
    nvme_load=YES
  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
Machine:
  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
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 15.35 GiB used: 4.33 GiB (28.2%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  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
    xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    disabled
  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
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  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
Audio:
  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
Network:
  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>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  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.
Partition:
  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
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: 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
USB:
  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
Sensors:
  System Temperatures: cpu: 32.0 C pch: 47.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  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

```

---

<div class="post-metadata">

**Author:** ![Zircon34](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/zircon34/32/135623_2.png) [@Zircon34](https://forum.endeavouros.com/u/Zircon34)\
**Post date:** [October 18, 2022, 10:38am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/2 "2022-10-18T10:38:35Z")

</div>

> [@aida](#):
>
> Nothing work but tty2. no mouse. no any window. Just black background and codes

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?

---

<div class="post-metadata">

**Author:** ![aida](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/77aa72/32.png) [@aida](https://forum.endeavouros.com/u/aida)\
**Post date:** [October 18, 2022, 10:54am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/3 "2022-10-18T10:54:20Z")

</div>

> [@Zircon34](#):
>
> you are having trouble switching from tty back to your desktop.

yes

> [@Zircon34](#):
>
> I mean you can use the terminal in xfce to conduct the same commands than in tty

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.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [October 18, 2022, 10:59am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/4 "2022-10-18T10:59:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Zircon34](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/zircon34/32/135623_2.png) [@Zircon34](https://forum.endeavouros.com/u/Zircon34)\
**Post date:** [October 18, 2022, 11:00am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/5 "2022-10-18T11:00:12Z")

</div>

> [@aida](#):
>
> 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.

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)](https://forum.endeavouros.com/t/tip-enable-magic-sysrq-key-reisub/7576)

---

<div class="post-metadata">

**Author:** ![aida](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/77aa72/32.png) [@aida](https://forum.endeavouros.com/u/aida)\
**Post date:** [October 18, 2022, 11:00am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/6 "2022-10-18T11:00:53Z")

</div>

I think tty1 is DE desktop for a long time 🥶

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [October 18, 2022, 11:01am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/7 "2022-10-18T11:01:57Z")

</div>

depending …

---

<div class="post-metadata">

**Author:** ![aida](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/77aa72/32.png) [@aida](https://forum.endeavouros.com/u/aida)\
**Post date:** [October 18, 2022, 11:03am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/8 "2022-10-18T11:03:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [October 18, 2022, 11:05am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/9 "2022-10-18T11:05:18Z")

</div>

mine is on TTY2 😉

---

<div class="post-metadata">

**Author:** ![aida](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/77aa72/32.png) [@aida](https://forum.endeavouros.com/u/aida)\
**Post date:** [October 18, 2022, 11:08am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/10 "2022-10-18T11:08:05Z")

</div>

what ? which de you use?

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [October 18, 2022, 11:09am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/11 "2022-10-18T11:09:31Z")

</div>

it is caused by using LY as login manager …

On my XFCE4 install with lightdm it is on TTY7.

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [October 18, 2022, 11:23am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/12 "2022-10-18T11:23:03Z")

</div>

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

```auto
reboot

```

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

---

<div class="post-metadata">

**Author:** ![aida](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/77aa72/32.png) [@aida](https://forum.endeavouros.com/u/aida)\
**Post date:** [October 18, 2022, 11:26am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/13 "2022-10-18T11:26:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![aida](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/77aa72/32.png) [@aida](https://forum.endeavouros.com/u/aida)\
**Post date:** [October 19, 2022, 7:41am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/14 "2022-10-19T07:41:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [October 21, 2022, 7:42am UTC](https://forum.endeavouros.com/t/a-weird-xfce-desktop-disappear-when-return-from-tty2/32951/15 "2022-10-21T07:42:04Z")

</div>

Closed on October 21, 2022, 7:42am UTC

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