Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-04-26 12:39:21

ruvn3
Member
Registered: 2020-04-26
Posts: 3

Desktop invisible until switch to tty and back

Hi there )

Issue is in the subj )

Elaborating, when I input my creds in lightdm, login dialog disappears, stock Xfce wallpaper appears and that's it. I need to press Ctrl-Alt-F1 and then Ctrl-Alt-F7 to get my precious desktop back.

I'm running Debian testing (bullseye) and xfdesktop is 4.14.2-1. I'm through several upgrades of Debian and this issue started relatively recently. It wasn't happening initially. It does not happen for freshly created user.

If I have (my usual) 4 virtual workspaces set in Xfce, these are last log entries in xsession-errors I see when I'm just switched to console:

DBG[xfce-workspace.c:329] xfce_workspace_monitors_changed(): Adding workspace 1 backdrop 0
DBG[error: : cannot open
error: : cannot open
error: : cannot open
__logging_message__15:12:57.927 WARN  unknown                          libpng warning: iCCP: known incorrect sRGB profile
Internal error:   Could not resolve keysym XF86FullScreen

After I'm back to desktop, some xsession-errors entries added and it looks this:

DBG[xfce-workspace.c:329] xfce_workspace_monitors_changed(): Adding workspace 0 backdrop 0
DBG[xfce-workspace.c:630] xfce_workspace_connect_backdrop_settings(): prefix string: /backdrop/screen0/monitorDP-1/workspace0/
DBG[xfce-workspace.c:329] xfce_workspace_monitors_changed(): Adding workspace 1 backdrop 0
DBG[error: : cannot open
error: : cannot open
error: : cannot open
__logging_message__15:12:57.927 WARN  unknown                          libpng warning: iCCP: known incorrect sRGB profile
Internal error:   Could not resolve keysym XF86FullScreen
Internal error:   Could not resolve keysym XF86FullScreen
...
# Quite a few duplicated entries removed
...
Internal error:   Could not resolve keysym XF86FullScreen
Internal error:   Could not resolve keysym XF86FullScreen
xfce-workspace.c:630] xfce_workspace_connect_backdrop_settings(): prefix string: /backdrop/screen0/monitorDP-1/workspace1/
DBG[xfce-workspace.c:329] xfce_workspace_monitors_changed(): Adding workspace 2 backdrop 0

If I set nr of virt workspaces to 1, entries after switch to tty are:

DBG[xfce-desktop.c:1539] xfce_desktop_get_current_workspace(): workspace_num 0, single_workspac
(wrapper-2.0:162130): Gtk-WARNING **: 15:10:25.977: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkButton)
error: : cannot open
error: : cannot open
error: : cannot open
__logging_message__15:10:27.220 WARN  unknown                          libpng warning: iCCP: known incorrect sRGB profile

and then back in desktop are:

DBG[xfce-desktop.c:1539] xfce_desktop_get_current_workspace(): workspace_num 0, single_workspac
(wrapper-2.0:162130): Gtk-WARNING **: 15:10:25.977: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkButton)
error: : cannot open
error: : cannot open
error: : cannot open
__logging_message__15:10:27.220 WARN  unknown                          libpng warning: iCCP: known incorrect sRGB profile
Internal error:   Could not resolve keysym XF86FullScreen
Internal error:   Could not resolve keysym XF86FullScreen
Internal error:   Could not resolve keysym XF86FullScreen
Internal error:   Could not resolve keysym XF86FullScreen
...
# Nothing but repeated dups of entries above
...

These "Internal error: " don't appear after login process, during regular usage of desktop.

For brand new user, even with workspaces widget in his standard panel, no such entries whatsoever and the whole log until logout is (with env vars at the start omitted):

/usr/bin/startxfce4: X server already running on display :0
xfce4-session-Message: 14:27:54.052: SSH authentication agent is already running
gpg-agent[148070]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent: a gpg-agent is already running - not starting a new one

(xfce4-session:148011): xfce4-session-WARNING **: 14:27:54.056: gpg-agent returned no PID in the variables

