LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-25-2007, 05:24 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
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
 
Old 07-26-2007, 12:34 PM   #2
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
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???
 
Old 07-26-2007, 01:02 PM   #3
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 32
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...
 
Old 07-26-2007, 01:48 PM   #4
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
Configure your Locales. Sarge->Etch upgrading breaks the Locales every single time. Sucks, but its simple to fix.
 
Old 07-26-2007, 01:50 PM   #5
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
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?
 
Old 07-26-2007, 01:51 PM   #6
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
font-artwiz is not available in fluxbox pkg, etch inverted.gravity Debian 1 03-17-2007 01:47 PM
Using XDM with fluxbox on sarge linuxmandrake Linux - Software 1 11-14-2005 05:58 AM
KDM, GDM, XDM login problems TomJ Linux - Software 2 10-04-2004 11:14 AM
XDM opens XDM after login jpbarto Linux - Software 1 01-26-2004 10:23 PM
xinit / .xinitrc / xdm / fluxbox kater Slackware 0 02-28-2003 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration