Re: [expert] Need Help going rc.3 to rc.5

2001-04-02 Thread Craig Sprout

David Rankin wrote:

 something like /etc/rc.d/rc 5?
 
 Let me know. I have learned to look (ask) before leaping (executing) to
 keep from landing in hot water...

`init (or telinit) 5' will do the trick for you.

-- 
Craig Sprout
Network Administrator
Crown Parts and Machine
http://www.crownpartsandmachine.com





Re: [expert] Need Help going rc.3 to rc.5

2001-04-02 Thread Gabriel Fortuna

And yea, on Monday 02 April 2001 17:02, verily David Rankin doth 
wroteth:

 This is going to sound really dumb, but "How do I get back to my

Hi David, firstly, no question is dumb, only the people that ask it... 
just kidding!!!

 Anyway, to try and set it through linuxconf I did a
 [ctrl]+[alt]+[backspace] to get to runlevel 3. Now I don't know how
 to get back! I can startx an get back into x but when I log out, I am
 sent back to the text login screen. So I know this is a dumb
 question, but how do I get back to the graphical logon? I know I can
 reboot and do it, but can I do it without rebooting?

All you gotta do (as root) is #init runlevel

example: #init 5 (the hash is the prompt).

One note before I head home. The only time you need to reboot a linux 
machine is if it completely locks up (very rare) and if you wanna load 
a new kernel. Other than that, I dont see a reason too.

Enjoy the penguin!
-- 
Regards

Gabriel Fortuna

Independent Newspapers
Information Technology - Projects  Networking Division 

T: 27 11 633 2833
F: 27 11 838 2528

Before you ask more questions, think about whether you really want to
know the answers.
-- Gene Wolfe, "The Claw of the Conciliator"




Re: [expert] Need Help going rc.3 to rc.5

2001-04-02 Thread Craig Sprout

David Rankin wrote:
 Craig, I have logged in as root and done 'init 5'. I logged out and I am
 still stuck in the rc3 text login. I have tried starting x and then doing
 'init 5' but when I log out, the same thing happens -- still in text login.
 What am I doing wrong. (I have Linux Mandrake 7.2) if that makes a
 difference.

Hthat sounds odd.  I assume that you can log in and `startx' and
go about your business?

When you issue `init 5' are you getting the xdm login screen at all?  If
you are getting a text login, what tty are you on?  X usually uses tty7
for its display, so you may try [L-ALT] + [L-ARROW] to cycle through
your available tty's and see if the display is there?

Also, what does your /etc/inittab file say for default run level?

-- 
Craig Sprout
Network Administrator
Crown Parts and Machine
http://www.crownpartsandmachine.com





Re: [expert] Need Help going rc.3 to rc.5

2001-04-02 Thread David Rankin

David Rankin wrote:

 Craig Sprout wrote:

  David Rankin wrote:
 
   something like /etc/rc.d/rc 5?
  
   Let me know. I have learned to look (ask) before leaping (executing) to
   keep from landing in hot water...
 
  `init (or telinit) 5' will do the trick for you.
 
  --
  Craig Sprout
  Network Administrator
  Crown Parts and Machine
  http://www.crownpartsandmachine.com

 Craig, I have logged in as root and done 'init 5'. I logged out and I am
 still stuck in the rc3 text login. I have tried starting x and then doing
 'init 5' but when I log out, the same thing happens -- still in text login.
 What am I doing wrong. (I have Linux Mandrake 7.2) if that makes a
 difference.

 David.

I have also done 'telinit 5' as well. Still no-joy, All I have is the text
login. System is still working great I am just curious how I get back to the
graphical login.

Thanks again, David






Re: [expert] Need Help going rc.3 to rc.5

2001-04-02 Thread David Rankin

Craig Sprout wrote:

 David Rankin wrote:
  Craig, I have logged in as root and done 'init 5'. I logged out and I am
  still stuck in the rc3 text login. I have tried starting x and then doing
  'init 5' but when I log out, the same thing happens -- still in text login.
  What am I doing wrong. (I have Linux Mandrake 7.2) if that makes a
  difference.

 Hthat sounds odd.  I assume that you can log in and `startx' and
 go about your business?

 When you issue `init 5' are you getting the xdm login screen at all?  If
 you are getting a text login, what tty are you on?  X usually uses tty7
 for its display, so you may try [L-ALT] + [L-ARROW] to cycle through
 your available tty's and see if the display is there?

 Also, what does your /etc/inittab file say for default run level?



