You are not logged in.
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
I've tried
localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
sudo locale-genand still no dice
Offline
After doing yet another fresh install, I've narrowed the problem down to something that happens after running apt-get upgrade
Offline
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. 
Last edited by DanielFGray (2011-10-22 03:28:54)
Offline
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!!

Offline
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
You said you installed the Liquorix kernel, maybe it is that. Did you try it with the standard kernel?
Offline
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
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
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
Can you launch X with xinit? Stop GDM from a tty with
sudo service GDM stopMake a file called .xinitrc. Add to it
#!/bin/sh
eval `dbus-launch --sh-syntax --exit-with-session`
exec ck-launch-session openbox-sessionave it, obvousle, then issue the command
startxIf 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
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. 
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.