You are not logged in.
Hello,
I am not new to Linux, but after ~15 years of Windows I wanted to "come back" to Linux.
So my knowledge is probably outdated and rusty. Please have mercy.
I have one specific problem configuring my Desktop in XFCE:
It doesn't save my current configuration.
And I can't fathom the type of error in my Xfce.
My current workaround is to check "save session for future login".
So my session gets restored and the display is fine the next day.
If I don't do this, every time I boot up my PC my 2nd monitor stays dark or - at best - gets mirrored.
The other way around, when my monitors go into standby, I also need to reconfigure my Xfce again, with the same effect: Sometimes the (right) monitor stays dark, sometimes it gets mirrored.
For these cases I've created a profile in Display -> Extended -> Profile which can restore my 3840*1080 profile successfully.
At the moment I'm fishing in the dark.
I have not found much to debug myself in my .xsession-errors (see below).
If the profile (in Display -> Extended -> Profile) can restore my Display correctly, I need to know where this profile is located and how I can transfer the configuration to my Xorg.conf.
After experimenting and researching in the Internet for some days I'm a bit exhausted and need some input and guidance to locate and fix my error.
Thank you very much!
Nonetheless, here is some data on my system.
I have two identical monitors (xrandr)
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 598mm x 336mm
1920x1080 60.00*+ 164.92 144.00 119.98 99.93 84.90 59.94 50.00
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 59.94 59.93
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
1920x1080 60.00*+ 164.92 144.00 119.98 99.93 84.90 59.94 50.00
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 59.94 59.93
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
USB-C-0 disconnected (normal left inverted right x axis y axis)
But when I type in "xrandr --listmonitors" I get this peculiar configuration:
Monitors: 2
0: +*DP-2 1920/598x1080/336+0+0 DP-2
1: +DP-0 1920/598x1080/336+1920+0 DP-0
Just FYI, my graphic card: (lspci -k | grep -A 2 -i "VGA")
01:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2070 Rev. A] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 8671
Kernel driver in use: nvidia
I use 5.17.3 Arch-Kernel (EndeavourOS) and this is my Xorg.config:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 510.60.02
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "DP-2"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "DP-0"
Option "rightof" "DP-2"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
.xsession-errors
(wrapper-2.0:795): GLib-GIO-CRITICAL **: 12:20:05.154: g_file_new_for_path: assertion 'path != NULL' failed
(wrapper-2.0:795): GLib-GIO-CRITICAL **: 12:20:05.154: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed
(wrapper-2.0:795): GLib-GObject-WARNING **: 12:20:05.154: invalid (NULL) pointer instance
(wrapper-2.0:795): GLib-GObject-CRITICAL **: 12:20:05.154: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(wrapper-2.0:795): Gtk-WARNING **: 12:20:05.154: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, >
(wrapper-2.0:792): libnotify-WARNING **: 12:20:05.159: Failed to connect to proxy
(wrapper-2.0:788): Gtk-WARNING **: 12:20:05.165: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton)
(wrapper-2.0:792): Gtk-WARNING **: 12:20:05.175: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner PulseaudioButton)
(wrapper-2.0:795): Gtk-WARNING **: 12:20:05.175: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton)
** (xfce4-power-manager:835): WARNING **: 12:20:05.317: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name
** (xfce4-power-manager:835): WARNING **: 12:20:05.318: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.PowerManagement': no such name
(xfce4-power-manager:835): libnotify-WARNING **: 12:20:05.328: Failed to connect to proxy
(xfce4-power-manager:835): GLib-GObject-WARNING **: 12:20:05.329: ../glib/gobject/gsignal.c:2613: signal 'Changed' is invalid for instance '0x55ed5f919280' of type 'GDBusProxy'
(xfce4-power-manager:835): xfce4-power-manager-WARNING **: 12:20:05.345: could not map keysym 1008ffa8 to keycode
(xfce4-power-manager:835): xfce4-power-manager-WARNING **: 12:20:05.351: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Das Objekt existiert nicht am Pfad »/or>
Offline
Hello and welcome back!
Could you post the output of?
xfconf-query --channel displays --list --verbose
Last edited by KBar (2022-04-17 14:45:55)
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
xfconf-query --channel displays --list --verbose
Thank you.
Fehler beim Initialisieren von libxfconf: Fehler beim Erzeugen der Befehlszeile »dbus-launch --autolaunch=59c6e7cdad8446718fd07195efdbf48c --binary-syntax --close-stderr«: Der Kindprozess wurde mit Status 1 beendet.
My English translation:
Error while initialising libxfconf: Error creating commandline »dbus-launch --autolaunch=59c6e7cdad8446718fd07195efdbf48c --binary-syntax --close-stderr«: The child process was exited with status code 1
Last edited by Soulprayer (2022-04-17 18:10:56)
Offline
Alright. How about?
ps -ef | grep '[x]fconf'
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
That's my output:
[souly@Atlantis ~]$ ps -ef | grep '[x]fconf'
souly 742 689 0 19:59 ? 00:00:00 /usr/lib/xfce4/xfconf/xfconfd
This is an ELF.
Offline
I'm not sure if it's supposed to be installed in that directory. Was Xfce pre-installed?
Can you at least open the Settings Editor app and navigate to the displays channel? Or does it also error out?
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
Yes, I've booted up EndeavourOS Live with an USB stick and installed it with Xfce. LightDM 1.30.00 was installed as well.
And yes, i can browse my Settings Editor.
I'm just surprised it used my EDID as root entries.
All root elements (EDID, Default, Fallback) are identical.
Offline
Try backing up the existing file ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml and resetting the channel.
There were a couple of similar issues in the past:
https://forum.xfce.org/viewtopic.php?id=15572
https://forum.xfce.org/viewtopic.php?id=15520
https://forum.xfce.org/viewtopic.php?id=15527
https://forum.xfce.org/viewtopic.php?id=15480
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
Ok, thank you, mostly solved.
I've just deleted the EDID entries from the displays.xml in ~/.config/xfce4/xfconf/xfce-perchannel-xml
It only happens now, after the monitors go to sleep.
Not sure, what the difference this is.
Offline
Sorry, I haven't looked at how exactly xfce4-session controls the sleep sequence (maybe even it doesn't do that but instead hands it off to xfce4-screensaver), so I cannot help you further.
Perhaps there is an autostart item that's set to trigger on suspend, which you probably forgot about? Check ~/.config/autostart/ or /usr/lib/systemd/system-sleep (systemd-sleep's mechanism for executing scripts on suspend).
Last edited by KBar (2022-04-22 13:47:14)
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 607.38 KiB (Peak: 624.66 KiB) ]