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.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Gentoo Linux Help
Reload this Page Can't get login screen again....
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Gentoo Linux Help For help and discussion related to Gentoo Linux

Reply
 
Thread Tools Display Modes
Old 02-23-2008   #1 (permalink)
Just Joined!
 
Join Date: Feb 2008
Posts: 3
Can't get login screen again....HELP?

As i was trying to fix or add a second monitor i messed up my Xorg and Sessions. I can startx without problems but i can't get to the Sabayon login screen and session chooser. All i get is Xorg to show three white Xterm boxes which i basically have to write exit to get out of them.

I need to return the distro to the default login screen and/or be able to choose a session or Xwindow manager again.

Where do i set this defaults? Where can i change what X loads?

In using runtime 3.

Last edited by codex73; 02-23-2008 at 07:29 PM. Reason: nobody seems to be helping.
codex73 is offline   Reply With Quote
Old 02-27-2008   #2 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,161
Quote:
Originally Posted by codex73 View Post
As i was trying to fix or add a second monitor i messed up my Xorg and Sessions. I can startx without problems but i can't get to the Sabayon login screen and session chooser. All i get is Xorg to show three white Xterm boxes which i basically have to write exit to get out of them.

I need to return the distro to the default login screen and/or be able to choose a session or Xwindow manager again.

Where do i set this defaults? Where can i change what X loads?

In using runtime 3.
Sabayon is not Gentoo. So I don't know if this will work entirely.

First look if xdm is started on each runlevel. To do so, use this command:

Code:
rc-update show
If xdm is marked as active in the default runlevel, then open /etc/conf.d/xdm in a text editor, and look for a line like this:

Code:
DISPLAYMANAGER="xdm"
The xdm part might be different, but it should be a correct display manager which you have installed. It usually is either xdm, kdm, gdm, entrance or slim. There are several others that are not too famous though.

If xdm is not configured to start on the 3rd runlevel (named "default" in Gentoo). Then you should be prompted with a text screen login.
i92guboj is offline   Reply With Quote
Old 02-27-2008   #3 (permalink)
Just Joined!
 
Join Date: Feb 2008
Posts: 3
Unhappy

Ok , this worked partially. Sabayon is Gentoo Based, but i know its not Gentoo.

I can call gdm and it will give me to the default login screen where i can then choose the session i want (kde, gnome, ect). The problem now that i have is that no matter where i change the runtime to in inittab it gives me a login prompt text instead of the graphical.

All i want is to have the system boot the gdm or graphical interface login screen byitself.

Before i was only calling startx so it didnt work.

How can i make it load the Graphical login again.??? Any ideas anyone??
codex73 is offline   Reply With Quote
Old 02-27-2008   #4 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 3,727
Send a message via AIM to Dapper Dan
Don't know if this is your problem, and never used Sabayon, but it *sounds* like your /etc/inittab is not set to boot to Multi-user. That might be it's set for runlevel 3 when it needs to be changed to 5 or so. It should list which runlevel is which number so you can know. Different distros have Multi-user at different numbers. In mine, Mulit-user is runlevel 2. Check it to see if the default runlevel got changed.
Here's my inittab just as a reference...
Code:
# Runlevels:
#  0    Halt
#  1(S) Single-user
#  2    Multi-user
#  3-5  Not used
#  6    Reboot

id:2:initdefault:
Hope this helps...
Dapper Dan is offline   Reply With Quote
Old 03-02-2008   #5 (permalink)
Just Joined!
 
Join Date: Feb 2008
Posts: 3
It is set to multiuser. The only problem that i have know is that i have to manually call GDM in order to get the Graphical Login Prompt. No matter which run level i choose it will give me the shell login (black screen).
codex73 is offline   Reply With Quote
Old 03-02-2008   #6 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 3,727
Send a message via AIM to Dapper Dan
gdm might be disabled in the init. In Crux there is an /etc/rc.conf where you tell it to start gdm, kdm, cups, etc. in /etc/rc.d. I think Gentoo has an /etc/rc.conf or /etc/conf.d. Open whichever with your favourite editor and see if gdm is listed there to start. Also, check in /etc/init.d and see if gdm is there.
Dapper Dan is offline   Reply With Quote
Old 03-02-2008   #7 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,161
Quote:
Originally Posted by Dapper Dan View Post
gdm might be disabled in the init. In Crux there is an /etc/rc.conf where you tell it to start gdm, kdm, cups, etc. in /etc/rc.d. I think Gentoo has an /etc/rc.conf or /etc/conf.d. Open whichever with your favourite editor and see if gdm is listed there to start. Also, check in /etc/init.d and see if gdm is there.
Gentoo has an /etc/runlevels/ dir. Into it, you can find many subdirs: boot, default.... Those match the runlevels defined in /etc/inittab:

Quote:
l0:0:wait:/sbin/rc shutdown
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
#z6:6:respawn:/sbin/sulogin
To add a given service to a given runlevel, you'd just cd into /etc/runlevels/<given_runlevel>/ and then symlink the service into that dir. But that shouldn't be necesary. The standard way in Gentoo is this:

Quote:
rc-update add servide runlevel
For example:

Quote:
rc-update add xdm default

Then you fire up the service (this is not necesary, this is just to avoid needing to reboot to load the service)

Quote:
/etc/init.d/xdm start
The next time you bootup, the service should start automatically, as long as you start on the same runlevel that you added your service to.

EDIT: Once more: this is for Gentoo, so, I can't guarantee that it will work on Sabayon. Also, even if you use Sabayon, you should save yourself some pain and read the Gentoo handbook. Taking the easy way is not easy in Gentoo.
i92guboj 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
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change The Login screen nirupama Debian Linux Help 0 10-07-2006 06:53 AM
Suse won't let me change the login screen SwimminSasquatch SuSE Linux Help 0 01-07-2006 07:28 AM
Suse 9.2 Bootup Login screen suthern SuSE Linux Help 14 03-03-2005 04:51 PM
X windows login screen won't start up - help please plangfel Redhat / Fedora Linux Help 5 10-26-2004 12:34 PM
GNOME splash screen stays after load + large text at login tkott Linux Desktop / X-Windows 0 07-31-2004 07:56 PM

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 09:53 AM.




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

Content Relevant URLs by vBSEO 3.2.0