{"id":89,"date":"2007-04-20T13:17:00","date_gmt":"2007-04-20T18:17:00","guid":{"rendered":"http:\/\/www.familytidings.com\/blog\/?p=89"},"modified":"2007-04-20T13:17:00","modified_gmt":"2007-04-20T18:17:00","slug":"undefined-color-black","status":"publish","type":"post","link":"https:\/\/www.familytidings.com\/blog\/?p=89","title":{"rendered":"Undefined color: &quot;black&quot;"},"content":{"rendered":"<p>Recently, I started having a problem with remote X sessions over VNC.  This is using TightVNC version 3.3.tight1.2.9.  One day emacs refused to load.  It said only <code>Undefined color: \"black\"<\/code>.  This was odd because I had black in the window manager.  So, I tried vi instead, except there was black on black text in some places I couldn&#8217;t read.  Then I installed XEmacs to see if that was any better.  It complained <code>Warning: Color name \"Black\" is not defined<\/code> as well as a handful of other colors before spouting a fatal error message and seg faulting.<\/p>\n<p>A little digging turned up posts about <code>rgb.txt<\/code> being in the wrong place.  Fedora Core 6 has it in <code>\/usr\/share\/X11<\/code>.  Some people fixed this problem by putting a soft link to it in <code>\/usr\/lib\/X11<\/code>.  I wasn&#8217;t so lucky.  <a href=\"http:\/\/groups.google.com\/group\/linux.debian.user\/browse_thread\/thread\/f539c0b32c379335\/c1f88452cf435274?lnk=st&#038;q=+Color+name+%22Black%22+is+not+defined&#038;rnum=5&#038;hl=en#c1f88452cf435274\">Another post<\/a> mentioned looking for errors in the X log:  <code>grep -i rgbpath \/var\/log\/Xorg.0.log<\/code>.  Since I&#8217;m having trouble with VNC, for me the log is <code>~\/.vnc\/hoover.faber-net:2.log<\/code>.  I got nothin&#8217;, so I looked at the file and right at the top was <code>Couldn't open RGB_DB '\/usr\/X11R6\/lib\/X11\/rgb'<\/code>.  I put a soft link in <code>\/usr\/X11R6\/lib\/X11<\/code> to <code>\/usr\/share\/X11\/rgb.txt<\/code> and restarted the VNC server.  Then it was happy.  How did this happen?  Could be because I&#8217;m running a locally compiled version of TightVNC from 2003 :-p  Time to upgrade&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I started having a problem with remote X sessions over VNC. This is using TightVNC version 3.3.tight1.2.9. One day emacs refused to load. It said only Undefined color: &#8220;black&#8221;. This was odd because I had black in the window manager. So, I tried vi instead, except there was black on black text in some [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-89","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=89"}],"version-history":[{"count":0,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/89\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}