You are not logged in.
Hello,
today I installed a fresh Arch Linux. Base-system, xorg and i3. I can launch i3 as normal user - everything is fine. And I can e.g. start alacritty. But I cannot start any program with graphical frontend.
Examples:
firefox: Error: cannot open display: :0
thunar: (thunar:8401): Gtk-WARNING **: 15:52:34.757: cannot open display: :0
libreoffice: /usr/lib/libreoffice/program/soffice.bin X11 error: Can't open display: (...)
As root I can start the above programs though. So supposedly it's a permission-problem. Any idea how I can solve these problems?
Thanks!!
Ps.: I noticed, that I can e.g. start qutebrowser without problems as normal user.
Last edited by aka_b (2022-12-24 15:15:49)
Offline
Offline
Via startx. I testet it with an emtpy .xinitrc except "exec i3".
Output of hostnamectl:
Static hostname: standrechner
Icon name: computer-desktop
Chassis: desktop ?️
Machine ID: x
Boot ID: y
Operating System: Arch Linux
Kernel: Linux 6.1.1-arch1-1
Architecture: x86-64
Hardware Vendor: Gigabyte Technology Co., Ltd.
Hardware Model: B360M-D3H
Firmware Version: F4
Offline
I testet it with an emtpy .xinitrc except "exec i3".
The empty .xinitrc is likely the reason for the issue.
Check https://wiki.archlinux.org/title/Xinit#xinitrc and create a proper .xinitrc .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Sadly, that doesn't help either. Actually the first try was a copy of an old .xinitrc from another installation before trying the empty one. Creating a new one as stated above results in the same behavior...
Offline
Please post the output of the following (from alacritty in the running i3 session):
echo $DISPLAY
stat ~/.Xauthority
find $HOME ! -user $USER
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
echo $DISPLAY
:0
stat ~/.Xauthority
Datei: /home/aka/.Xauthority
Größe: 57 Blöcke: 8 EA Block: 4096 reguläre Datei
Gerät: 259/4 Inode: 6162499 Verknüpfungen: 1
Zugriff: (0600/-rw-------) Uid: ( 1000/ aka) Gid: ( 1000/ aka)
Zugriff: 2022-12-25 00:49:52.823247328 +0100
Modifiziert: 2022-12-25 00:49:52.819913994 +0100
Geändert: 2022-12-25 00:49:52.819913994 +0100
Geburt: 2022-12-25 00:49:52.819913994 +0100
find $HOME ! -user $USER
--> no output
Offline