This bug affects us too. We tried working around the issue by switching
to a locale which provides timestamps in a shorter format by default
(e.g. DD.MM.YY) so it would still fit into the greeter box, but
apparently simply overriding $LANG and $LC_TIME is not enough to affect
the PAM messages.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-greeter in Ubuntu.
https://bugs.launchpad.net/bugs/1617022

Title:
  box width not resized for pam messages

Status in unity-greeter package in Ubuntu:
  Confirmed

Bug description:
  Description:     Ubuntu 16.04.1 LTS
  Release:         16.04
  Package version: 16.04.2-0ubuntu1

  
  Is it possible to either dynamically expand the width and height of
  the greeter box in order to fully display PAM messages?   If one uses
  Kerberos for authentication, the Unity greeter truncates/fades out the
  full text returned by PAM concerning Kerberos password/principal expiry:
  The attached unity-greeter-truncations.tar file contains three PNG files
  illustrating truncation when:

  - a password is about to expire.
  ['password_expire_soon.png']

  - you enter the previous password in the 'change password' dialog and
  local policy prevents re-use.
  ['expired_same_password.png']

  - you enter a password that does not meet local policy requirements
  in the 'change password' dialog.
  ['password_change_rejected.png']

  The truncation can make it difficult for end-users to understand
  what is going on.  Other display managers - such as gdm and mdm -
  are able to display such text in full.

  In the ubuntu-greeter source src/greeter-list.vala, it is possible to
  increase the default width of the greeter box by increasing the value below:

  public static const int BOX_WIDTH = 8;

  This is not a great solution because the login box is aesthetically
  unpleasant when it is that wide at all times.  Furthermore, the
  PAM text displayed by unity-greeter is not line-wrapped, making 
  the choice of a suitable value for BOX_WIDTH impractical.

  unity-greeter clearly has support for dynamically adjusting the height
  of the greeter box.  Would it be possible, therefore, to add support
  for dynamically adjusting the width and to format displayed PAM text
  so that it is at most, say, seventy-five characters long?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1617022/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to