Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17260 Discussions

Cannot open X display - Quartus II 8.0

Altera_Forum
Honored Contributor II
2,161 Views

As usual, being a newbie to Quartus tools I am running into initial set up issues. I am trying to open Quartus software from command line and here's the script I am using to open get into NIOS2SDK shell (copied from http://www.nioswiki.com/operatingsystems/uclinux/quartusforlinux): 

#!/bin/bash# Run this for a Nios II SDK bash shell 

export LM_LICENSE_FILE=1800@localhost 

SOPC_KIT_NIOS2=/opt/altera8.1/nios2eds 

export SOPC_KIT_NIOS2 

SOPC_BUILDER_PATH_81=/opt/altera8.1/nios2eds 

export SOPC_BUILDER_PATH_81 

unset GCC_EXEC_PREFIX 

QUARTUS_ROOTDIR=/opt/altera8.1/quartus 

export QUARTUS_ROOTDIR 

export PERL5LIB=/usr/lib/perl5/5.10.0 

bash --rcfile $QUARTUS_ROOTDIR/sopc_builder/bin/nios_bash 

 

 

But I am getting "Cannot open X display" error. I have read posts in this forum which say that we do not need X11 library trick, so can some one guide me as to what could be the possible reason and what variables I can check? 

I tried to remotely connect to the machine which has quartus software, it din't gave me X server error though, so could it be the DISPLAY variable that needs to be set right? 

 

 

volatile 

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,179 Views

As far as I understand, you are in the right direction i.e it is not the problem of QUARTUS, but that of Xdisplay.

0 Kudos
Altera_Forum
Honored Contributor II
1,179 Views

Hey Thanks for the reply. 

 

I was not using the GUI so I started it with "startx" command and things started working fine. BUt I am still not able to understand the problem it was having without having the GUI up?
0 Kudos
Altera_Forum
Honored Contributor II
1,179 Views

bash-3.00$ echo $DISPLAY bash-3.00$ bash --rcfile $QUARTUS_ROOTDIR/sopc_builder/bin/nios_bash ------------------------------------------------ Welcome To Altera SOPC Builder Version 9.0, Built Wed Feb 25 21:35:53 PST 2009 ------------------------------------------------ ~ $mine seems to work over ssh.

0 Kudos
Reply