LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2003, 10:04 AM   #1
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Rep: Reputation: 30
GDM login problems


I'm on Slackware 9.0 using the version of GDM that came with the distro. At some point, it began booting me into Gnome, as opposed to my usual Fluxbox. Something had changed, but I was not sure what. I used the session menu to select Fluxbox, and that worked, but it did not ask me the usual, "would you like to make this your new default window manager" question. And sure enough, when I tried to login again without specifying a window manager, I got Gnome.

So, I uninstalled GDM, downloaded the latest version from source, compiled and installed it. Same problem! Only now, the default seems to be a "failsafe Gnome." I have been reading GDM documentation till my eyes started to water. I have read through the cryptic config files, but I can't see what the problem is. Anybody else have this problem at some point? Any advice?

--Akshun J
 
Old 10-26-2003, 12:47 PM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Have you tried setting your default window manager with

xwmconfig

at command line
 
Old 10-26-2003, 12:51 PM   #3
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
try a xwmconfig and chose fluxbox there if it doesnt work edit the gdm xsession file and just set last session and or default session to fluxbox
 
Old 10-26-2003, 07:26 PM   #4
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
No dice on the xwmconfig. All that did was change my ./xinitrc file, which GDM doesn't read. And I can't find where in GDM's Xsession file where I can change the last or default session. Grrr. Very frustrating.

--Akshun J
 
Old 10-28-2003, 09:04 PM   #5
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
"Last desperate plea for help," he announced dramatically...

--Akshun J
 
Old 10-29-2003, 06:18 AM   #6
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
have a look at this part of your /etc/X11/gdm/Xsession file:
# run all system xinitrc shell scripts.
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for i in /etc/X11/xinit/xinitrc.d/* ; do
if [ -x "$i" ]; then
. "$i"
fi
done
fi

if [ "x$command" = "xcustom" ] ; then
if [ -x "$HOME/.xsession" ]; then
command="$HOME/.xsession"
else
echo "$0: Cannot find ~/.xsession will try the default session"
command="default"
fi
fi

if [ "x$command" = "xdefault" ] ; then
if [ -x "$HOME/.Xclients" ]; then
command="$HOME/.Xclients"
elif [ -x /etc/X11/xinit/Xclients ]; then
command="/etc/X11/xinit/Xclients"
elif [ -x /etc/X11/Xclients ]; then
command="/etc/X11/Xclients"
else
echo "$0: Cannot find Xclients"
# FIXME: kind of an evil failsafe
command="xsm"
fi
fi

and check if there is an .xsession file in your home dir ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
GDM: one login per user Pastorino Linux - Software 2 05-10-2005 01:19 PM
KDM, GDM, XDM login problems TomJ Linux - Software 2 10-04-2004 11:14 AM
gdm login help moschi Linux - Newbie 2 07-03-2004 12:30 PM
root cannot login through gdm bahadur Linux - Security 1 06-10-2004 01:31 AM
X login using GDM koyi Slackware 2 07-24-2003 11:00 PM


All times are GMT -5. The time now is 02:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration