Results 1 to 4 of 4

Thread: Problems with Matlab R2010b

  1. #1

    Default Problems with Matlab R2010b

    Hi,

    I'm having a problem with Matlab R2010b UNIX installation. In Ubuntu 10.10 and 11.04, this version of Matlab works fine. But now, with openSUSE 11.4 64 bits with KDE, the installation just don't work. I've typed this on terminal:

    Code:
    $ sudo ~/matlab/install
    and I've got this:

    Code:
    Preparing installation files ...
    Installing ...
    ---------------------------------------------------------------------------
    Error: Installation cannot proceed. You may either:
    1. Set an X11 display, and restart the install process
    2. Use the silent install feature by specifying the -mode silent option
    ---------------------------------------------------------------------------
    Finished
    Well, Java is installed and aparently that's not the problem. I've already searched on google and I haven't found something that works. Can someone help me? Someone already went through this?


    I'm Brazilian... Sorry for my bad english..

    Thanks!

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Problems with Matlab R2010b

    gpereira007 wrote:

    >
    > Hi,
    >
    > I'm having a problem with Matlab R2010b UNIX installation. In Ubuntu
    > 10.10 and 11.04, this version of Matlab works fine. But now, with
    > openSUSE 11.4 64 bits with KDE, the installation just don't work. I've
    > typed this on terminal:
    >
    >
    > Code:
    > --------------------
    > $ sudo ~/matlab/install
    > --------------------
    >

    Do not use sudo for this, but use kdesu and provide the full path to kdesu
    (otherwise it will expand ~ in the wrong way as you are root then)
    Code:
    kdesu /home/whoyouare/matlab/install
    of course replace "whoyouare" with your user name.

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram

  3. #3

    Default Re: Problems with Matlab R2010b

    Quote Originally Posted by martin_helm View Post
    gpereira007 wrote:

    >
    > Hi,
    >
    > I'm having a problem with Matlab R2010b UNIX installation. In Ubuntu
    > 10.10 and 11.04, this version of Matlab works fine. But now, with
    > openSUSE 11.4 64 bits with KDE, the installation just don't work. I've
    > typed this on terminal:
    >
    >
    > Code:
    > --------------------
    > $ sudo ~/matlab/install
    > --------------------
    >

    Do not use sudo for this, but use kdesu and provide the full path to kdesu
    (otherwise it will expand ~ in the wrong way as you are root then)
    Code:
    kdesu /home/whoyouare/matlab/install
    of course replace "whoyouare" with your user name.

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram
    Thank you very much! This really worked, but what is the reason I need to use kdesu instead of sudo?

    Vielen Dank!

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Problems with Matlab R2010b

    gpereira007 wrote:
    > Thank you very much! This really worked, but what is the reason I need
    > to use kdesu instead of sudo?
    >
    > Vielen Dank!
    >

    The simple reason is that sudo is a command which can be configured in a
    variety of ways via its configuration file /etc/sudoers (or the visudo
    tool).
    Because sudo is the main tool in ubuntu for everything you need to do as
    root they configured it by default that you can run gui applications with
    it. This is not the default configuration in openSUSE (the default
    configuration for sudo in openSUSE is more or less that there is no special
    configuration for it at all).
    The more traditional way is chosen to use su instead of sudo and
    kdesu/gnomesu for gui applications which need root permissions.
    If you simply compare how sudo is by default configured in ubuntu and make
    the same configuration for it in openSUSE it should behave exactly the same
    (I never tested this though, because I like the traditional way with a full
    root account).
    To see how it is configured in openSUSE run "visudo" as root or "cat
    /etc/sudoers" and do the same on an ubuntu to see the difference.

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •