You are not logged in.
Hello! This is my first post at the forum. I read it for months but wasn't comfortable enough to post due to my poor English communication skills. Feel free to make corrections as I'm still learning everyday.
I'm facing a strange issue with lxpolkit. It's just cosmetic, but it bothers me every time I need to mount a partition. Instead of showing me asterisks (or stars) when typing the password, it shows a different character, as you can see in the image bellow.
Image of the issue:
I'm using awesome window manager with pcmanfm and the toolkit for authentication. Does anybody know how I can fix it? Thank you!
Output of uname -a:
Linux whitepearl 4.4.3-1-ARCH #1 SMP PREEMPT Fri Feb 26 15:09:29 CET 2016 x86_64 GNU/Linux
Output of awesome:
Name : awesome
Version : 3.5.8-1
Description : Highly configurable framework window manager
Architecture : x86_64
URL : http://awesome.naquadah.org/
Licenses : GPL2
Groups : None
Provides : notification-daemon
Depends On : cairo dbus gdk-pixbuf2 imlib2 libxdg-basedir lua lua-lgi pango
startup-notification xcb-util-cursor xcb-util-keysyms xcb-util-wm xorg-xmessage
Optional Deps : rlwrap: readline support for awesome-client
dex: autostart your desktop files [installed]
vicious: widgets for the Awesome window manager
Required By : None
Optional For : transmission-gtk
Conflicts With : None
Replaces : None
Installed Size : 2.55 MiB
Packager : Levente Polyak <anthraxx@archlinux.org>
Build Date : Mon 01 Feb 2016 09:30:59 PM BRST
Install Date : Sat 20 Feb 2016 03:43:53 AM BRST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
Output of pacman -Qi pcmanfm:
Name : pcmanfm
Version : 1.2.4-1
Description : Extremely fast and lightweight file manager
Architecture : x86_64
URL : http://pcmanfm.sourceforge.net/
Licenses : GPL
Groups : lxde
Provides : None
Depends On : desktop-file-utils libfm-gtk2 lxmenu-data
Optional Deps : gvfs: for trash support, mounting with udisks and remote filesystems [installed]
udisks: alternative for mounting volumes [installed]
xarchiver: archive management
Required By : None
Optional For : xdg-utils
Conflicts With : None
Replaces : None
Installed Size : 1335.00 KiB
Packager : Balló György <ballogyor+arch@gmail.com>
Build Date : Sat 20 Feb 2016 10:22:51 PM BRST
Install Date : Fri 26 Feb 2016 06:09:32 PM BRT
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
Output of pacman -Qi lxsession:
Name : lxsession
Version : 1:0.5.2-2
Description : Lightweight X11 session manager
Architecture : x86_64
URL : http://lxde.org/
Licenses : GPL2
Groups : lxde
Provides : None
Depends On : dbus-glib libunique polkit
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : lxpolkit
Replaces : lxpolkit
Installed Size : 1111.00 KiB
Packager : Balló György <ballogyor+arch@gmail.com>
Build Date : Wed 17 Feb 2016 01:00:13 PM BRST
Install Date : Mon 29 Feb 2016 09:33:11 PM BRT
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
Output of xprop:
_NET_WM_USER_TIME(CARDINAL) = 3873948
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0xe00020
bitmap id # of mask for icon: 0xe00023
window id # of group leader: 0xe00001
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
_NET_WM_ICON(CARDINAL) = Icon (22 x 22):
░░░░
░ ░
░ ░
░░░░░░░░ ░
░ ░░ ░
░ ░░░ ░
░ ░░ ░░ ░░ ░
░░ ░░░░░ ░
░░ ░
░░ ░
░░░░
Icon (16 x 16):
░░░
░ ░
░ ░
░░░░░ ░
░ ░
░ ░░ ░
░ ░ ░░ ░
░░ ░░ ░
░ ░
░ ░
░░░░
Icon (24 x 24):
░░░░
░ ░
░ ░
░░░░░░░░ ░
░ ░░ ░
░ ░ ░░░ ░
░ ░ ░░ ░░ ░
░░ ░░░░░ ░
░ ░
░░ ░
░░░░
Icon (32 x 32):
░░░░░░░░░░░░░
░ ░░
░ ░░░░░░ ░ ░ ░ ░
░ ░ ░ ░
░ ░ ░░ ░
░░ ░░ ░░░░░
░ ░░ ░
░ ░
░░ ░░
░░░░
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 14680070
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0xe00005
WM_CLIENT_LEADER(WINDOW): window id # 0xe00001
_NET_WM_PID(CARDINAL) = 19508
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "whitepearl"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified location: 0, 0
program specified minimum size: 326 by 234
program specified maximum size: 326 by 234
window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "lxpolkit", "Lxpolkit"
WM_ICON_NAME(STRING) = "Authentication"
_NET_WM_ICON_NAME(UTF8_STRING) = "Authentication"
WM_NAME(STRING) = "Authentication"
_NET_WM_NAME(UTF8_STRING) = "Authentication"
Last edited by maiaftv (2016-03-02 04:16:56)
Offline
Welcome to arch!
I believe this problem may be related with your locale, please post output of "locale".
On side-note, why you are mounting manually? If you are not aware there are tools like udisks/udevil, if it is by choice just ignore.
Btw., your Englisth communications is just perfect!
Arch is home!
https://github.com/Docbroke
Offline
Thank you for you answer, Docbroke! I never though about auto-mounting the partitions. I've installed this way and it just works.
For sure I'll take a look at udisks/udevil at the weekend. In the meantime, I'll try to fix this "cosmetic" errors as it could turn out worse in the future. Here's the output of locale:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Cheers.
Offline
Most information you have provided looks fine. Have you changed system fonts?
On second look you already have gvfs and udisks installed (for automounting).
Arch is home!
https://github.com/Docbroke
Offline
I did a system update after a 4 months travel. I remember an issue about font conflicts, as you can see at pacman's log:
[2016-02-20 03:36] [PACMAN] Running 'pacman -Rs ibfonts-meta-base ibfonts-meta-extended ibfonts-meta-extended-lt'
[2016-02-20 03:36] [ALPM] transaction started
[2016-02-20 03:36] [ALPM] removed ibfonts-meta-extended (1-19)
[2016-02-20 03:36] [ALPM] removed ttf-noto-serif-multilang-ib (2015.04.20-1)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-noto-sans-multilang-ib (2015.04.20-1)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-lohit-punjabi-ib (2.5.3-6)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-ddc-uchen-ib (1.000-6)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ibfonts-meta-extended-lt (1-17)
[2016-02-20 03:36] [ALPM] removed ttf-signika-family-ib (1.0001-7)
[2016-02-20 03:36] [ALPM] removed ttf-opensans-ib (1.2-17)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-merriweather-sans-ib (1.003-8)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-merriweather-ib (1.003-8)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-gelasio-ib (1.00-6)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-carlito-ib (20130920-7)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-cantoraone-ib (1.001-6)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-caladea-ib (20130214-6)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed t1-cursor-ib (1.0.2-4)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed otf-tex-gyre-ib (2.005-7)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed otf-quintessential-ib (1.000-5)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed otf-oswald-ib (3.0-7)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ibfonts-meta-base (1-6)
[2016-02-20 03:36] [ALPM] removed ttf-noto-serif-ib (2015.04.20-1)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-noto-sans-ib (2015.04.20-1)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-symbola-ib (7.21-1)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-heuristica-ib (1.0.2-3)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] removed ttf-courier-prime-ib (1.203-6)
[2016-02-20 03:36] [ALPM-SCRIPTLET] Updating font cache...
[2016-02-20 03:36] [ALPM-SCRIPTLET] Done.
[2016-02-20 03:36] [ALPM] transaction completed
A little after, it had generated locales again:
[2016-02-20 03:42] [ALPM-SCRIPTLET] Generating locales...
[2016-02-20 03:42] [ALPM-SCRIPTLET] en_GB.UTF-8... done
[2016-02-20 03:42] [ALPM-SCRIPTLET] en_US.UTF-8... done
[2016-02-20 03:42] [ALPM-SCRIPTLET] pt_BR.UTF-8... done
[2016-02-20 03:42] [ALPM-SCRIPTLET] Generation complete.
I've already reinstalled ibfonts-meta-base ibfonts-meta-extended ibfonts-meta-extended-lt. Still no success.
Last edited by maiaftv (2016-03-01 22:19:19)
Offline
"Solved" with pacman -Rns lxsession and the creation of /etc/polkit-1/rules.d/10-enable-mount.rules:
polkit.addRule(function(action) {
if (action.id == "org.freedesktop.udisks2.filesystem-mount-system") {
return polkit.Result.YES;
}
});
Thank you for your help, Docbroke!
Offline
I also have this. (I use the default LXDE WM of openbox instead of awesome.)
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
$ grep -v ^# /etc/locale.gen
en_US.UTF-8 UTF-8
$ strings /usr/lib/locale/locale-archive | grep .._..[.]
en_US.utf8
$ grep -B1 -A1 ALPM-SCRIPTLET.*.._..[.] /var/log/pacman.log
[2016-02-17 05:41] [ALPM-SCRIPTLET] Generating locales...
[2016-02-17 05:41] [ALPM-SCRIPTLET] en_US.UTF-8... done
[2016-02-17 05:41] [ALPM-SCRIPTLET] Generation complete.
--
[2016-02-22 15:29] [ALPM-SCRIPTLET] Generating locales...
[2016-02-22 15:29] [ALPM-SCRIPTLET] en_US.UTF-8... done
[2016-02-22 15:29] [ALPM-SCRIPTLET] Generation complete.
$ grep -e ttf -e otf -e font /var/log/pacman.log
[2016-01-26 20:07] [ALPM] installed libfontenc (1.1.3-1)
[2016-01-26 20:07] [ALPM] installed fontsproto (2.1.3-1)
[2016-01-26 20:07] [ALPM] installed libxfont (1.5.1-1)
[2016-01-26 20:07] [ALPM] installed xorg-fonts-encodings (1.0.4-4)
[2016-01-26 20:07] [ALPM] installed xorg-fonts-alias (1.0.3-1)
[2016-01-26 20:07] [ALPM] installed xorg-mkfontscale (1.1.2-1)
[2016-01-26 20:07] [ALPM] installed xorg-mkfontdir (1.0.7-2)
[2016-01-26 20:07] [ALPM] installed xorg-font-util (1.3.1-1)
[2016-01-26 20:07] [ALPM] installed xorg-font-utils (7.6-4)
[2016-01-26 20:07] [ALPM] installed fontconfig (2.11.1-2)
[2016-01-26 20:07] [ALPM-SCRIPTLET] updating font cache... done.
[2016-01-26 20:07] [ALPM] installed xorg-fonts-misc (1.0.3-4)
[2016-01-26 20:07] [ALPM-SCRIPTLET] Updating font cache... done.
[2016-01-27 14:39] [ALPM] installed ttf-droid (20121017-4)
[2016-01-27 14:39] [ALPM-SCRIPTLET] Updating font cache... done.
[2016-01-30 02:04] [ALPM] installed ttf-freefont (20120503-4)
[2016-02-08 01:51] [ALPM] installed ttf-linux-libertine (5.3.0-3)
[2016-02-08 01:51] [ALPM] installed ttf-liberation (2.00.1-6)
[2016-02-08 01:51] [ALPM-SCRIPTLET] Updating font cache... done.
[2016-02-08 01:51] [ALPM] installed ttf-inconsolata (20151221.480630d-1)
[2016-02-08 01:51] [ALPM-SCRIPTLET] Updating font cache... done.
[2016-02-12 00:24] [ALPM] installed ttf-opensans (1.10-1)
[2016-02-12 00:24] [ALPM-SCRIPTLET] Updating font cache... done.
[2016-02-12 00:49] [ALPM] installed ttf-gentium (1.03-3)
[2016-02-12 00:49] [ALPM-SCRIPTLET] Updating font cache... done.
[2016-02-12 01:02] [ALPM] installed adobe-source-code-pro-fonts (2.010ro+1.030it-1)
[2016-02-12 01:02] [ALPM] installed adobe-source-sans-pro-fonts (2.020ro+1.075it-1)
[2016-02-12 01:02] [ALPM] installed adobe-source-serif-pro-fonts (1.017-1)
[2016-02-12 01:49] [ALPM] installed font-mathematica (9.0-4)
[2016-02-12 01:49] [ALPM-SCRIPTLET] Updating font cache... done.
[2016-02-18 20:43] [ALPM] installed lib32-fontconfig (2.11.1-1)
[2016-02-18 20:43] [ALPM-SCRIPTLET] updating font cache... done.
Doing
find ~/.config /etc -type f -exec grep -Il "LANG" {} \; 2>/dev/null
or
find ~/.config /etc -type f -exec grep -Il "LC_" {} \; 2>/dev/null
doesn't show anything that would explain this.
I also see it when I forget to sudo my systemctl commands.
Edit:Um ... huh:
less /usr/share/lxsession/ui/lxpolkit.ui
<property name="invisible_char">â<U+0080>¢</property>
Changing that to '*' fixes it of course. But why is that in the first place?
Further Edit: it seems it was trying to use '•' but that file was encoded wrong? Is this an upstream bug? See http://www.i18nqa.com/debug/utf8-debug.html
YAE: This commit: http://git.lxde.org/gitweb/?p=lxde/lxse … 851cc9be0e changed that tag content from '•' to '•'. Ugh, I don't suppose anybody that already has a sourceforge account would like to submit a bug: https://sourceforge.net/p/lxde/bugs/
Last edited by Ziusudra (2016-03-02 00:20:43)
Offline
Edit:Um ... huh:
less /usr/share/lxsession/ui/lxpolkit.ui <property name="invisible_char">â<U+0080>¢</property>
Changing that to '*' fixes it of course. But why is that in the first place?
Further Edit: it seems it was trying to use '•' but that file was encoded wrong? Is this an upstream bug? See http://www.i18nqa.com/debug/utf8-debug.html
YAE: This commit: http://git.lxde.org/gitweb/?p=lxde/lxse … 851cc9be0e changed that tag content from '•' to '•'. Ugh, I don't suppose anybody that already has a sourceforge account would like to submit a bug: https://sourceforge.net/p/lxde/bugs/
Congratulations, Ziusudra! You have found the solution. Can you tell how did you get to this file? Now it seems pretty obvious that the problem should be on the user interface and some related file. But I didn't have patience and time to get there.
Thank you!
Last edited by maiaftv (2016-03-02 02:49:55)
Offline
$ pacman -Qo /usr/bin/lxpolkit
/usr/bin/lxpolkit is owned by lxsession 1:0.5.2-2
$ pacman -Ql lxsession
<snip>
I was looking for config files.
Offline
Thanks again. I've learned more than expected with this topic.
BTW, bug's submitted: https://sourceforge.net/p/lxde/bugs/809/
Offline
Thank you for doing that.
BTW, to get the bug report to show '•' replace the '&' with '&'. Though they'll probably figure it out.
Offline
Congrats to both of you for solving the issue.
@maiaftv, please mark this thread solved by editing your first post and changing the title, by prepending [solved]
Arch is home!
https://github.com/Docbroke
Offline