Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[tk/vnc] "can't load color" ou "unknown color name" [résolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
BlackAngel
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 77
Location: France - Crépy en Valois

PostPosted: Fri Sep 29, 2006 8:17 am    Post subject: [tk/vnc] "can't load color" ou "unknown color Reply with quote

Bonjour à tous :)

Celà faisait un petit moment que je n'étais pas venu vous soliciter, mais là, je ne trouve vraiment pas, so ...

First, désolé pour le titre pas trés explicite mais je n'ai pas encore trouvé le bon :P

Donc, mon problème est le suivant:
je me connecte à ma machine en vnc sur un bureau fluxbox et lorsque j'essai de lancer aterm, j'ai ce message
Code:
aterm has encountered a problem interacting with X Windows :
      Request: 2,    Error: 3(BadWindow (invalid Window parameter))
      in resource: 0x0
aterm: can't load color "black", colorID = 1, (29)
aterm: can't load color "Black", colorID = 1, (29)
aterm: aborting

et lorsque j'essai de lancer aMsn, j'ai celui ci
Code:
Error in startup script: unknown color name "white"
    (processing "-background" option)
    invoked from within
"text $window.info -background white -width 60 -height 30 -wrap word  -yscrollco
mmand "$window.ys set""
    (procedure "::pluginslog::draw" line 10)
    invoked from within
"::pluginslog::draw"
    invoked from within
"if { $initialize_amsn == 1 } {
     ::pluginslog::draw
}"
    (file "pluginslog.tcl" line 205)
    invoked from within
"source pluginslog.tcl"
    ("uplevel" body line 22)
    invoked from within
"uplevel \#0 {

        source ctthemes.tcl
        source progressbar.tcl  ;# Progressbar Megawidget
        source migmd5.tcl
        source des.tcl          ;# DES encryptionamsn*white: #FFFFFF
amsn*black: #000000
        source s..."
    (procedure "reload_files" line 2)
    invoked from within
"reload_files"
    (file "/usr/bin/amsn" line 237)


C'est les deux seules applications que j'ai essayé, mais il doit y en avoir d'autre qui bloquent.

Si je comprend bien, la source du problème c'est qu'il ne trouve pas les couleurs nommé black ou white.
J'ai essayé d'éditer mon fichier .Xdefaults comme suit
Code:

amsn*white: #FFFFFF
amsn*black: #000000
XTerm*color0: #000000
XTerm*color1: #b21818
XTerm*color2: #18b218
XTerm*color3: #BE5F00
XTerm*color4: #6D85BA
XTerm*color5: #b218b2
XTerm*color6: #18b2b2
XTerm*color7: #b2b2b2
XTerm*color8: #686868
XTerm*color9: #FF5454
XTerm*color10: #54FF54
XTerm*color11: #FFFF54
XTerm*color12: #73A5FF
XTerm*color13: #FF54FF
XTerm*color14: #54FFFF
XTerm*color15: #FFFFFF
XTerm*background: black
XTerm*foreground: #A8A8A8

Aterm*black: #000000
Aterm*scrollBar: false
Aterm*loginShell: true
Aterm*transparent: true
Aterm*tintingType: true
Aterm*tinting: #a07040
Aterm*shading: 35
Aterm*title: Terminal
Aterm*iconName: Terminal
Aterm*font: -misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso8859-15
Aterm*geometry: 120x40


mais rien n'y fait.

Une idée de solution ?
Parce que j'ai bien cherché (je pense) mais je vois pas :(

Merci beaucoup. :)

Edit: bon apparement, ce serait plus un problème qui viendrait de Tk que de X.
http://ubuntuforums.org/showthread.php?p=858323

Mais j'ai pas encore trouvé une solution propre à Gentoo ... ;)
_________________
http://www.angenoir.com


Last edited by BlackAngel on Fri Sep 29, 2006 12:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
DidgeriDude
Guru
Guru


Joined: 30 Jan 2005
Posts: 349

PostPosted: Fri Sep 29, 2006 12:17 pm    Post subject: Reply with quote

J'ai suivi ton lien. Perso je suggérerais un
Code:
ln -s /usr/share/X11/rgb.txt /usr/lib/X11/rgb.txt
Back to top
View user's profile Send private message
BlackAngel
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 77
Location: France - Crépy en Valois

PostPosted: Fri Sep 29, 2006 12:29 pm    Post subject: Reply with quote

nope, j'ai testé, ça ne change rien.

Autre piste, j'ai ajouté :
Code:
 RgbPath         "/usr/share/X11/rgb.txt"

à mon xorg.conf mais idem, aucun effet.

je pense que ça doit etre du à vnc + tk, je vais m'orienter de ce coté là, je verrais bien ...

Edit: autant pour moi, le lien symbolique fonctionne bien mais il fallait relancer vnc ... à la windows quoi :P

Merci pour le coup de pouce :lol:

En tout cas, c'est étrange comme erreur et un lien symbolique, c'est pas trés propre comme solution ... si quelqu'un sait où l'on configure ça sur vnc ... ;)
_________________
http://www.angenoir.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum