You are not logged in.
Hello,
A couple weeks now a lot of apps including nautilus, firefox and document viewer have become really slow to launch (about 30-40 seconds instead of 1-2 that was before). I've seen that this might be related to the ~/.xinitrc file but that seems to be as it should be. I've tried to clean possible bugs , tried systemctl --failed (0 loaded units listed) and also journalctl -p 3 -b which gives me a list of errors but I'm not sure how to go about correcting those. I'm pretty new to arch and I feel a bit lost.
I would appreciate any help!
Last edited by blusof (2023-06-22 12:06:58)
Offline
Post the xinitrc, the output of "loginctl session-status" and "pacman -Qs portal" and in very doubt your system journal
sudo journalctl -b | curl -F 'f:1=<-' ix.ioOffline
The xinitrc:
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
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
exec i3
udiskie &loginctl session-status
1 - sofia (1000)
Since: Thu 2023-06-22 12:03:41 CEST; 25min ago
Leader: 467 (login)
Seat: seat0; vc1
TTY: tty1
Service: login; type tty; class user
State: active
Unit: session-1.scope
├─ 467 "login -- sofia"
├─ 524 -bash
├─ 594 /bin/sh /usr/bin/startx
├─ 609 xinit /home/sofia/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth /tmp/serveraut>
├─ 610 /usr/lib/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.EWD5R9DzKV
├─ 620 i3
├─ 633 nm-applet
├─ 637 i3bar --bar_id=bar-0 --socket=/run/user/1000/i3/ipc-socket.620
├─ 643 i3status
├─ 745 /bin/bash
├─ 748 /usr/lib/firefox/firefox
├─ 874 /usr/lib/firefox/firefox -contentproc -parentBuildID 20230620210812 -prefsLen 28720 -prefMa>
├─ 900 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 28861 -prefMapSize>
├─ 976 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 34344 -prefMapSize>
├─1041 /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 29606 -prefMapSize>
├─1044 /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 29606 -prefMapSize>
├─1145 /usr/lib/firefox/firefox -contentproc -childID 6 -isForBrowser -prefsLen 29793 -prefMapSize>
├─1235 /usr/lib/firefox/firefox -contentproc -childID 8 -isForBrowser -prefsLen 34590 -prefMapSize>
├─1339 /usr/bin/python /usr/bin/terminator
├─1362 /bin/bash
├─1453 /usr/lib/firefox/firefox -contentproc -childID 11 -isForBrowser -prefsLen 29793 -prefMapSiz>
├─1569 /usr/lib/firefox/firefox -contentproc -parentBuildID 20230620210812 -prefsLen 34590 -prefMa>
├─1570 /usr/lib/firefox/firefox -contentproc -parentBuildID 20230620210812 -sandboxingKind 0 -pref>
├─1583 /usr/lib/firefox/firefox -contentproc -childID 13 -isForBrowser -prefsLen 29793 -prefMapSiz>
├─1706 /usr/lib/firefox/firefox -contentproc -childID 15 -isForBrowser -prefsLen 29793 -prefMapSiz>
├─1709 /usr/lib/firefox/firefox -contentproc -childID 16 -isForBrowser -prefsLen 29793 -prefMapSiz>
├─1886 /usr/lib/firefox/firefox -contentproc -childID 17 -isForBrowser -prefsLen 29793 -prefMapSiz>
├─1922 loginctl session-status
└─1923 less
Jun 22 12:03:41 archlinx login[467]: LOGIN ON tty1 BY sofia
Jun 22 12:03:41 archlinx systemd[1]: Started Session 1 of User sofia.
Jun 22 12:04:29 archlinx sudo[591]: pam_systemd_home(sudo:auth): systemd-homed is not available: Unit dbus-org.freed>
Jun 22 12:04:34 archlinx sudo[591]: sofia : TTY=tty1 ; PWD=/home/sofia ; USER=root ; COMMAND=/usr/bin/nano /home/>
Jun 22 12:04:34 archlinx sudo[591]: pam_unix(sudo:session): session opened for user root(uid=0) by sofia(uid=1000)
Jun 22 12:04:47 archlinx sudo[591]: pam_unix(sudo:session): session closed for user root
Jun 22 12:08:48 archlinx sudo[1364]: pam_systemd_home(sudo:auth): systemd-homed is not available: Unit dbus-org.free>
Jun 22 12:08:51 archlinx sudo[1364]: sofia : TTY=pts/0 ; PWD=/home/sofia ; USER=root ; COMMAND=/usr/bin/nano /hom>
Jun 22 12:08:51 archlinx sudo[1364]: pam_unix(sudo:session): session opened for user root(uid=0) by sofia(uid=1000)
Jun 22 12:29:11 archlinx sudo[1364]: pam_unix(sudo:session): session closed for user rootpacman -Qs portal
local/libportal 0.6-1
GIO-style async APIs for most Flatpak portals
local/libportal-gtk3 0.6-1
GIO-style async APIs for most Flatpak portals - GTK 3 backend
local/libportal-gtk4 0.6-1
GIO-style async APIs for most Flatpak portals - GTK 4 backend
local/xdg-desktop-portal 1.16.0-3
Desktop integration portals for sandboxed apps
local/xdg-desktop-portal-gnome 44.1-2 (gnome)
A backend implementation for xdg-desktop-portal for the GNOME desktop environment
local/xdg-desktop-portal-gtk 1.14.1-1
A backend implementation for xdg-desktop-portal using GTKsystem journal
http://ix.io/4yOg Offline
You're aware that "udiskie &" won't be executed?
local/xdg-desktop-portal-gnome
Get rid of that, the board is full of threads about xdg-desktop-portal-gnome being systematically broken outside gnome sessions since version 44
Offline
You're aware that "udiskie &" won't be executed?
local/xdg-desktop-portal-gnome
Get rid of that, the board is full of threads about xdg-desktop-portal-gnome being systematically broken outside gnome sessions since version 44
Yes I haven't set it up properly yet.
That seems to work, thanks!
Last edited by blusof (2023-06-22 12:02:07)
Offline