(xfce4-session:148011): xfce4-session-WARNING **: 14:27:54.786: Unable to launch "xfce4-volumed" (specified by autostart/xfce4-volumed.desktop): Failed to execute child process “xfce4-volumed” (No such file or directory)

(xfce4-session:148011): xfce4-session-WARNING **: 14:27:54.788: Unable to launch "light-locker" (specified by autostart/light-locker.desktop): Failed to execute child process “light-locker” (No such file or directory)

(wrapper-2.0:148115): Gtk-WARNING **: 14:27:54.859: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 28

(wrapper-2.0:148115): Gtk-WARNING **: 14:27:54.859: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(wrapper-2.0:148116): Gtk-WARNING **: 14:27:54.903: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)

(Thunar:148105): Gtk-CRITICAL **: 14:31:51.161: gtk_main_quit: assertion 'main_loops != NULL' failed
X connection to :0.0 broken (explicit kill or server shutdown).
Gdk-Message: 14:31:51.231: polkit-gnome-authentication-agent-1: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Offline

#2 2020-04-26 16:26:26

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,488

Re: Desktop invisible until switch to tty and back

Hello and welcome.

Internal error:   Could not resolve keysym XF86FullScreen

Maybe this bug?

Which video card and driver are you using? Which version of xfwm4?
Does the problem persist if you disable the compositor?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2020-04-26 18:33:20

ruvn3
Member
Registered: 2020-04-26
Posts: 3

Re: Desktop invisible until switch to tty and back

Doesn't seem directly related, as report mentions these entries are filling up disks. In my case, after I switched back and desktop is fine, no new entries appear in xsession-errors.

I have composite disabled -- Compositor checkbox unchecked in 'Window manager tweaks'. Always was that way.

I use gtx 770 ti, proprietary Nvidia dirver. Steam works fine and games work (e.g., Warhammer II) generally fine.

