bugGNU Octave - Bugs: bug #37078, GUI mode should automatically fall...

 
 

bug #37078: GUI mode should automatically fall back to CLI mode if no X server

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Sat 11 Aug 2012 09:44:27 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 11 Aug 2012 10:17:57 PM UTC, comment #1:

The following change fixes this problem for me:

http://hg.savannah.gnu.org/hgweb/octave/rev/973296940c89

John W. Eaton <jwe>
Project Administrator
Sat 11 Aug 2012 09:44:27 PM UTC, original submission:

The newly unified octave+gui executable exits with an error if it cannot connect to X or if DISPLAY is unset, e.g. over SSH without X forwarded.

The error is internal to Qt and I don't think there's a way to detect the condition, Qt just exits immediately (love it when library code chooses to exit for me).

Ideally, if the user runs octave without specifying --force-gui or --no-gui, it should detect whether it can connect to X first, and fall back to CLI mode if not. Currently, user has to read the error, know what it means, and run octave --no-gui.

Mike Miller <mtmiller>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by mtmiller (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 11 Aug 2012 10:17:57 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1