Yes, I have no problems doing startx and launching KDE and everything works fine.

When I issues 'init 5' or 'telinit 5' I never get the xdm login screed at all. I
hear the machine thinking a little bit, but that's all. here is what happens:

[root@Nemesis /]# init 5
[root@Nemesis /]#

Same thing with telinit.

The ttys... I have tried logging in as root from tty1, 2, and 6. Login works,
just text mode. NOW, I think we may be getting somewhere!! When I cycle through
my ttys I get 1, 2, 3, 4, 5, 6 and THEN A BLANK SCREEN WITH A BLINKING UNDERLINE
IN TOP LEFT FOR tty7 and then another BLANK SCREEN WITH A BLINKING UNDERLINE IN
TOP LEFT FOR tty8 (I guess) and the log screen. What does this mean? Do I have a
hung terminal or something? I have checked the processes 'ps -ax | less' and
nothing looks unusual. What should I be looking for?

inittab says default is runlevel 5. xdm has been workin for months, it just
dissapeared with the [ctrl]+[alt]+[backspace] this morning.


Thanks again, David






Re: [expert] Need Help going rc.3 to rc.5

2001-04-02 Thread Peter Hicks

If you ARE running an X session, try hitting [ctrl]+[alt]+[F7}. This should 
cycle it properly back to X.

On Monday 02 April 2001 11:37, you wrote:
 Craig Sprout wrote:
  David Rankin wrote:
   Craig, I have logged in as root and done 'init 5'. I logged out and I
   am still stuck in the rc3 text login. I have tried starting x and then
   doing 'init 5' but when I log out, the same thing happens -- still in
   text login. What am I doing wrong. (I have Linux Mandrake 7.2) if that
   makes a difference.
 
  Hthat sounds odd.  I assume that you can log in and `startx' and
  go about your business?
 
  When you issue `init 5' are you getting the xdm login screen at all?  If
  you are getting a text login, what tty are you on?  X usually uses tty7
  for its display, so you may try [L-ALT] + [L-ARROW] to cycle through
  your available tty's and see if the display is there?
 
  Also, what does your /etc/inittab file say for default run level?

 Yes, I have no problems doing startx and launching KDE and everything works
 fine.

 When I issues 'init 5' or 'telinit 5' I never get the xdm login screed at
 all. I hear the machine thinking a little bit, but that's all. here is what
 happens:

 [root@Nemesis /]# init 5
 [root@Nemesis /]#

 Same thing with telinit.

 The ttys... I have tried logging in as root from tty1, 2, and 6. Login
 works, just text mode. NOW, I think we may be getting somewhere!! When I
 cycle through my ttys I get 1, 2, 3, 4, 5, 6 and THEN A BLANK SCREEN WITH A
 BLINKING UNDERLINE IN TOP LEFT FOR tty7 and then another BLANK SCREEN WITH
 A BLINKING UNDERLINE IN TOP LEFT FOR tty8 (I guess) and the log screen.
 What does this mean? Do I have a hung terminal or something? I have checked
 the processes 'ps -ax | less' and nothing looks unusual. What should I be
 looking for?

 inittab says default is runlevel 5. xdm has been workin for months, it just
 dissapeared with the [ctrl]+[alt]+[backspace] this morning.


 Thanks again, David




Re: [expert] Need Help going rc.3 to rc.5

2001-04-02 Thread Ken Thompson

On Monday 02 April 2001 09:02 am, you wrote:
 This is going to sound really dumb, but "How do I get back to my
 graphical login without having to reboot?" Scenario: I have had an
 ongoing battle getting my machine to handle time properly. I set CMOS
 time to GMT and time zone to CST6CDT or "America/Chicago" and the CMOS
 is set correctly, but the system time is not. With GMT at 14:40 and
 timezone at "America/Chicago" the system time shows 14:40, but all my
 WinXX client machines get 19:40, five hours in the wrong direction.
 (Still working on this one)

 Anyway, to try and set it through linuxconf I did a
 [ctrl]+[alt]+[backspace] to get to runlevel 3. Now I don't know how to
 get back! I can startx an get back into x but when I log out, I am sent
 back to the text login screen. So I know this is a dumb question, but
 how do I get back to the graphical logon? I know I can reboot and do it,
 but can I do it without rebooting?

 something like /etc/rc.d/rc 5?

 Let me know. I have learned to look (ask) before leaping (executing) to
 keep from landing in hot water...

Type init 5 from you console.
-- 
Ken Thompson
Electrocom Computer Services
Payette, Idaho 83661
(208) 642-11701
Web: http://www.nwaa.com
Email: [EMAIL PROTECTED]
HAM: WA7SYR - Member QCWA




Re: [expert] Need Help going rc.3 to rc.5

2001-04-02 Thread Ken Thompson

On Monday 02 April 2001 01:13 pm, you wrote:
 If you ARE running an X session, try hitting [ctrl]+[alt]+[F7}. This should
 cycle it properly back to X.

 On Monday 02 April 2001 11:37, you wrote:
  Craig Sprout wrote:
   David Rankin wrote:
Craig, I have logged in as root and done 'init 5'. I logged out and I
am still stuck in the rc3 text login. I have tried starting x and
then doing 'init 5' but when I log out, the same thing happens --
still in text login. What am I doing wrong. (I have Linux Mandrake
7.2) if that makes a difference.
  
   Hthat sounds odd.  I assume that you can log in and `startx'
   and go about your business?
  
   When you issue `init 5' are you getting the xdm login screen at all? 
   If you are getting a text login, what tty are you on?  X usually uses
   tty7 for its display, so you may try [L-ALT] + [L-ARROW] to cycle
   through your available tty's and see if the display is there?
  
   Also, what does your /etc/inittab file say for default run level?
 
  Yes, I have no problems doing startx and launching KDE and everything
  works fine.
 
  When I issues 'init 5' or 'telinit 5' I never get the xdm login screed at
  all. I hear the machine thinking a little bit, but that's all. here is
  what happens:
 
  [root@Nemesis /]# init 5
  [root@Nemesis /]#
 
  Same thing with telinit.
 
  The ttys... I have tried logging in as root from tty1, 2, and 6. Login
  works, just text mode. NOW, I think we may be getting somewhere!! When I
  cycle through my ttys I get 1, 2, 3, 4, 5, 6 and THEN A BLANK SCREEN WITH
  A BLINKING UNDERLINE IN TOP LEFT FOR tty7 and then another BLANK SCREEN
  WITH A BLINKING UNDERLINE IN TOP LEFT FOR tty8 (I guess) and the log
  screen. What does this mean? Do I have a hung terminal or something? I
  have checked the processes 'ps -ax | less' and nothing looks unusual.
  What should I be looking for?
 
  inittab says default is runlevel 5. xdm has been workin for months, it
  just dissapeared with the [ctrl]+[alt]+[backspace] this morning.
 
 
  Thanks again, David
David,
I just finished reading *all* the thread, something ya might try is to issue 
the init 3 command and then the init 5 command, I've had this work for me in 
the past.
-- 
Ken Thompson
Electrocom Computer Services
Payette, Idaho 83661
(208) 642-11701
Web: http://www.nwaa.com
Email: [EMAIL PROTECTED]
HAM: WA7SYR - Member QCWA




Re: [expert] Need Help going rc.3 to rc.5

2001-04-02 Thread David Rankin

Peter Hicks wrote:

 If you ARE running an X session, try hitting [ctrl]+[alt]+[F7}. This should
 cycle it properly back to X.


Peter, I don't know? I was running an X session before doing the
[ctrl]+[alt]+[backspace] this morning. Now when I do the [ctrl]+[alt]+[backspace]
all I get is a blank text screen with a blinking underline in the top left
corner. What does this mean? Do I have a hung X session. I can still login and
type startx and X comes up just fine. Let me know what you think.

Thanks, David


 On Monday 02 April 2001 11:37, you wrote:
  Craig Sprout wrote:
   David Rankin wrote:
Craig, I have logged in as root and done 'init 5'. I logged out and I
am still stuck in the rc3 text login. I have tried starting x and then
doing 'init 5' but when I log out, the same thing happens -- still in
text login. What am I doing wrong. (I have Linux Mandrake 7.2) if that
makes a difference.
  
   Hthat sounds odd.  I assume that you can log in and `startx' and
   go about your business?
  
   When you issue `init 5' are you getting the xdm login screen at all?  If
   you are getting a text login, what tty are you on?  X usually uses tty7
   for its display, so you may try [L-ALT] + [L-ARROW] to cycle through
   your available tty's and see if the display is there?
  
   Also, what does your /etc/inittab file say for default run level?
 
  Yes, I have no problems doing startx and launching KDE and everything works
  fine.
 
  When I issues 'init 5' or 'telinit 5' I never get the xdm login screed at
  all. I hear the machine thinking a little bit, but that's all. here is what
  happens:
 
  [root@Nemesis /]# init 5
  [root@Nemesis /]#
 
  Same thing with telinit.
 
  The ttys... I have tried logging in as root from tty1, 2, and 6. Login
  works, just text mode. NOW, I think we may be getting somewhere!! When I
  cycle through my ttys I get 1, 2, 3, 4, 5, 6 and THEN A BLANK SCREEN WITH A
  BLINKING UNDERLINE IN TOP LEFT FOR tty7 and then another BLANK SCREEN WITH
  A BLINKING UNDERLINE IN TOP LEFT FOR tty8 (I guess) and the log screen.
  What does this mean? Do I have a hung terminal or something? I have checked
  the processes 'ps -ax | less' and nothing looks unusual. What should I be
  looking for?
 
  inittab says default is runlevel 5. xdm has been workin for months, it just
  dissapeared with the [ctrl]+[alt]+[backspace] this morning.
 
 
  Thanks again, David








Re: [expert] Need Help going rc.3 to rc.5

2001-04-02 Thread David Rankin

Ken Thompson wrote:

 On Monday 02 April 2001 01:13 pm, you wrote:
  If you ARE running an X session, try hitting [ctrl]+[alt]+[F7}. This should
  cycle it properly back to X.
 
 David,
 I just finished reading *all* the thread, something ya might try is to issue
 the init 3 command and then the init 5 command, I've had this work for me in
 the past.
 --

Ken

That did it! Mystery solved. I did 'telinit 3' and then 'telinit 5' and bingo I
had the graphical login back. Thanks.

Last question:

Since I was logged in as root on tty1 when I did 'telinit 3' and then 'telinit 5'
which gave me the xdm login, do I still have a root login on tty1 hanging around
someplace that I now need to kill?

David..





[Fwd: Re: [expert] Need Help going rc.3 to rc.5]

2001-04-02 Thread David Rankin




Ken

That did it! Mystery solved. I did 'telinit 3' and then 'telinit 5' and
bingo I
had the graphical login back. Thanks.

Last question:

Since I was logged in as root on tty1 when I did 'telinit 3' and then
'telinit 5'
which gave me the xdm login, do I still have a root login on tty1
hanging around
someplace that I now need to kill?

David..

[P.S.]

I found the answer! [ctrl]+[alt]+[F1] got me back to the tty1 login.
Logged out and cycled through to tty7 and the graphical login is back.

Thanks to everyone for your great help. Its the simple things that can
drive you crazy when you are making friends with this OS.




Re: [expert] Need Help going rc.3 to rc.5

2001-04-02 Thread Alan Shoemaker

David Rankin wrote:
 This is going to sound really dumb, but "How do I get back
 to my graphical login without having to reboot?" Scenario:
 I have had an ongoing battle getting my machine to handle
 time properly. I set CMOS time to GMT and time zone to
 CST6CDT or "America/Chicago" and the CMOS is set correctly,
 but the system time is not. With GMT at 14:40 and timezone
 at "America/Chicago" the system time shows 14:40, but all
 my WinXX client machines get 19:40, five hours in the wrong
 direction. (Still working on this one)

 Anyway, to try and set it through linuxconf I did a
 [ctrl]+[alt]+[backspace] to get to runlevel 3.

Davidinstead, do a ctl-alt f2 to get to a console login.  
login there and do your chores.  Type exit when you're done 
(logs you out and takes you back to the console login) then 
type alt-f7 to get back to your GUI.
-- 
Alan


 Now I don't
 know how to get back! I can startx an get back into x but
 when I log out, I am sent back to the text login screen. So
 I know this is a dumb question, but how do I get back to
 the graphical logon? I know I can reboot and do it, but can
 I do it without rebooting?

 something like /etc/rc.d/rc 5?

 Let me know. I have learned to look (ask) before leaping
 (executing) to keep from landing in hot water...

-- 
Alan




RE: [Fwd: Re: [expert] Need Help going rc.3 to rc.5]

2001-04-02 Thread Dave

David wrote

That did it! Mystery solved. I did 'telinit 3' and then 'telinit 5' and
bingo I had the graphical login back. Thanks.
[snip]

To preserve the desired behaviour through re-boots you will want to edit
/etc/inittab  change the 3 to a 5 in the following line:
id:3:initdefault:

Regards
another Dave.

-
02-Apr-2001
19:29:45
-