[Xauthority].Xauthority does not exist

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
Répondre
Avatar de l’utilisateur
Ypnose
Maître du Kyudo
Messages : 1363
Inscription : sam. 01 mai 2010, 13:17

[Xauthority].Xauthority does not exist

Message par Ypnose »

Salut,
Je souhaite rendre mon système le plus parfait possible et en fouinant dans le slim.log:

Code : Tout sélectionner

slim: waiting for X server to begin accepting connections
X.Org X Server 1.10.2
Release Date: 2011-05-28
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.38-ARCH i686 
Current Operating System: Linux solaros 2.6.38-ARCH #1 SMP PREEMPT Mon May 23 20:04:02 UTC 2011 i686
Kernel command line: root=/dev/disk/by-uuid/01327a3e-7082-4758-8e29-c317cd9e2d5c ro quiet vga=792
Build Date: 30 May 2011  08:16:10AM
 
Current version of pixman: 0.20.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun  8 17:40:47 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
.The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

/usr/bin/xauth:  file /home/xxx/.Xauthority does not exist
Conky: desktop window (15d) is root window
Conky: window type - normal
Conky: drawing to created window (0xc00001)
Conky: drawing to double buffer
ObRender-Message: Unable to parse color '#BEBEBE '
ObRender-Message: Unable to parse color '#D5782Cf'
tint2 : nb monitor 1, nb monitor used 1, nb desktop 2
Il y a ligne .Xauthority doesn't exist alors que le fichier est bien présent.

La commande me retourne:

Code : Tout sélectionner

$ ls $HOME/.Xauthority
/home/xxx/.Xauthority
Cela n'a pas l'air trop gênant mais j'aimerais quand même résoudre la chose.
Par ailleurs, je tiens à préciser que j'ai jamais lancé startx en root...
Merci de votre aide.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17596
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Xauthority].Xauthority does not exist

Message par benjarobin »

Que donne la sortie de

Code : Tout sélectionner

