Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

cannot open display: localhost:0.0

export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #open
ADD COMMENT
Topic
Name
2+2 =