Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > gdm

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-25-2005   #1 (permalink)
Linux User
 
mactabilis's Avatar
 
Join Date: Apr 2005
Location: moon
Posts: 377
gdm

I keep getting lost on this one,I done-

rc-update add xdm default

then,nano /etc/rc.conf to gdm.

But when i reboot i get a login screen but it wont log me or it just crashes or does nothing but go to the failsafe/default option , so i have to do ctrl+alt+f1 to get out and then reverse changes rc-update del xdm default ,

then,nano /etc/rc.conf back to xdm

i have ,emerged gdm.
mactabilis is offline  



Reply With Quote
Old 12-26-2005   #2 (permalink)
Linux Guru
 
budman7's Avatar
 
Join Date: Oct 2004
Location: Knee deep in Grand Rapids, Michigan
Posts: 3,242
Mactabilis. this is my rc.conf file. I have no probleems starting Gnome.

UNICODE="no"

# Set EDITOR to your preferred editor.
# You may use something other than what is listed here.

EDITOR="/bin/nano"
#EDITOR="/usr/bin/vim"
#EDITOR="/usr/bin/emacs"

# What display manager do you use ? [ xdm | gdm | kdm | entrance ]
DISPLAYMANAGER="kdm"

# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit. The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to. The support scripts are smart enough to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enlightenment" can also work. This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx
# is called.
# 2) even if ~/.xsession exists, if XSESSION can be resolved, it will
# be executed rather than ~/.xsession, else KDM breaks .
# Gnome - will start gnome-session
# kde-<version> - will start startkde (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps

XSESSION="kde-3.5"


I start kde by default, but I can start Gnome by default if I wish.
__________________
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger

New users read The FAQ
budman7 is offline   Reply With Quote
Old 12-26-2005   #3 (permalink)
Linux User
 
mactabilis's Avatar
 
Join Date: Apr 2005
Location: moon
Posts: 377
gdm

so i have made the error in this line useing xdm "rc-update add xdm default"
I need to change it to gdm?
mactabilis is offline   Reply With Quote
Old 12-26-2005   #4 (permalink)
Linux User
 
St. Joe's Avatar
 
Join Date: Jun 2005
Location: USA
Posts: 271
Quote:
Originally Posted by mactabilis
so i have made the error in this line useing xdm "rc-update add xdm default"
I need to change it to gdm?
No, that's correct. If you issue that command and change the 'DISPLAYMANAGER="gdm"' line in your rc.conf you should get the gnome login screen to appear on reboot. If you can not, then it is not your procedure which is incorrect but most likely some other issue.
__________________
It may be that your sole purpose in life is simply to serve as a warning to others.
St. Joe is offline   Reply With Quote
Old 12-26-2005   #5 (permalink)
Linux Guru
 
budman7's Avatar
 
Join Date: Oct 2004
Location: Knee deep in Grand Rapids, Michigan
Posts: 3,242
In the displaymanager line you can have kdm or gdm, just not xdm.

The command "rc-update add xdm default" is the correct command.
__________________
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger

New users read The FAQ
budman7 is offline   Reply With Quote
Old 12-27-2005   #6 (permalink)
Linux User
 
mactabilis's Avatar
 
Join Date: Apr 2005
Location: moon
Posts: 377
It is then another issue.
mactabilis is offline   Reply With Quote
Old 12-27-2005   #7 (permalink)
Linux Guru
 
budman7's Avatar
 
Join Date: Oct 2004
Location: Knee deep in Grand Rapids, Michigan
Posts: 3,242
Try this, as root

rc-update del xdm default
nano /home/username/.xinitrc
Add this line
exec startkde
Then, as your regular user do "startx" and report any errors.
__________________
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger

New users read The FAQ
budman7 is offline   Reply With Quote
Old 12-27-2005   #8 (permalink)
Linux User
 
mactabilis's Avatar
 
Join Date: Apr 2005
Location: moon
Posts: 377
Ok i'm there i have got a login screen lol,

but i'm pulling up these errors when i change it,

#gdmsetup,

(gdmsetup:7072): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.


#glxgears,

Xlib: extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.
mactabilis is offline   Reply With Quote
Old 12-27-2005   #9 (permalink)
Linux Guru
 
budman7's Avatar
 
Join Date: Oct 2004
Location: Knee deep in Grand Rapids, Michigan
Posts: 3,242
As root do
rc-update del gdm default
nano /home/wizard1/.xinitrc
Put a # infront of the startkde line.
Add this line
exec gnome-session

Then do "startx" as your normal user, report any errors
__________________
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger

New users read The FAQ
budman7 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:10 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1