SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-10-22 00:24:22

DanielFGray
Member
From: Galveston, TX
Registered: 2011-10-16
Posts: 27

[closed] Can't login, Xsession LC_CTYPE error

I'm having major trouble logging in from GDM
Every time I try logging into my Openbox session I get the error

Xsession: unable to launch
"LC_CTYPE=en_US.UTF-8" X session ---
"LC_CTYPE=en_US.UTF-8" not found; falling back to default session.

And I end up right back at the login screen.

I decided to do a fresh install, and this happened after I installed updates and booted into the Liquorix kernel, which worked great before the install..
So I figured I effed something up, and did another fresh install, installed updates and  the Liquorix kernel, booted into it and ran into this same problem again.

Any input would be greatly appreciated.

edit: ~/.xsession-errors almost exactly shows the same thing

Last edited by DanielFGray (2011-10-24 22:11:26)

Offline

Help fund CrunchBang, donate to the project!

#2 2011-10-22 01:36:45

DanielFGray
Member
From: Galveston, TX
Registered: 2011-10-16
Posts: 27

Re: [closed] Can't login, Xsession LC_CTYPE error

I've tried

localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
sudo locale-gen

and still no dice

Offline

#3 2011-10-22 02:45:46

DanielFGray
Member
From: Galveston, TX
Registered: 2011-10-16
Posts: 27

Re: [closed] Can't login, Xsession LC_CTYPE error

After doing yet another fresh install, I've narrowed the problem down to something that happens after running apt-get upgrade

Offline

#4 2011-10-22 03:07:20

DanielFGray
Member
From: Galveston, TX
Registered: 2011-10-16
Posts: 27

Re: [closed] Can't login, Xsession LC_CTYPE error

Weell, I didn't really fix the actual problem, but I reinstalled #! without reformatting over the previous install, and I managed to keep the upgraded packages, and get a working Openbox session.

I'm still really curious to know what caused my problem in the first place.

Edit: whoops! it appears I spoke too soon!
I didn't get to keep the updated packages, and as soon as I rebooted my laptop after apt-get upgrade I went back to the same error.
It is a very annoying situation I find myself in. mad

Last edited by DanielFGray (2011-10-22 03:28:54)

Offline

#5 2011-10-22 04:35:14

DanielFGray
Member
From: Galveston, TX
Registered: 2011-10-16
Posts: 27

Re: [closed] Can't login, Xsession LC_CTYPE error

So just for the hell of it, I enabled the unstable and testing repos, ran apt-get upgrade and dist-upgrade
rebooted
and everything started working again!! big_smile cool

Offline

#6 2011-10-24 05:30:23

DanielFGray
Member
From: Galveston, TX
Registered: 2011-10-16
Posts: 27

Re: [closed] Can't login, Xsession LC_CTYPE error

bumping, because I'm not using sid anymore and I'm still having this error.

Last edited by DanielFGray (2011-10-24 05:30:47)

Offline

#7 2011-10-24 08:19:23

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,431

Re: [closed] Can't login, Xsession LC_CTYPE error

You said you installed the Liquorix kernel, maybe it is that. Did you try it with the standard kernel?

Offline

#8 2011-10-24 08:23:58

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: [closed] Can't login, Xsession LC_CTYPE error

could be something in /etc/gdm/custom.conf (I'm not in Debian now, but I guess there is the configuration part for the GDM session chooser) where I would check for the line DefaultSession=
the error says --- so it seems that there is no default session given,
maybe it needs DefaultSession=default 
or DefaultSession=openbox
or DefaultSession=openbox-session

Can you post this file, or try a change?


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#9 2011-10-24 17:03:04

DanielFGray
Member
From: Galveston, TX
Registered: 2011-10-16
Posts: 27

Re: [closed] Can't login, Xsession LC_CTYPE error

ivanovnegro wrote:

You said you installed the Liquorix kernel, maybe it is that. Did you try it with the standard kernel?

Yeah, with or without the Liquorix kernel, it works fine until I apt-get upgrade and reboot.
Which, I suppose I could just not apt-get upgrade, but that's hardly a reasonable solution, and it's guaranteed to come back on me again..
And I don't think it's the custom kernel, I used it forever, until a particular recent fresh install

machinebacon wrote:

could be something in /etc/gdm/custom.conf

There isn't really anything of use in that file, it all gets overridden by /usr/share/gdm/defaults.conf
In that file I have DefaultSession=default.desktop and my openbox.desktop calls Exec=openbox-session
So I'm thinking the sessions are fine
It's just something to do with these locales..

Offline

#10 2011-10-24 17:41:27

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: [closed] Can't login, Xsession LC_CTYPE error

Can you launch X with xinit? Stop GDM from a tty with

sudo service GDM stop

Make a file called .xinitrc. Add to it

#!/bin/sh
eval `dbus-launch --sh-syntax --exit-with-session`
exec ck-launch-session openbox-session

ave it, obvousle, then issue the command

startx

If it doesn't work, exchange openbox-session with openbox in .xinitrc. If you get errors, come back and post what you find to be relevant.

Last edited by el_koraco (2011-10-24 17:42:57)

Offline

#11 2011-10-24 22:11:10

DanielFGray
Member
From: Galveston, TX
Registered: 2011-10-16
Posts: 27

Re: [closed] Can't login, Xsession LC_CTYPE error

el_koraco wrote:

Can you launch X with xinit or startx?

Nope, neither worked.
I tried writing a custom .xinitrc but I still got the same locale errors


I'm taking a break from Crunchbang and trying out Linux Mint Debian Edition. hmm

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo