Bug 5841 - Ugly output in text mode with tl-setup
Summary: Ugly output in text mode with tl-setup
Status: CLOSED WORKSFORME
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: 4.4.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.13.0
Assignee: Samuel Mannehed
URL:
Keywords: prosaic
Depends on:
Blocks:
 
Reported: 2016-04-13 09:04 CEST by Henrik Andersson
Modified: 2021-02-23 15:02 CET (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Henrik Andersson cendio 2016-04-13 09:04:28 CEST
When running tl-setup on a non recommended distribution we show this information to the user. For UI setup, a dialog is shown with a proceed button. However when running in text mode there is no heading for the text mass, no 'press any key' an no newline spacing for the next step:

  [root@dhcp-254-158 /]# /opt/thinlinc/sbin/tl-setup 
  Could not start PyGTK. Using text mode fallback...

  The Linux distribution on this system is not one of the distributions
  recommended for this version of ThinLinc. Although it may still be
  fully supported (provided it fulfills the system requirements), it has
  not been tested by Cendio and may not work as well as the recommended
  ones.

  Please see the release notes for information about which distributions
  are recommended.
  Welcome to the ThinLinc Server Setup Wizard
  ===========================================

  This program will configure ThinLinc to run on your system. It will
  also verify that you have all required software installed.

  Before continuing, please ensure you have read the Platform Specific
  Notes at https://www.cendio.com/thinlinc/docs

  Press Enter to continue...

Should look something like:

  Could not start PyGTK. Using text mode fallback...


  ThinLinc Server Setup Wizard
  ===========================================

  The Linux distribution on this system is not one of the distributions
  recommended for this version of ThinLinc. Although it may still be
  fully supported (provided it fulfills the system requirements), it has
  not been tested by Cendio and may not work as well as the recommended
  ones.

  Please see the release notes for information about which distributions
  are recommended.

  Press Enter to continue...


  Welcome to the ThinLinc Server Setup Wizard
  ===========================================

  This program will configure ThinLinc to run on your system. It will
  also verify that you have all required software installed.

  Before continuing, please ensure you have read the Platform Specific
  Notes at https://www.cendio.com/thinlinc/docs

  Press Enter to continue...
Comment 1 Henrik Andersson cendio 2017-03-21 10:35:55 CET
It would also be nice to have two line breaks before each header for a nicer separation.
Comment 2 Samuel Mannehed cendio 2021-02-23 14:28:42 CET
The warning regarding "recommended" dists was removed in bug 7176 for ThinLinc 4.10.0.

It now looks like this:

> [14:22]samuel@samuel: ~/devel/ctc/tlmisc/tl-setup
> $ unset DISPLAY; sudo /opt/thinlinc/sbin/tl-setup
> Could not start PyGTK. Using text mode fallback...
> 
> Welcome to the ThinLinc Server Setup Wizard
> ===========================================
> 
> This program will configure ThinLinc to run on your system. It will
> also verify that you have all required software installed.
> 
> Before continuing, please ensure you have read the Platform Specific
> Notes at https://www.cendio.com/thinlinc/docs/platforms
> 
> Press Enter to continue...

Good enough.

The "problem" about no spacing before the PyGTK-warning isn't relevant in my opinion.

Note You need to log in before you can comment on or make changes to this bug.