$ dpkg -l | egrep 'ii  (xfwm4|nvid|xserver)'
ii  nvidia-alternative                     440.82-1                             amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-driver                          440.82-1                             amd64        NVIDIA metapackage
ii  nvidia-driver-bin                      440.82-1                             amd64        NVIDIA driver support binaries
ii  nvidia-driver-libs:amd64               440.82-1                             amd64        NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii  nvidia-driver-libs:i386                440.82-1                             i386         NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii  nvidia-driver-libs-i386:i386           440.82-1                             i386         NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries)
ii  nvidia-egl-common                      440.82-1                             amd64        NVIDIA binary EGL driver - common files
ii  nvidia-egl-icd:amd64                   440.82-1                             amd64        NVIDIA EGL installable client driver (ICD)
ii  nvidia-egl-icd:i386                    440.82-1                             i386         NVIDIA EGL installable client driver (ICD)
ii  nvidia-installer-cleanup               20151021+11                          amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                   20151021+11                          amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                     440.82-1                             amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-kernel-support                  440.82-1                             amd64        NVIDIA binary kernel module support files
ii  nvidia-legacy-390xx-alternative        390.132-3                            amd64        allows the selection of NVIDIA as GLX provider (390xx legacy version)
ii  nvidia-legacy-390xx-kernel-dkms        390.132-3                            amd64        NVIDIA binary kernel module DKMS source (390xx legacy version)
ii  nvidia-legacy-390xx-kernel-support     390.132-3                            amd64        NVIDIA binary kernel module support files (390xx legacy version)
ii  nvidia-legacy-390xx-vdpau-driver:amd64 390.132-3                            amd64        Video Decode and Presentation API for Unix - NVIDIA driver (390xx legacy)
ii  nvidia-legacy-check                    440.82-1                             amd64        check for NVIDIA GPUs requiring a legacy driver
ii  nvidia-modprobe                        440.44-1                             amd64        utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-persistenced                    440.44-1                             amd64        daemon to maintain persistent software state in the NVIDIA driver
ii  nvidia-settings                        440.82-1                             amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-settings-legacy-390xx           390.132-1                            amd64        tool for configuring the NVIDIA graphics driver (390xx legacy version)
ii  nvidia-support                         20151021+11                          amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64              440.82-1                             amd64        Video Decode and Presentation API for Unix - NVIDIA driver
ii  nvidia-vulkan-common                   440.82-1                             amd64        NVIDIA Vulkan driver - common files
ii  nvidia-vulkan-icd:amd64                440.82-1                             amd64        NVIDIA Vulkan installable client driver (ICD)
ii  xfwm4                                  4.14.0-2                             amd64        window manager of the Xfce project
ii  xserver-common                         2:1.20.8-2                           all          common files used by various X servers
ii  xserver-xorg                           1:7.7+20                             amd64        X.Org X server
ii  xserver-xorg-core                      2:1.20.8-2                           amd64        Xorg X server - core server
ii  xserver-xorg-input-all                 1:7.7+20                             amd64        X.Org X server -- input driver metapackage
ii  xserver-xorg-input-evdev               1:2.10.6-2                           amd64        X.Org X server -- evdev input driver
ii  xserver-xorg-input-libinput            0.29.0-1                             amd64        X.Org X server -- libinput input driver
ii  xserver-xorg-input-mouse               1:1.9.3-1                            amd64        X.Org X server -- mouse input driver
ii  xserver-xorg-input-synaptics           1.9.1-2                              amd64        Synaptics TouchPad driver for X.Org server
ii  xserver-xorg-input-wacom               0.34.99.1-1+b1                       amd64        X.Org X server -- Wacom input driver
ii  xserver-xorg-legacy                    2:1.20.8-2                           amd64        setuid root Xorg server wrapper
ii  xserver-xorg-video-all                 1:7.7+20                             amd64        X.Org X server -- output driver metapackage
ii  xserver-xorg-video-amdgpu              19.1.0-1                             amd64        X.Org X server -- AMDGPU display driver
ii  xserver-xorg-video-ati                 1:19.1.0-1                           amd64        X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-cirrus              1:1.5.3-1+b3                         amd64        X.Org X server -- Cirrus display driver
ii  xserver-xorg-video-fbdev               1:0.5.0-1                            amd64        X.Org X server -- fbdev display driver
ii  xserver-xorg-video-intel               2:2.99.917+git20200226-1             amd64        X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-mach64              6.9.6-1                              amd64        X.Org X server -- ATI Mach64 display driver
ii  xserver-xorg-video-mga                 1:2.0.0-1                            amd64        X.Org X server -- MGA display driver
ii  xserver-xorg-video-neomagic            1:1.3.0-1                            amd64        X.Org X server -- Neomagic display driver
ii  xserver-xorg-video-nouveau             1:1.0.16-1                           amd64        X.Org X server -- Nouveau display driver
ii  xserver-xorg-video-nvidia              440.82-1                             amd64        NVIDIA binary Xorg driver
ii  xserver-xorg-video-nvidia-legacy-390xx 390.132-3                            amd64        NVIDIA binary Xorg driver (390xx legacy version)
ii  xserver-xorg-video-openchrome          1:0.6.0-3+b1                         amd64        X.Org X server -- OpenChrome display driver
ii  xserver-xorg-video-qxl                 0.1.5+git20200331-1                  amd64        X.Org X server -- QXL display driver
ii  xserver-xorg-video-r128                6.12.0-1                             amd64        X.Org X server -- ATI r128 display driver
ii  xserver-xorg-video-radeon              1:19.1.0-1                           amd64        X.Org X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-savage              1:2.3.9-2                            amd64        X.Org X server -- Savage display driver
ii  xserver-xorg-video-siliconmotion       1:1.7.9-2+b1                         amd64        X.Org X server -- SiliconMotion display driver
ii  xserver-xorg-video-sisusb              1:0.9.7-1+b1                         amd64        X.Org X server -- SiS USB display driver
ii  xserver-xorg-video-tdfx                1:1.5.0-2                            amd64        X.Org X server -- tdfx display driver
ii  xserver-xorg-video-trident             1:1.3.8-1+b1                         amd64        X.Org X server -- Trident display driver
ii  xserver-xorg-video-vesa                1:2.4.0-2                            amd64        X.Org X server -- VESA display driver
ii  xserver-xorg-video-vmware              1:13.3.0-3                           amd64        X.Org X server -- VMware display driver

