Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Cannot open X display - Quartus II 8.0

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

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.