LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Fluxbox and XDM problems on Etch (https://www.linuxquestions.org/questions/debian-26/fluxbox-and-xdm-problems-on-etch-572258/)

kushalkoolwal 07-25-2007 05:24 PM

Fluxbox and XDM problems on Etch
 
Hi,

I recently upgraded from Sarge to Etch with kernel 2.6.18.

Before upgrading, I used to have xdm as loging manager and fluxbox as the window manager. XDM login window use to take me to the fluxbox manager.

But after the upgrade, this no longer happens. I do get the XDM login screen but as soon as I enter my username and password it again comes back to the login screen after going blank for 1 or 2 seconds. I guess somewhere the information to start fluxbox got distorted during the upgrade.

In short, startx and xdm command do work, so there is not problem starting the X server.

I am logging as root and I also have .xsession file in my home directory (i.e. /root).
Here are the contents of my .xsession file:
Code:

#
#.xsession file
#

# start idesk (we need the sleep because fluxbox will overpaint the
# idesk with the rootCommand
#To disable the X-Server screen blanking
#xset s off &
#(sleep 2; idesk &) &
idesk &

# start fluxbox
exec fluxbox
exit $?

Also, if I just give the command 'fluxbox' on the login console, I get:
Code:

Warning: Failed to set locale, reverting to 'C'
Error: Couldn't connect to Xserver

and If I give the command 'startfluxbox', I get:
Code:

Warning: Failed to set locale, reverting to 'C'
terminate called after throwing an instance of 'std::string'
Warning: Failed to set locale, reverting to 'C'
Error: Couldn't connect to Xserver

How do I get my good old fluxbox to start again.

Thanks

kushalkoolwal 07-26-2007 12:34 PM

Quote:

Originally Posted by kushalkoolwal
Hi,

I recently upgraded from Sarge to Etch with kernel 2.6.18.

Before upgrading, I used to have xdm as loging manager and fluxbox as the window manager. XDM login window use to take me to the fluxbox manager.

But after the upgrade, this no longer happens. I do get the XDM login screen but as soon as I enter my username and password it again comes back to the login screen after going blank for 1 or 2 seconds. I guess somewhere the information to start fluxbox got distorted during the upgrade.

In short, startx and xdm command do work, so there is not problem starting the X server.

I am logging as root and I also have .xsession file in my home directory (i.e. /root).
Here are the contents of my .xsession file:
Code:

#
#.xsession file
#

# start idesk (we need the sleep because fluxbox will overpaint the
# idesk with the rootCommand
#To disable the X-Server screen blanking
#xset s off &
#(sleep 2; idesk &) &
idesk &

# start fluxbox
exec fluxbox
exit $?

Also, if I just give the command 'fluxbox' on the login console, I get:
Code:

Warning: Failed to set locale, reverting to 'C'
Error: Couldn't connect to Xserver

and If I give the command 'startfluxbox', I get:
Code:

Warning: Failed to set locale, reverting to 'C'
terminate called after throwing an instance of 'std::string'
Warning: Failed to set locale, reverting to 'C'
Error: Couldn't connect to Xserver

How do I get my good old fluxbox to start again.

Thanks

Any folks up for taking it???

war1025 07-26-2007 01:02 PM

This sort of happened to me this morning. It was with gdm and gnome though. I would log in, it would act like it was going, and then restart back at the gdm prompt. It ended up that I had to reinstall my nvidia driver because it wasn't working right for some reason.

I don't think that has anything to do with your problem though. Check the xdm log...

BillyGalbreath 07-26-2007 01:48 PM

Configure your Locales. Sarge->Etch upgrading breaks the Locales every single time. Sucks, but its simple to fix.

kushalkoolwal 07-26-2007 01:50 PM

Quote:

Originally Posted by BillyGalbreath
Configure your Locales. Sarge->Etch upgrading breaks the Locales every single time. Sucks, but its simple to fix.

Thanks for the Info.

And how to configure the locales?

BillyGalbreath 07-26-2007 01:51 PM

Read this thread (it's short): http://www.linuxquestions.org/questi...d.php?t=407835


All times are GMT -5. The time now is 09:51 PM.