Unix Technical Forum

Run Level 4 Problem

This is a discussion on Run Level 4 Problem within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I tried run level 4 -- to give the graphic login a go -- and have a problem that ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 08:18 AM
Thomas Ronayne
 
Posts: n/a
Default Run Level 4 Problem

I tried run level 4 -- to give the graphic login a go -- and have a
problem that I can't seem to locate.

Logging in as root and selecting a KDE session I get logged in as I
expect. Logging in as anybody else (even though I select a KDE session)
I get a blank, Gnome-looking purple screen and can only get out of it
with Ctrl-Alt-Shift-Backspace.

Does anybody know what file needs to be edited so the thing will log in
and start KDE?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 08:18 AM
Rich Grise
 
Posts: n/a
Default Re: Run Level 4 Problem

On Fri, 06 May 2005 15:35:41 +0000, Thomas Ronayne wrote:

> I tried run level 4 -- to give the graphic login a go -- and have a
> problem that I can't seem to locate.
>
> Logging in as root and selecting a KDE session I get logged in as I
> expect. Logging in as anybody else (even though I select a KDE session)
> I get a blank, Gnome-looking purple screen and can only get out of it
> with Ctrl-Alt-Shift-Backspace.
>
> Does anybody know what file needs to be edited so the thing will log in
> and start KDE?
>

Check for a symlink /etc/X11/xinit/xinitrc to one of the xinitrc.* files,
and check /home/you/.xinitrc and /root/.xinitrc to see if they're there.
If there's no /etc/X11/xinit/xinitrc, it will default to your home dir's
..xinitrc. I don't know what happens if there's no viable xinitrc.

What happens when you boot to runlevel 3, log on as user, and type
startx?

Good Luck!
Rich


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 08:18 AM
Giovanni
 
Posts: n/a
Default Re: Run Level 4 Problem

On 05/06/05 17:35, Thomas Ronayne wrote:
> I tried run level 4 -- to give the graphic login a go -- and have a
> problem that I can't seem to locate.
>
> Logging in as root and selecting a KDE session I get logged in as I
> expect. Logging in as anybody else (even though I select a KDE session)
> I get a blank, Gnome-looking purple screen and can only get out of it
> with Ctrl-Alt-Shift-Backspace.
>
> Does anybody know what file needs to be edited so the thing will log in
> and start KDE?
>
> Thanks.


There is a hidden file in the user home directory that remembers the
window manager to activate. Check for $HOME/.wmrc

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 <http://counter.li.org/>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 08:18 AM
Thomas Ronayne
 
Posts: n/a
Default Re: Run Level 4 Problem



Rich Grise wrote:

>On Fri, 06 May 2005 15:35:41 +0000, Thomas Ronayne wrote:
>
>
>
>>I tried run level 4 -- to give the graphic login a go -- and have a
>>problem that I can't seem to locate.
>>
>>Logging in as root and selecting a KDE session I get logged in as I
>>expect. Logging in as anybody else (even though I select a KDE session)
>>I get a blank, Gnome-looking purple screen and can only get out of it
>>with Ctrl-Alt-Shift-Backspace.
>>
>>Does anybody know what file needs to be edited so the thing will log in
>>and start KDE?
>>
>>
>>

>Check for a symlink /etc/X11/xinit/xinitrc to one of the xinitrc.* files,
>and check /home/you/.xinitrc and /root/.xinitrc to see if they're there.
>If there's no /etc/X11/xinit/xinitrc, it will default to your home dir's
>.xinitrc. I don't know what happens if there's no viable xinitrc.
>
>

Oh, yeah, those are all in place -- no .xinitrc in any home directory,
but the appropriate link in /etc/X11.

>What happens when you boot to runlevel 3, log on as user, and type
>startx?
>
>

Works just fine, every time, everybody.

>Good Luck!
>Rich
>
>
>
>

I'm thinking there's some conf file buried somewhere that I don't know
about.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 08:18 AM
Thomas Ronayne
 
Posts: n/a
Default Re: Run Level 4 Problem



Giovanni wrote:

> On 05/06/05 17:35, Thomas Ronayne wrote:
>
>> I tried run level 4 -- to give the graphic login a go -- and have a
>> problem that I can't seem to locate.
>>
>> Logging in as root and selecting a KDE session I get logged in as I
>> expect. Logging in as anybody else (even though I select a KDE
>> session) I get a blank, Gnome-looking purple screen and can only get
>> out of it with Ctrl-Alt-Shift-Backspace.
>>
>> Does anybody know what file needs to be edited so the thing will log
>> in and start KDE?
>>
>> Thanks.

>
>
> There is a hidden file in the user home directory that remembers the
> window manager to activate. Check for $HOME/.wmrc


Nope, none of those anywhere.

>
> Ciao
> Giovanni

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 08:18 AM
cashmir
 
Posts: n/a
Default Re: Run Level 4 Problem

Thomas Ronayne wrote:

> Does anybody know what file needs to be edited so the thing will log in
> and start KDE?
>
> Thanks.


look here : http://www.hgriggs.com/xwindows.html

------quote
You get to enter your logon name and password, and then a Window manager
starts up. This is controlled by your $HOME/.xsession, or if you don't
have one, by the default /etc/X11/xdm/Xsession. Have a look at this file
to see how it's done.
------eq

cashmir
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 08:19 AM
Thomas Ronayne
 
Posts: n/a
Default Re: Run Level 4 Problem

Thomas Ronayne wrote:

> I tried run level 4 -- to give the graphic login a go -- and have a
> problem that I can't seem to locate.
>
> Logging in as root and selecting a KDE session I get logged in as I
> expect. Logging in as anybody else (even though I select a KDE
> session) I get a blank, Gnome-looking purple screen and can only get
> out of it with Ctrl-Alt-Shift-Backspace.
>
> Does anybody know what file needs to be edited so the thing will log
> in and start KDE?
>
> Thanks.


Found it: the problem is in /etc/rc.d/rc.4.

As delivered, /etc/rc.d/rc.4 has

# Try to use GNOME's gdm session manager:
if [ -x /usr/bin/gdm ]; then
exec /usr/bin/gdm -nodaemon
fi

BEFORE

# Not there? OK, try to use KDE's kdm session manager:
if [ -x /opt/kde/bin/kdm ]; then
exec /opt/kde/bin/kdm -nodaemon
fi

Flipped those around and everything is hunky-dory.

Gee, here I thought Pat was KDE-centric; so what's the blankety-blank
GNOME thing first for?

Thanks to all.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com