XFCE packages:

$ dpkg -l | egrep 'ii  (xfce)'
ii  xfce4                                  4.14                                 all          Meta-package for the Xfce Lightweight Desktop Environment
ii  xfce4-appfinder                        4.14.0-1+b1                          amd64        Application finder for the Xfce4 desktop environment
ii  xfce4-battery-plugin                   1.1.3-1                              amd64        battery monitor plugin for the Xfce4 panel
ii  xfce4-clipman                          2:1.6.1-1                            amd64        clipboard history utility
ii  xfce4-clipman-plugin                   2:1.6.1-1                            amd64        clipboard history plugin for Xfce panel
ii  xfce4-cpufreq-plugin                   1.2.1-1                              amd64        cpufreq information plugin for the Xfce4 panel
ii  xfce4-cpugraph-plugin                  1.1.0-1                              amd64        CPU load graph plugin for the Xfce4 panel
ii  xfce4-datetime-plugin                  0.8.0-1                              amd64        date and time plugin for the Xfce4 panel
ii  xfce4-dict                             0.8.3-1                              amd64        Dictionary plugin for Xfce4 panel
ii  xfce4-diskperf-plugin                  2.6.2-1                              amd64        disk performance display plugin for the Xfce4 panel
ii  xfce4-fsguard-plugin:amd64             1.1.1-1                              amd64        filesystem monitor plugin for the Xfce4 panel
ii  xfce4-genmon-plugin:amd64              4.0.2-1                              amd64        Generic Monitor for the Xfce4 panel
ii  xfce4-goodies                          4.14.0                               amd64        enhancements for the Xfce4 Desktop Environment
ii  xfce4-mailwatch-plugin                 1.2.0-3+b1                           amd64        mail watcher plugin for the Xfce4 panel
ii  xfce4-netload-plugin                   1.3.2-1                              amd64        network load monitor plugin for the Xfce4 panel
ii  xfce4-notes                            1.8.1-3                              amd64        Notes application for the Xfce4 desktop
ii  xfce4-notes-plugin                     1.8.1-3                              amd64        Notes plugin for the Xfce4 desktop
ii  xfce4-notifyd                          0.4.4-1+b1                           amd64        simple, visually-appealing notification daemon for Xfce
ii  xfce4-panel                            4.14.3-1                             amd64        panel for Xfce4 desktop environment
ii  xfce4-places-plugin                    1.8.1-1                              amd64        quick access to folders, documents and removable media
ii  xfce4-power-manager                    1.6.6-1                              amd64        power manager for Xfce desktop
ii  xfce4-power-manager-data               1.6.6-1                              all          power manager for Xfce desktop, arch-indep files
ii  xfce4-power-manager-plugins            1.6.6-1                              amd64        power manager plugins for Xfce panel
ii  xfce4-pulseaudio-plugin:amd64          0.4.3-1                              amd64        Xfce4 panel plugin to control pulseaudio
ii  xfce4-screenshooter                    1.9.7-1                              amd64        screenshots utility for Xfce
ii  xfce4-sensors-plugin                   1.3.0-2+b1                           amd64        hardware sensors plugin for the Xfce4 panel
ii  xfce4-session                          4.14.1-1                             amd64        Xfce4 Session Manager
ii  xfce4-settings                         4.14.2-1                             amd64        graphical application for managing Xfce settings
ii  xfce4-smartbookmark-plugin             0.5.1-1                              amd64        search the web via the Xfce4 panel
ii  xfce4-systemload-plugin                1.2.3-1                              amd64        system load monitor plugin for the Xfce4 panel
ii  xfce4-taskmanager                      1.2.2-1                              amd64        process manager for the Xfce4 Desktop Environment
ii  xfce4-terminal                         0.8.9.2-1                            amd64        Xfce terminal emulator
ii  xfce4-timer-plugin                     1.7.0-1                              amd64        timer plugin for Xfce panel
ii  xfce4-verve-plugin                     2.0.0-1                              amd64        Verve (command line) plugin for Xfce panel
ii  xfce4-wavelan-plugin                   0.6.1-1                              amd64        wavelan status plugin for the Xfce4 panel
ii  xfce4-weather-plugin                   0.10.1-1+b1                          amd64        weather information plugin for the Xfce4 panel
ii  xfce4-whiskermenu-plugin               2.4.3-1                              amd64        Alternate menu plugin for the Xfce desktop environment
ii  xfce4-xkb-plugin                       1:0.8.1-2+b1                         amd64        xkb layout switch plugin for the Xfce4 panel

