This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Install CCS 5.1.0.08030 on Debian Squeeze x64

Hi there, I just downloaded CCS 5.1.0.08030 for Linux. Here I'm running a Debian Squeeze 64 bit system. When I start the installation, it shows me a message that I should set DISPLAY. However, it is already set:

bachmann@kokolorix:~/CCS5.1.0.08030_linux$ echo $DISPLAY
:0.0
bachmann@kokolorix:~/CCS5.1.0.08030_linux$ sudo ./ccs_setup_5.1.0.08030.bin
[sudo] password for bachmann:
Please set DISPLAY. Code Composer Studio v5 cannot be installed in console mode.

bachmann@kokolorix:~/CCS5.1.0.08030_linux$ su
Passwort:
root@kokolorix:/home/bachmann/CCS5.1.0.08030_linux# echo $DISPLAY
:0.0
root@kokolorix:/home/bachmann/CCS5.1.0.08030_linux# ./ccs_setup_5.1.0.08030.bin
Please set DISPLAY. Code Composer Studio v5 cannot be installed in console mode.

So what is missing?

  • Hi,

    We don't officially support your distro, therefore I have only a few tips on what may be happening.

    It seems the DISPLAY variable is properly set, but somehow the installjammer cannot "see" it. In this case, can you try to explicitly force the install mode to standard?

    bachmann@kokolorix:~/CCS5.1.0.08030_linux$ sudo ./ccs_setup_5.1.0.08030.bin -mode standard

    I am not sure why this is happening, but maybe an alias is forcing the installjammer to run in console mode.

    Just to confirm, you are running this from a terminal window under the graphical environment (Gnome, KDE), right?

    There is also a discussion regarding Debian and sudo access to a X-Windows display at:

    http://www.linuxquestions.org/questions/linux-general-1/give-root-access-to-users-display-sudo-problems-402061/

    I will keep looking for additional tips, but in the meantime please give these tips a try.

    Regards,

    Rafael


  • I've hit the same thing with CCS5.1 released on 11/7.  I'm running F15 x64 (2.6.38.6-26.rc1.fc15.x86_64).

    I also have the ia32 libs installed so I should be able to run 32-bit apps as well.

    I'm trying to install on the local console (DISPLAY=:0.0).  I've tried running the installer as both myself and the root user.  Same result either way.

    --
    Miles

     

  • Hi all,

    if someone is interested, I solved this problem.

    Used the following link http://processors.wiki.ti.com/index.php/Linux_Host_Support

    and install all the dependencies of CCS with the 32 bits packages. In my case, i used with root account yum install alsa-lib.i686 atk.i686 cairo.i686 dbus-glib.i686 gdk-pixbuf2.i686 pango.i686

    I'm running a fresh install of Fedora 16 x64 and it's work.


    --

    Nicolas

  • Wow, they updated this wiki page. I will try this with Debian Squeeze. Thanks for the hint! :)

  • I encountered the same problem last night with my installation of CCS5.1, that is "Cannot open display."  I am running OpenSUSE 11.1 Gnome.   I'm am not willing to update my distribution arbitrarily, based on an error message from third party application.  Things very often stop working with other applications when I do that. 

    My solution:  Rather than install Code Composer studio using "sudo" from my login, I just su to root...i.e.

    >>>  su - root

    # cd /opt

    # ./ccs_setup_5.1.0.09000.bin

    This installation works just fine.  Now the "Desktop" icon will be under root's home directory.

    So from your normal login

    cd Desktop

    sudo ~root/Desktop/* .

    sudo chmod 777 *

    sudo chown <myloginid> *

    Now, I know that the trend is for people to "sudo" everything, rather than login directory as super user.  I personally am comfortable typing at a root prompt;  I haven't made a mistake in 20 years of running on Unix-based systems.

    If you don't have a root login available (as is the case from Ubuntu) it's super easy to create one.  The following will let you set a password for your root Login.

    sudo passwd

    * Password

    * Verify

    Now make sure that root has a home directory

    ls /home/root

    if one doesn't exist, then create one as follows:

    su - root

    <Password>

    sudo mkdir /home/root

    Then create your "Desktop" directory for your root account:

    su - root

    cd ~

    mkdir Desktop

    Now it's very easy to run your code composer installation from your root Login.  Copy the Desktop icons to your own login.  And don't face the added danger of an update pulling the carpet out from under one of your already installed applications.

    Typing at a root prompt is empowering...don't be afraid

  • Same problem here with CCS 5.2 and siduction 64bit (Debian sid). Did it work, what did you do ?

    oppa@siductionbox:~/CCS5.2.0.00069_linux$ LANG=C && dpkg -l ia32-libs*
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name           Version        Description
    +++-==============-==============-============================================
    ii  ia32-libs      20120102       ia32 shared libraries for use on amd64 and i
    un  ia32-libs-dev  <none>         (no description available)
    ii  ia32-libs-gtk  20120102       GTK+ ia32 shared libraries
    un  ia32-libs-libc <none>         (no description available)
    un  ia32-libs-libi <none>         (no description available)
    un  ia32-libs-libn <none>         (no description available)
    un  ia32-libs-libn <none>         (no description available)
    un  ia32-libs-libs <none>         (no description available)
    un  ia32-libs-open <none>         (no description available)
    un  ia32-libs-stat <none>         (no description available)
    un  ia32-libs-work <none>         (no description available)
    oppa@siductionbox:~/CCS5.2.0.00069_linux$ echo $DISPLAY
    :0
    
  • I've installed gksu, that did the trick. :)

  • From: http://www.linuxquestions.org/questions/linux-newbie-8/cant-open-display-as-root-314573/

    I've verified this works on 32-bit Debian 6.06 and it does not require any 3P packages.

    Code:
    user@linux:~>xhost +
    access control disabled, clients can connect from any host
    user@linux:~>su
    <password>
    linux:/home/user # export DISPLAY=:0.0
    linux:/home/user # ./ccs_setup_....

     

    If your desktop icons are missing, you'll find them in /root/Desktop