Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-27-2014, 12:41 PM   #1
LQ Newbie
Registered: May 2014
Posts: 1

Rep: Reputation: Disabled
gnuplot on Angstrom Linux


I installed gnuplot-4.6.5 on Beaglebone Black running Angstrom by compiling from source. On trying to plot x^2, I got the following error:

gnuplot> plot x*x   
gnuplot: unable to open display '' 
gnuplot: X11 aborted.
So I tried setting the display to :0

export DISPLAY=":0"
and retried plotting x^2.
gnuplot> plot x*x      
No protocol specified
gnuplot: unable to open display ':0'
gnuplot: X11 aborted.
Can you please help me?
Old 05-28-2014, 09:34 PM   #2
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,500

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Did you by any chance start Gnuplot in a terminal window while being root?

What is reported as terminal type when starting Gnuplot? Mine says 'wxt'. When I change it to 'x11' it still works, but the window type is different.

What is the value of the $DISPLAY variable in the shell?


Last edited by jlinkels; 05-28-2014 at 09:36 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
arm angstrom linux ubi image ranaanmol Linux - Mobile 1 01-20-2012 02:41 AM
Linux Angstrom Distro for Arm kit ranaanmol Linux - Distributions 18 12-28-2011 10:54 PM
Linux Angstrom stuck schliz Linux - Embedded & Single-board computer 2 06-30-2011 04:29 AM
Telnet for Angstrom Linux on Pandaboard spudgunner Linux - Software 4 03-25-2011 10:38 AM

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration