Gael Even
2006-Sep-12 17:36 UTC
[R] Use of xvfb : X11 cannot allocate additional graphics colors. Consider using colortype="pseudo.cube" or "gray"
Hi, I use R in remote access on a Debian server. I need X11() to create graphical things so I use xvfb-run (Virtual X server environnement) R to allowing X11() capabilities to R. An other technique is to connect in shh -X to execute my R script. With the connection ssh -X, my R script is well executed. BUT when I use Xvfb, some graphics are created but an error occured and stop the script. here the error : " X11 cannot allocate additional graphics colors. Consider using colortype="pseudo.cube" or "gray" " There is obviously a problem witth xvfb but I can't not resolve it please help me! Thank you Gael Even
Prof Brian Ripley
2006-Sep-12 18:09 UTC
[R] Use of xvfb : X11 cannot allocate additional graphics colors. Consider using colortype="pseudo.cube" or "gray"
It's a known problem. Run the X11 device with the arguments stated, as it says .... On Tue, 12 Sep 2006, Gael Even wrote:> Hi, > > I use R in remote access on a Debian server. > I need X11() to create graphical things so I use xvfb-run (Virtual X server > environnement) R to allowing X11() capabilities to R. > An other technique is to connect in shh -X to execute my R script. > With the connection ssh -X, my R script is well executed. BUT when I use Xvfb, > some graphics are created but an error occured and stop the script. > here the error : > > " X11 cannot allocate additional graphics colors. Consider using > colortype="pseudo.cube" or "gray" " > > There is obviously a problem witth xvfb but I can't not resolve it > please help me! > > Thank you > > Gael Even > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595