Last edited by ruvn3 (2020-04-26 18:35:32)

Offline

#4 2020-04-26 19:22:00

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,488

Re: Desktop invisible until switch to tty and back

To confirm:

For brand new user, even with workspaces widget in his standard panel, no such entries whatsoever and the whole log until logout is (with env vars at the start omitted):

Does this mean that a secondary user on the computer does not see this issue? In other words, is the issue contained just to your main user account?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2020-04-26 20:39:26

ruvn3
Member
Registered: 2020-04-26
Posts: 3

Re: Desktop invisible until switch to tty and back

Yes.

If I do xfdesktop -Q/-e when logged in, from xfce-terminal, desktop appears normally. Interestingly, output of -e stops in terminal right about the same position as it does when I switch to text console during login sequence:

$ xfdesktop -e 2>&1 | tee ~/xf.log
DBG[xfdesktop-common.c:324] xfdesktop_debug_set(): debugging enabled
DBG[xfdesktop-application.c:588] cb_wait_for_window_manager_destroyed(): found window manager after 1 tries
DBG[xfce-desktop.c:1775] xfce_desktop_set_single_workspace_mode(): single_workspace_mode now TRUE
DBG[xfce-desktop.c:210] xfce_desktop_ensure_system_font_size(): dividing by PANGO_SCALE
DBG[xfce-desktop.c:213] xfce_desktop_ensure_system_font_size(): system font size is 10.00000
DBG[xfdesktop-icon-view.c:1984] xfdesktop_icon_view_style_updated(): cell spacing is 2
DBG[xfdesktop-icon-view.c:1985] xfdesktop_icon_view_style_updated(): cell padding is 6
DBG[xfdesktop-icon-view.c:1986] xfdesktop_icon_view_style_updated(): cell text width proportion is 1.900000
DBG[xfdesktop-icon-view.c:1987] xfdesktop_icon_view_style_updated(): ellipsize icon label is true
DBG[xfdesktop-icon-view.c:1988] xfdesktop_icon_view_style_updated(): tooltip size is -1
DBG[xfdesktop-icon-view.c:1989] xfdesktop_icon_view_style_updated(): label radius is 4.000000
DBG[xfdesktop-file-icon-manager.c:2295] xfdesktop_file_icon_manager_add_icon(): attempting to set icon 'Trash' to position (16,30) [location in cache]
...
# Some entries with personal info omitted
...
DBG[xfdesktop-file-icon-manager.c:2295] xfdesktop_file_icon_manager_add_icon(): attempting to set icon 'vbox' to position (4,0) [location in cache]
DBG[xfce-workspace.c:329] xfce_workspace_monitors_changed(): Adding workspace 0 backdrop 0
DBG[xfce-workspace.c:630] xfce_workspace_connect_backdrop_settings(): prefix string: /backdrop/screen0/monitorDP-1/workspace0/
DBG[xfce-workspace.c:329] xfce_workspace_monitors_changed(): Adding workspace 1 backdrop 0
DBG[

You can see last entry is just DBG[, which looks like some error occurred there.

Last edited by ruvn3 (2020-04-26 20:47:15)

Offline

#6 2020-04-26 21:17:57

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,488

Re: Desktop invisible until switch to tty and back

Try clearing out your cache. On a fresh boot, before you log in, delete the contents of ~/.cache/sessions. Then log in and see if there is a difference.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 8 queries executed - Memory usage: 633.08 KiB (Peak: 649.92 KiB) ]