OVH Cloud OVH Cloud

agent x11 au rapport

11 réponses
Avatar
jean-pierre.gerbal
bonjour,

en lançant gnumeric ,j'obtiens :
jeanpierregerbal% gnumeric

Gnome-ERROR **: Could not create per-user Gnome directory
</Users/jeanpierregerbal/.gnome/accels> - aborting

mais si je tape :
sudo gnumeric

plus de pb.... comment résoudre ce problème ?
--
merci

jean-pierre gerbal

10 réponses

1 2
Avatar
jean-pierre.gerbal
Xavier wrote:

jean-pierre gerbal wrote:

Gnome-ERROR **: Could not create per-user Gnome directory
</Users/jeanpierregerbal/.gnome/accels> - aborting


Que dit "ls -ld /Users/jeanpierregerbal/.gnome" ?


drwx------ 6 504 staff 204 Nov 14 08:49
/Users/jeanpierregerbal/.gnome

mais si je tape :
sudo gnumeric

plus de pb.... comment résoudre ce problème ?


Si c'est comme je le pense un problème de droits :
$ sudo chown -R jeanpierregerbal:staff ~/.gnome
devrait suffire.


sudo: chown: command not found

??? je comprends pas
--
merci

jean-pierre gerbal


Avatar
jean-pierre.gerbal
Xavier wrote:

Ceci devrait au moins remettre une partie des choses en ordre :

$ sudo /usr/sbin/chown -R jeanpierregerbal:staff ~/.
sudo /usr/sbin/chown -R jeanpierregerbal:staff ~/.

Password:
Sorry, try again.
Password:
/usr/sbin/chown:
/Users/jeanpierregerbal/./Library/Preferences/MPEauth.4.pref: Operation
not permitted


Que dit "echo $PATH" ? et "ls -l /usr/sbin/chown" ?


[ordibureaujp:~] jeanpierregerbal% echo $PATH
/sw/bin:/sw/sbin:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/usr/local
/teTeX/bin/powerpc-apple-darwin-current:/usr/X11R6/bin

[ordibureaujp:~] jeanpierregerbal% ls -l /usr/sbin/chown
-r-xr-xr-x 1 root wheel 14440 Sep 23 19:35 /usr/sbin/chown

Tu as des trucs bizzares dans ton environnement ...
je sais et j'ai pas encore trouvé comment réparer... l'origine vient de

ce que tu as diagnostiqué (transfert de dossier via finder)
--
merci

jean-pierre gerbal

Avatar
jean-pierre.gerbal
Xavier wrote:

jean-pierre gerbal wrote:

/Users/jeanpierregerbal/./Library/Preferences/MPEauth.4.pref: Operation
not permitted


Ca, c'est pas grave : c'est un fichier qui a été verouillé dans le
Finder. Lire les Infos, déverouiller, recommencer.


ben je le trouve pas ce mpeauth...

[ordibureaujp:~] jeanpierregerbal% echo $PATH
/sw/bin:/sw/sbin:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/usr/local
/teTeX/bin/powerpc-apple-darwin-current:/usr/X11R6/bin


Y'en manque. En fait ça ressemble furieusement au contenu d'un compte
non-admin copié dans le répertoire d'un admin.


ou d'un compte admine d'un autre disque ? que rajouter ?
--
merci

jean-pierre gerbal


Avatar
jean-pierre.gerbal
Xavier wrote:

remettre le .bash_login (ou .tcshrc si tu es pervers polymorphe)
d'origine.


où qu'il est ce .tcshrc d'origine ?
voilà ce que j'ai dedans actuellement :

setenv LANG "fr"
source ~/.cshrc

--
merci

jean-pierre gerbal

Avatar
laurent.pertois
Xavier wrote:

Et si tu es sous Panther, c'est .bash_login


Euh, si tu fais une MAJ ou un archivage avec conservation des
utilisateurs, Panther te laisse en tcsh.

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.

Avatar
jean-pierre.gerbal
Xavier wrote:

jean-pierre gerbal wrote:

setenv LANG "fr"
source ~/.cshrc


Ben non, puisque dans ton PATH, il y a fink (/sw/bin), c'est forcément
un autre...


dans .cshrc il y a :
source /sw/bin/init.csh

Et si tu es sous Panther, c'est .bash_login
jag !


dans //sw/bin/init.csh, il y a (attention, c'est un peu long) :

# define append_path and prepend_path to add directory paths, e.g. PATH,
MANPAT$
# add to end of path
alias append_path 'if ( $!:1 !~ !:2:* && $!:1 !~ *:!:2:* && $!:1
!~ *:$
# add to front of path
alias prepend_path 'if ( $!:1 !~ !:2:* && $!:1 !~ *:!:2:* &&
$!:1 !~ *$

# setup fink related paths. we assume that the fink directories exists.
if ( $?PATH ) then
prepend_path PATH /sw/bin:/sw/sbin
else
setenv PATH /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin
endif

if ( $?MANPATH) then
prepend_path MANPATH /sw/share/man
else
setenv MANPATH `/usr/bin/manpath -q`
prepend_path MANPATH /sw/share/man
endif

if ( $?INFOPATH ) then
prepend_path INFOPATH /sw/share/info:/sw/info
else
setenv INFOPATH /sw/share/info:/sw/info:/usr/share/info
endif

if ( -r /sw/share/java/classpath ) then
if ( $?CLASSPATH ) then
set add2classpath = `cat /sw/share/java/classpath`
prepend_path CLASSPATH $add2classpath
else
setenv CLASSPATH `cat /sw/share/java/classpath`
endif
endif

if ( $?PERL5LIB ) then
prepend_path PERL5LIB /sw/lib/perl5
else
setenv PERL5LIB /sw/lib/perl5
endif

# Add X11 paths (but only if the directories are readable)
if ( -r /usr/X11R6/bin ) then
append_path PATH /usr/X11R6/bin
endif
if ( -r /usr/X11R6/man ) then
append_path MANPATH /usr/X11R6/man
endif

# read per-package scripts from /sw/etc/profile.d
if ( -d /sw/etc/profile.d ) then
set nonomatch
foreach i ( /sw/etc/profile.d/*.csh )
if ( -x $i ) then
source $i
endif
end
unset i nonomatch
endif

if ($?version) then
if ("$version" =~ tcsh*) then
complete fink 'n/fink/(install remove selfupdate update-all
configure list $
endif
endif

set PROXYHTTP=`grep ProxyHTTP /sw/etc/fink.conf | grep -v "#" | cut -d "
" -f2`

if ( "$PROXYHTTP" != "" ) then
setenv HTTP_PROXY $PROXYHTTP
setenv http_proxy $PROXYHTTP
endif

endif

set PROXYHTTP=`grep ProxyHTTP /sw/etc/fink.conf | grep -v "#" | cut -d "
" -f2`

if ( "$PROXYHTTP" != "" ) then
setenv HTTP_PROXY $PROXYHTTP
setenv http_proxy $PROXYHTTP
endif

set PROXYFTP=`grep ProxyFTP /sw/etc/fink.conf | grep -v "#" | cut -d " "
-f2`

if ( "$PROXYFTP" != "" ) then
setenv FTP_PROXY $PROXYFTP
setenv ftp_proxy $PROXYFTP
endif

# eof


--
merci

jean-pierre gerbal


Avatar
Martin.Jourdan.nospam
Laurent Pertois wrote:

Euh, si tu fais une MAJ ou un archivage avec conservation des
utilisateurs, Panther te laisse en tcsh.


Ben heureusement, pas touche à mon tcsh !
--
Martin Jourdan
Informaticien, fan de Macintosh (X), de Peter Gabriel et de volley-ball

Avatar
laurent.pertois
Martin Jourdan wrote:

Laurent Pertois wrote:

Euh, si tu fais une MAJ ou un archivage avec conservation des
utilisateurs, Panther te laisse en tcsh.


Ben heureusement, pas touche à mon tcsh !


Ah tiens, un unixien utilisateur de tcsh :)

--
Politically Correct Unix - UTILITIES
The "touch" command has been removed from the standard distribution due
to its inappropriate use by high-level managers.


Avatar
Martin.Jourdan.nospam
Laurent Pertois wrote:

Ah tiens, un unixien utilisateur de tcsh :)


Ben oui, je suis tombé dans la mixture BSD/Emacs/Tcsh il y a bien
longtemps, et j'ai vraiment beaucoup de mal à me faire à la mixture
System V/VI/ksh... une autre raison (pour moi) d'apprécier Mac OS X :-)
--
Martin Jourdan
Informaticien, fan de Macintosh (X), de Peter Gabriel et de volley-ball

Avatar
fr_jacqu
Xavier wrote:

Martin Jourdan wrote:

Ben oui, je suis tombé dans la mixture BSD/Emacs/Tcsh il y a bien
longtemps,


Ben c'est vraiment une mixture contre nature, ton truc :-)

Emacs, c'est le fer de lance de la secte GNU, quand à (t)csh, c'est un
truc dont on se demande quel esprit malade l'a inventé.

Un vrai BSD-iste utilise vi/sh. zhs s'il est pas maso, bash, s'il n'est
pas raciste...

XAv


Vos gueules les sectes. Laissez les insectes travailler tranquilles avec
ce qu'ils veulent. On n'est pas obligé, parce qu'on choisit un outil, de
mépriser celui du voisin. En particulier, moi je les trouve très bien,
vos outils, à tous les deux. Le meilleur outil, c'est celui dont on a
l'habitude, et avec lequel on perd le moins de temps, non ?

C'est très intéressant, ce phénomène des groupuscules à se subdiviser en
autant de sous-groupuscules que possible, dans l'espoir d'un recrutement
réunificateur qui ne vient jamais, comme si la quantification des
groupes allait pouvoir faire illusion, à soi-même en premier, en se
substituant à celle des membres... C'est HS et trop bien pour ici, ce
que je dis là.
--
F. Jacquemin


1 2