You are not logged in.
Hi all, new to the arch forums, I've recently installed arch with xfce4, and I've been having trouble changing the desktop background as the GUI for it will flash up then close instantly. I tried to reload xfdesktop with xfdesktop --reload, this returns "xfdesktop is not running". Running $ sudo xfdesktop returns:
(xfdesktop:5211): GLib-WARNING **: (gerror.c:381):g_error_new_valist: runtime check failed: (domain != 0)
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
xfdesktop: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.
Also, when I look in xfce4-session-settings, all xfce applications are running but xfdesktop isn't there.
Thanks in advance
Last edited by portalin (2015-01-11 15:12:36)
Offline
Are you running it from a window manager or from a tty login?
Is xfdesktop installed?
----- Think out of the Box. ------
Archer since 2010.
My projects: http://github.com/kinokoio
Offline
Are you running it from a window manager or from a tty login?
Is xfdesktop installed?
Yup, xfdesktop is installed, I'm running it from a window terminal emulator from inside XFCE, I'll try it from a tty now.
Offline
I just tried to start xfdesktop from a tty, and it just gives: Failed to parse arguments: display not started or something to that effect.
Offline
Running $ sudo xfdesktop returns ...
Prepending sudo to random commands will eventually break your system. Don't do it.
In this case it simply prevents it from working as the session manager is running for your user not for the root user, so this command has nothing to connect to. Remove 'sudo'.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
#2 meant if you use a display manager or xinitrc. If latter, make sure you copied the sample file from /etc/skel/.xinitrc, and added "exec startxfce4" at the bottom.
edit: missed Trilby's post
Last edited by Alad (2015-01-11 14:55:10)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
portalin wrote:Running $ sudo xfdesktop returns ...
Prepending sudo to random commands will eventually break your system. Don't do it.
In this case it simply prevents it from working as the session manager is running for your user not for the root user, so this command has nothing to connect to. Remove 'sudo'.
If I run just $ xfdesktop I then get the same error
(xfdesktop:2166): GLib-GObject-CRITICAL **: g_value_get_uint: assertion 'G_VALUE_HOLDS_UINT (value)' failed
xfdesktop: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.
Aborted (core dumped)
Offline
Run system in text mode and remove configuration files:
rm -rf .config/xfce4
rm -rf .config/xfce4-session
Make sure that display manager is enabled, e.g.:
su -c 'systemctl enable lxdm'
Reboot your computer.
Offline
Run system in text mode and remove configuration files:
rm -rf .config/xfce4 rm -rf .config/xfce4-session
Make sure that display manager is enabled, e.g.:
su -c 'systemctl enable lxdm'
Reboot your computer.
This worked! Thanks very much, xfdesktop works fine now.
Offline
To start from tty (without display manager) run the command startxfce4
----- Think out of the Box. ------
Archer since 2010.
My projects: http://github.com/kinokoio
Offline