I am using Raspberry Pi 4 for one month. I installed octave today by writing sudo apt install octave It installed correctly. But the gui is not working. I can only use it with terminal . But when I am trying to use the gui something like this is happeningor

  • Could you elaborate on what you mean by 'not working'? What are you expecting to happen that doesn't?
    – Fred
    Oct 5, 2019 at 15:22
  • take a look at the left side of the image. it is blurred and the whole gui is hanged Oct 5, 2019 at 16:21
  • Is this the same system referred to in raspberrypi.stackexchange.com/q/104276/8697 ?
    – Milliways
    Oct 6, 2019 at 0:37
  • yes. it is indeed Oct 6, 2019 at 9:27
  • 2
    Then don't waste our time - fix the original problem first.
    – Milliways
    Oct 7, 2019 at 1:48

2 Answers 2


Open a terminal and type:

sudo chmod g+s /usr/bin/octave

This trick solve the issue


Octave needs a sudo/su permission before it works correctly. I found this problem 3 days ago. Last night I coincidentally wrote sudo octave and found something was different. Then I wrote sudo octave --force-gui and then the octave was good to use. And also the gui interface was changed too. Now I am working fine with octave. If anyone is using raspbian buster they should try it too .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.