Questions et astuces concernant l'installation et la configuration d'archlinux
Breizil29
yeomen
Messages : 229 Inscription : dim. 13 juin 2021, 15:04
Message
par Breizil29 » lun. 09 oct. 2023, 16:34
Bonjour à tous,
Si le titre ne correspond pas dite le moi.
Mon problème est que quand j´arrive sur mon bureau je ne peux rien ouvrir sauf un terminal.
PC : I7
Carte graphque : T600
Bureau : Qtile
gestionnaire d'affichage : lightdm
Ci-dessous ce qui se passe dans mon terminal :
Code : Tout sélectionner
user/~ geany
Authorization required, but not authorization protocol specified
Geany: cannot open display
Dernière modification par
Breizil29 le lun. 09 oct. 2023, 17:15, modifié 2 fois.
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
benjarobin
Maître du Kyudo
Messages : 17282 Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon
Message
par benjarobin » lun. 09 oct. 2023, 16:55
Bonjour,
Comment est lancé ton interface graphique ? Gestionnaire de session ? Utilises tu bien Xorg ?
Breizil29
yeomen
Messages : 229 Inscription : dim. 13 juin 2021, 15:04
Message
par Breizil29 » lun. 09 oct. 2023, 17:01
Ma session démarre avec lighdm
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
Breizil29
yeomen
Messages : 229 Inscription : dim. 13 juin 2021, 15:04
Message
par Breizil29 » lun. 09 oct. 2023, 17:12
RESOLU
Suppression de lightdm
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
Breizil29
yeomen
Messages : 229 Inscription : dim. 13 juin 2021, 15:04
Message
par Breizil29 » lun. 09 oct. 2023, 20:53
merci @benjarobin pour m´avoir mis la puce à l´oreille
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
benjarobin
Maître du Kyudo
Messages : 17282 Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon
Message
par benjarobin » lun. 09 oct. 2023, 21:53
Sauf que je ne comprends pas, jamais lightdm devrait poser ce genre de problème. Je ne sais pas ce que tu as fait, et ce que tu as changé pour résoudre le problème, mais très très étrange...
Breizil29
yeomen
Messages : 229 Inscription : dim. 13 juin 2021, 15:04
Message
par Breizil29 » mar. 10 oct. 2023, 09:51
J'ai migrer une EndeavourOs vers Archlinux.
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
Breizil29
yeomen
Messages : 229 Inscription : dim. 13 juin 2021, 15:04
Message
par Breizil29 » mar. 10 oct. 2023, 11:47
Je viens de réinstaller lightdm.
J'arrive sur mon gestionnaire de connexion : login + mp >> bureau comme ci-dessus rien ne fonctionne.
Du coup je shunt lightdm et fait un startx et nickel
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
Breizil29
yeomen
Messages : 229 Inscription : dim. 13 juin 2021, 15:04
Message
par Breizil29 » mar. 10 oct. 2023, 13:12
Tout fonctionne sauf :
Code : Tout sélectionner
user ~ us
Authorization required, but no authorization protocol specified
Cannot open display ":0"
user ~ bash 1
2023-10-10 13:09:05 user@archlinux:~
===================================
▶ setxkbmap us
Authorization required, but no authorization protocol specified
Cannot open display ":0"
alias us=' setxkbmap us'
Code : Tout sélectionner
user ~ fastfetch
-` user@archlinux
Authorization required, but no authorization protocol specified
`ooo/
`+oooo: ------------
`+oooooo: OS: Arch Linux x86_64
-+oooooo+: Kernel: 6.5.6-arch2-1
`/:-:++oooo+: Uptime: 18 mins
Authorization required, but no authorization protocol specified
`/++++++++++++++:
Authorization required, but no authorization protocol specified
./ooosssso++osssssso+`
.oossssso-````/ossssss+` Packages: 1014 (pacman)
Authorization required, but no authorization protocol specified
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/- Shell: zsh 5.9
`/ossssso+/:- -:/+osssso+- Display (Unknown-1): 1920x1080
`+sso+:-` `.-/+oso: WM: Qtile (X11)
`++:. `-/+/ Theme: Arc-Dark [GTK2/3]
.` `/ Icons: Papirus-Dark [GTK2/3]
Font: 'Cascadia Code (12'pt) [GTK2], Cascadia Code (12pt) [GTK3]
Cursor: Neutral
Terminal: alacritty 0.12.3
Terminal Font: Hack Nerd Font Mono (11.0pt)
CPU: 12th Gen Intel(R) Core(TM) i7-12700KF (20) @ 4.9 GHz
GPU: NVIDIA T600
Memory: 1.26 GiB / 31.16 GiB (4%)
Disk (/): 9.95 GiB / 29.36 GiB (34%) - ext4
Disk (/home): 1.14 GiB / 198.35 GiB (1%) - ext4
Disk (/home/gg/Music): 279.43 GiB / 447.10 GiB (62%) - exfat
Disk (/home/gg/stocks): 75.57 GiB / 931.51 GiB (8%) - fuseblk
Locale: en_US.UTF-8
████████████████████████
████████████████████████
user ~
La plupart de mes commandes et alias fonctionne sauf :
les alias concernant "setxkbmap" et fastfetch
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
benjarobin
Maître du Kyudo
Messages : 17282 Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon
Message
par benjarobin » mar. 10 oct. 2023, 14:08
Tu n'aurais pas défini des variables d'environnement foireuse ?
Quelle est la sortie (une fois ta session lancée via ligthdm) de :
Code : Tout sélectionner
ps -AF | grep -i xorg
env | grep -Pi "XAUTHORITY|DISPLAY"
xauth list
Quel est le nom du fichier de log de Xorg associé ?
Breizil29
yeomen
Messages : 229 Inscription : dim. 13 juin 2021, 15:04
Message
par Breizil29 » mar. 10 oct. 2023, 14:24
Code : Tout sélectionner
user ~ ps -AF | grep -i xorg
env | grep -Pi "XAUTHORITY|DISPLAY"
xauth list
root 689 682 1 7071262 107108 13 13:07 tty7 00:00:56 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
user 27015 3858 0 1638 2400 15 14:15 pts/0 00:00:00 grep --color=auto -i xorg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XAUTHORITY=/run/user/1000/Xauthority
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
DISPLAY=:0
xauth: file /run/user/1000/Xauthority does not exist
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
benjarobin
Maître du Kyudo
Messages : 17282 Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon
Message
par benjarobin » mar. 10 oct. 2023, 14:30
Tu n'aurais pas défini quelque part la variable d'environnement
XAUTHORITY
égale à
/run/user/1000/Xauthority
?
Je crois que par défaut lightdm écrit le fichier
.Xauthority
dans ton home...
Pour confirmer peux tu donner la sortie de
Peux tu faire une recherche :
Breizil29
yeomen
Messages : 229 Inscription : dim. 13 juin 2021, 15:04
Message
par Breizil29 » mar. 10 oct. 2023, 14:40
Ça ne me dit rien.
Code : Tout sélectionner
user ~ ls -l ~/.Xauthority
-rw------- 1 user user 54 Oct 10 13:08 /home/user/.Xauthority
Code : Tout sélectionner
user ~ grep -r XAUTHORITY /home /etc
/home/user/.zshenv:export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
grep: /home/user/.cache/google-chrome/Default/Cache/Cache_Data/b84fc793f4654898_0: binary file matches
grep: /home/user/.cache/google-chrome/Default/Cache/Cache_Data/18cede3b9896ee1f_0: binary file matches
grep: /home/user/.cache/google-chrome/Default/Cache/Cache_Data/5a92a67cda5c6b31_0: binary file matches
/home/user/.cache/.zsh_history:: 1696858482:0;export XAUTHORITY=/home/gg/.Xautority
/home/user/.cache/.zsh_history:: 1696858538:0;export XAUTHORITY=/home/gg/.Xauthority
/home/user/.cache/.zsh_history:env | grep -Pi "XAUTHORITY|DISPLAY"\
/home/user/.cache/.zsh_history:: 1696940642:0;env | grep -Pi "XAUTHORITY|DISPLAY"
grep: /home/user/.cache/vim: Permission denied
/home/user/.config/jgmenu/append.csv:Power Off,pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY HOME=$HOME systemctl poweroff
grep: /home/user/stocks/VirtualBox VMs/Arch-Qtile/archlinux_kde-disk1.vdi: binary file matches
grep: /home/user/stocks/VirtualBox VMs/archlinux-dkwm/archlinux-dkwm-disk1.vdi: binary file matches
grep: /home/user/stocks/VirtualBox VMs/archlinux-gnome/archlinux-gnome.vdi: binary file matches
grep: /home/user/stocks/VirtualBox VMs/archlinux-i3wm/archlinux.vdi: binary file matches
grep: /home/user/stocks/VirtualBox VMs/archlinux_base/archlinux.vdi: binary file matches
Dernière modification par
Breizil29 le mar. 10 oct. 2023, 14:57, modifié 2 fois.
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
benjarobin
Maître du Kyudo
Messages : 17282 Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon
Message
par benjarobin » mar. 10 oct. 2023, 14:42
J'ai édité mon message précédent, si le fichier .Xauthority
existe bien dans ton home, alors depuis ton terminal, juste pour le test fait : unset XAUTHORITY
Et ensuite normalement les applications qui sont exécutés depuis ce terminal devrait se lancer.
Breizil29
yeomen
Messages : 229 Inscription : dim. 13 juin 2021, 15:04
Message
par Breizil29 » mar. 10 oct. 2023, 14:50
Ça règle le problème mais temporairement seulement, j´imagine que tu le sait.
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620
benjarobin
Maître du Kyudo
Messages : 17282 Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon
Message
par benjarobin » mar. 10 oct. 2023, 17:27
Breizil29 a écrit : ↑ mar. 10 oct. 2023, 14:50
Ça règle le problème mais temporairement seulement, j´imagine que tu le sait.
Oui, comme indiqué dans mon message, c'est juste pour test, donc oui c'est temporaire.
C'est cette ligne
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
de
/home/user/.zshenv
qui pose problème.
La question c'est pourquoi tu as fait une telle chose ?
Breizil29
yeomen
Messages : 229 Inscription : dim. 13 juin 2021, 15:04
Message
par Breizil29 » mar. 10 oct. 2023, 18:14
Pour nettoyer mon home.
Elle ne pose problème qu´avec un gestionnaire de connexion ?
Supprimer export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority de /home/user/.zshenv et tout est rentré dans l´ordre
Merci @benjarobin
- Desktop - Arch Linux x86_64
CPU : i7-12700KF
GPU: NVIDIA T600
Audio : SSL 2+610
- Desktop - Arch Linux x86_64
CPU : Intel® Pentium® G4560
GPU : Intel HD graphics 610
- Laptop -HP Compaq 6830s - Arch Linux x86_64
CPU : Intel® Core™2 Duo T5870 × 2
GPU : AMD RV620