Ticket 11876 - unable to start device PNG; unable to open connection to X11 display; Noninteractively
Summary: unable to start device PNG; unable to open connection to X11 display; Noninte...
Status: RESOLVED INVALID
Alias: None
Product: Slurm
Classification: Unclassified
Component: Configuration (show other tickets)
Version: 21.08.x
Hardware: Linux Linux
: 6 - No support contract
Assignee: Jacob Jenson
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2021-06-22 06:38 MDT by Sid
Modified: 2021-06-22 06:38 MDT (History)
0 users

See Also:
Site: -Other-
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description Sid 2021-06-22 06:38:20 MDT
Hello,

I am running R code on parallelcluster which is slurm based. Upon running job on compute, I receive below error:

Error in .External2(C_X11, paste0("png::", filename), g$width, g$height,  :
  unable to start device PNG
Calls: ggsave -> dev -> png_dev
In addition: Warning message:
In png_dev(..., res = dpi, units = "in") :
  unable to open connection to X11 display ''
Execution halted


I enabled x11 forwarding on compute and master via changes in sshd_config. x11, xorg and other packages installed as well. The script runs fine on master and compute when logged in to it and triggered manually.

But fails when run via batch job script or non-interactively.

Please If anyone can help.