[R] X11 display problem

MacQueen, Don macqueen1 at llnl.gov
Wed Apr 11 17:09:04 CEST 2012

I use ssh -Y in this situation.

You can test with other X client applications, such as xclock. Try running
xclock after your login. If you get the same "unable to open" message then
it's not an R problem.


Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550

On 4/10/12 6:48 AM, "carol white" <wht_crl at yahoo.com> wrote:

>I run R on a unix server and login from a Mac with ssh -X. When I want to
>run a graphics function like hist, I get the following x11 message:
>Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma,
>d$colortype,  : 
>  unable to start device X11cairo
>In addition: Warning message:
>In function (display = "", width, height, pointsize, gamma, bg,  :
>  unable to open connection to X11 display ''
>Do I need any library like cairo installed on my local Mac?
>I also set LC_CTYPE="en_US.UTF-8" in my profile
>	[[alternative HTML version deleted]]

More information about the R-help mailing list