You are not logged in.
Hey. Every gnome application I open takes about 10 seconds to open because of a critical log message (see below)
(gnome-screenshot:25566): GLib-GIO-CRITICAL **: g_dbus_proxy_get_name_owner: assertion 'G_IS_DBUS_PROXY (proxy)' failed
(gnome-screenshot:25566): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: The name org.freedesktop.portal.Desktop is not owned
Pretty important to note is that I'm not actually using GNOME. I'm using awesomewm without a login/ display manager. But I do have the gnome and gnome-extra packages installed.
Output from hostnamectrl
(rayya) ~> hostnamectl status
Static hostname: rayya
Icon name: computer-laptop
Chassis: laptop
Machine ID: 64d8a87339af487483b41306325f2991
Boot ID: ce7a84486c6e42e9b3dbef58a3fef37e
Operating System: Arch Linux
Kernel: Linux 4.10.11-1-ARCH
Architecture: x86-64
Hope someone has an idea what could be causing this. Thanks
Last edited by spacekookie (2017-05-05 11:46:30)
Polar bears are left handed
Offline
How do you start X?
If you use startx, please post your ~/.xinitrc.
Last edited by Slithery (2017-05-04 19:18:49)
Offline
How do you start X?
If you use startx, please post your ~/.xinitrc.
❤ (rayya) ~ cat .xinitrc
setxkbmap de
exec awesome
I guess I'm missing something there that gdm would normally setup for me?
Polar bears are left handed
Offline
https://wiki.archlinux.org/index.php/Xinit#xinitrc
See last Note in that section.
Offline
https://wiki.archlinux.org/index.php/Xinit#xinitrc
See last Note in that section.
Do you mean this sentence?
Note: At the very least, ensure that the last if block in /etc/X11/xinit/xinitrc is present in your .xinitrc file to ensure that the scripts in /etc/X11/xinit/xinitrc.d are sourced.
So it means add this to my xinitrc?
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
Polar bears are left handed
Offline
Correct. You need that at the start of your .xinitrc to correctly setup the user session.
Offline
To compare, here is the script that lightdm runs when you log in which has a similar part:
https://git.archlinux.org/svntogit/pack … es/lightdm
That "Xsession" script from the lightdm package does more, but I'm thinking that other stuff can't be important for your particular problem as I'm fine without it in my .xinitrc. I only do the sourcing of /etc/X11/xinit/xinitrc.d
When I look at the files I have in /etc/X11/xinit/xinitrc.d/, there's one named "50-systemd-user.sh" that might do something interesting.
Then in my i3 config, there's really nothing about Gnome's stuff that I start that has to do with your delay to launch programs. I only start the "accessibility bus" to make certain warning messages go away:
/usr/lib/at-spi2-core/at-spi-bus-launcher --launch-immediately
EDIT: I have this script here to research things like that "at-spi-bus-launcher" thing:
#!/bin/bash
echo "### /etc autostart:"
sed -nr 's/^Exec=(.*)$/\1/p' /etc/xdg/autostart/!(*~)
echo
echo "### $HOME autostart:"
sed -nr 's/^Exec=(.*)$/\1/p' ~/.config/autostart/!(*~)
It prints all "Exec=..." lines in the XDG autostart files that would be run if you'd use a Desktop Environment. For me here, there's a lot of stuff there, but I never noticed any of it being important.
Last edited by Ropid (2017-05-04 23:21:50)
Offline
Hey Thanks for the replies. That fixed it. I guess I'll go through the xinit scripts and kinda have a look at what they do. But for now I just source them all.
Polar bears are left handed
Offline