ls -l /home/*/.Xauthority
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Drexya
archer de cavalerie
Messages : 161
Inscription : sam. 20 juin 2009, 15:00

Re: [Xauthority].Xauthority does not exist

Message par Drexya »

Youhou,

Normal, c'est un fichier qui gère les autorisations pour les connexions au serveur X qui est réinitialisé à chaque fois ;).
Avatar de l’utilisateur
Ypnose
Maître du Kyudo
Messages : 1363
Inscription : sam. 01 mai 2010, 13:17

Re: [Xauthority].Xauthority does not exist

Message par Ypnose »

Voilà Benjarobin:

Code : Tout sélectionner

-rw------- 1 ypnosemad ypnosemad 52  8 juin  15:40 /home/ypnosemad/.Xauthority
Dernière modification par Ypnose le mer. 08 juin 2011, 17:14, modifié 1 fois.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17596
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Xauthority].Xauthority does not exist

Message par benjarobin »

Je ne suis pas sûre de suive, Ton utilisateur c'est ypnosemad où xxx ?
Mais en effet Drexya à peut être raison, je n'ai jamais fait attention à ces détails :D
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
Ypnose
Maître du Kyudo
Messages : 1363
Inscription : sam. 01 mai 2010, 13:17

Re: [Xauthority].Xauthority does not exist

Message par Ypnose »

J'avais 'caché' mon username mais maintenant cela n'a plus de sens.
Mon username est: ypnosemad.

Ouai drexya doit avoir raison. Mais comment tu le sais?
Drexya
archer de cavalerie
Messages : 161
Inscription : sam. 20 juin 2009, 15:00

Re: [Xauthority].Xauthority does not exist

Message par Drexya »

Par exemple lorsque on se logue sans PolicyKit, le lancement d'une appli graphique avec un autre compte -root dans la plupart des cas-, nécessite de faire :

Code : Tout sélectionner

xhost + local:'nom du compte'
qu'on doit refaire si on se déco/reco, je l'avais même placé dans xinitrc pendant un moment ce qui n'est pas top niveau sécu

Code : Tout sélectionner

man xauth
edit : hum, me suis un peu mélangé les pinceaux on dirait, xhost est très rudimentaire apparemment et ne se réfère pas à xauth, voir ici pour plus d'infos.
Avatar de l’utilisateur
Ypnose
Maître du Kyudo
Messages : 1363
Inscription : sam. 01 mai 2010, 13:17

Re: [Xauthority].Xauthority does not exist

Message par Ypnose »

Hum. Donc tout est parfait alors.
Savez un de vos log à me montrer SVP?
Drexya
archer de cavalerie
Messages : 161
Inscription : sam. 20 juin 2009, 15:00

Re: [Xauthority].Xauthority does not exist

Message par Drexya »

Code : Tout sélectionner

Current version of pixman: 0.22.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun  8 16:00:27 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"

slim: waiting for X server to begin accepting connectionsThe XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
.
/usr/bin/xauth:  file /home/mich//.Xauthority does not exist
unable to connect to the rxvt-unicode daemon: Connection refused
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x7f344eeff5c0)" of type `GString'
dactyl: bootstrap: startup startup
dactyl: bootstrap: init pentadactyl@dactyl.googlecode.com
dactyl: bootstrap: init
dactyl: bootstrap: register: {16dc34f7-6d22-4aa4-a67f-2921fb5dcb69} @mozilla.org/commandlinehandler/general-startup;1?type=dactyl
dactyl: bootstrap: register: {c1b67a07-18f7-4e13-b361-2edcc35a5a0d} @mozilla.org/network/protocol;1?name=chrome-data
dactyl: bootstrap: register: {9c8f2530-51c8-4d41-b356-319e0b155c44} @mozilla.org/network/protocol;1?name=dactyl
dactyl: bootstrap: register: {f4506a17-5b4d-4cd9-92d4-2eb4630dc388} @dactyl.googlecode.com/base/xpc-interface-shim
dactyl: bootstrap: create module: @dactyl.googlecode.com/base/xpc-interface-shim
dactyl: bootstrap: create module: @mozilla.org/network/protocol;1?name=dactyl
dactyl: bootstrap: create module: @mozilla.org/commandlinehandler/general-startup;1?type=dactyl
pentadactyl: TypeError: (target.ownerDocument || target.document || target).defaultView is null
pentadactyl: TypeError: (target.ownerDocument || target.document || target).defaultView is null::
pentadactyl: fileName: "resource://dactyl/bootstrap.jsm -> resource://dactyl-content/events.js"
pentadactyl: lineNumber: 777
pentadactyl: message: "(target.ownerDocument || target.document || target).defaultView is null"
pentadactyl: stack: 	dispatch([object Proxy],[object KeyboardEvent],[object Object])@resource://dactyl-content/events.js:777
pentadactyl: 	_feedevent([object KeyboardEvent],0,[object Array])@resource://dactyl-content/events.js:611
pentadactyl: 	feedevents(null,[object Array],[object Object])@resource://dactyl-content/events.js:606
pentadactyl: 	execute([object Object],false)@resource://dactyl-content/events.js:115
pentadactyl: 	process([object KeyboardEvent])@resource://dactyl-content/events.js:182
pentadactyl: 	onKeyPress([object KeyboardEvent])@resource://dactyl-content/events.js:1255
pentadactyl: 	wrappedListener([object KeyboardEvent])@resource://dactyl-content/events.js:486
pentadactyl: toString: function () /* use strict */ 
pentadactyl: String(error)

pentadactyl: TypeError: (target.ownerDocument || target.document || target).defaultView is null
pentadactyl: TypeError: (target.ownerDocument || target.document || target).defaultView is null::
pentadactyl: fileName: "resource://dactyl/bootstrap.jsm -> resource://dactyl-content/events.js"
pentadactyl: lineNumber: 777
pentadactyl: message: "(target.ownerDocument || target.document || target).defaultView is null"
pentadactyl: stack: 	dispatch([object Proxy],[object KeyboardEvent],[object Object])@resource://dactyl-content/events.js:777
pentadactyl: 	_feedevent([object KeyboardEvent],0,[object Array])@resource://dactyl-content/events.js:611
pentadactyl: 	feedevents(null,[object Array],[object Object])@resource://dactyl-content/events.js:606
pentadactyl: 	execute([object Object],false)@resource://dactyl-content/events.js:115
pentadactyl: 	process([object KeyboardEvent])@resource://dactyl-content/events.js:182
pentadactyl: 	onKeyPress([object KeyboardEvent])@resource://dactyl-content/events.js:1255
pentadactyl: 	wrappedListener([object KeyboardEvent])@resource://dactyl-content/events.js:486
pentadactyl: toString: function () /* use strict */ 
pentadactyl: String(error)

Avatar de l’utilisateur
Ypnose
Maître du Kyudo
Messages : 1363
Inscription : sam. 01 mai 2010, 13:17

Re: [Xauthority].Xauthority does not exist

Message par Ypnose »

Ok donc ça à l'air good. Merci bien!
Répondre