Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Login in Error with Invalid UTF-8
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
haneulso
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 173

PostPosted: Sat Jan 05, 2013 12:10 pm    Post subject: Login in Error with Invalid UTF-8 Reply with quote

I can't log in Gnome with
Code:
Invalid Utf-8

Emerge --info
Code:

Portage 2.1.11.38 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.16.0, 3.6.8-2.fc17.x86_64 x86_64)
=================================================================
System uname: Linux-3.6.8-2.fc17.x86_64-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.2
Timestamp of tree: Sat, 05 Jan 2013 01:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.10.1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.5
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.lecl.net/pub/gentoo/ ftp://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/  ftp://ftp.kaist.ac.kr/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://lug.mtu.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://gg3.net/pub/linux/gentoo ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO  ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://ftp.gentoo.or.kr http://ftp.gentoo.or.kr ftp://ftp.daum.net/gentoo/ ftp://ftp.daum.net/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="(-avahi) 3dnow 3dnowext X a52 aac aalib accessibility acl acpi aiglx alsa amd64 anthy apache2 apm arts autoipd avi berkdb bidi bitmap-fonts bluetooth branding bzip2 cairo cdda cdio cdparanoia cdr cjk cli consolekit cracklib crypt cups cxx dbus dconf declarative device-mapper dga divx divx4linux dri dts dv dvd dvdnav dvdr dvdread eds embedded emerald emovix encode esd extras faac faad fam fame ffmpeg firefox flac fontconfig foomaticdb fortran freetype freetype2 ftp fts3 gdbm gdu gflags gif gimpprint gmedia gnome gnome-keyring gphoto2 gpm gstreamer gtk gtk2 gtk3 gtkhtml gudev hal httpd hwdb iconv imagemagick imlib immqt-bc ipv6 jpeg jpg jpge kde kdrive keymap ldap libffi libnotify lirc live livecd lua m17n-lib mad matroska mdnsresponder-compat melt mikmod minizip mjpeg mmx mmxext mng mod modules motif mp3 mpeg mudflap multilib mysql ncurses network nls nptl nptlonly nss objc ogg oggvorbis opengl openmp pam pcmcia pcre pdf plasma png policykit ppds pppd pulseaudio python qt qt3 qt3support qt4 quicktime readline realcodecs realmedia samba scanner scim script sdk sdl semantic-desktop session sip slp spell sql sqlite sse sse2 ssl static-libs stream suid svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd video vlm vorbis wav webkit webkity wmp wxwindows x264 xanim xcb xinerama xml xmms xprint xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ko" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vboxvideo radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

And x11-base/xorg-server : 1.13.1.901
And locale is
Code:
 
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=en_US.UTF-8
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Jan 05, 2013 2:44 pm    Post subject: Reply with quote

haneulso,

Take a close look at LANG=en_US.UTF-8 and LC_ALL=en_US.UTF-8, they're missing the quotes
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Jan 05, 2013 4:49 pm    Post subject: Reply with quote

BillWho wrote:
haneulso,

Take a close look at LANG=en_US.UTF-8 and LC_ALL=en_US.UTF-8, they're missing the quotes

:roll: ...and that changes...not a damn thing.

As for the original problem, did you set your password in a non-utf8 locale with signs outside of ASCII range ?
If so, remember, that /etc/passwd stores a hash of the 'const char*' string (to simplify it a bit), so the values aren't the same for i.e. a latin1 and utf8 strings.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum