LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2009, 09:34 AM   #1
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Can't log back in after changing runlevels from init 3 to 1 back to 3


Basically what the title says. I switch to runlevel 1 to update some stuff, then when I try to switch back to runlevel 3, I can't log in. It basically leaves me with:
Code:
root - /
()- exit
exit
when I try to exit as root and log in as a normal user. This is on -current64 and it's current as of today. Anyone else having this issue?
 
Old 06-28-2009, 12:12 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Not sure what you changed but to go from one level to another in single mode.
telinit 3 type it. so your stuck in maintenance mode ok your in telinit 1 you need to type telinit 3 now your going to login as root. or a user telinit 5 takes you to your kdm and then log in. what this does it tells the system to run the telinit 3 scripts.

Last edited by Drakeo; 06-28-2009 at 12:15 PM.
 
Old 06-29-2009, 07:22 AM   #3
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Original Poster
Rep: Reputation: 110Reputation: 110
I understand how runlevels work, that's why I went to runlevel 1. I installed some security patches then went back to runlevel 3. When I did that, that's when I don't get my prompt back. It's like something is hanging but I don't know what. In order to start X, I have to go to a different vt. And this happens every time, not just after one update.
 
Old 06-29-2009, 09:06 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you and I both look like we have been using Slackware a long time. I never had to patch or try to install as telinit 1 single mode. I have done some other stuff. I also run current in 32 bit and 64 bit and I had no issues yet. That said and done I know this does not help. I wish you luck I will keep working on this issue.
 
Old 06-29-2009, 10:36 AM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
I can partially verify the problem. I have noticed through the past few years that when I (tel)init to run level 1 and then return to run level 3, I don't see a shell prompt. I always have to press the Enter key once to update/refresh the screen. I never had any other issues, just annoying that the prompt does not return.

Not exactly the same as you described but somewhat similar.

I never have had to toggle to a different terminal to log in after changing run levels. I have seen the terminal screen freeze like you describe, which then required trying a different terminal, but only once in a great while.

Perhaps there is something in your bash startup scripts causing the problem?
 
Old 06-29-2009, 11:36 AM   #6
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
I have noticed the lack of prompt, too. The prompt is actually displayed, but some other messages from init wipe over it so it is no longer seen. This happens fast. Press ^C and/or Return/Enter to see what happens. If you can open another VT, go there and see if for some reason telinit is still running if you still can't get the prompt back. Is the default run level still the same in /etc/inittab ?
 
  


Reply



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
openbsd 4.5 - changing .profile - logout and log back in (ssh) noir911 *BSD 6 04-02-2009 06:07 AM
Connecting 2 linux computer back to back with cross cable. michalng Linux - Networking 8 02-11-2009 07:00 AM
xdm missing from /etc/init.d..how do i get it back? flipwhy Linux - Newbie 1 09-01-2006 10:34 AM
Cant log out of window manager and log back into kde randrake Linux - General 4 08-11-2005 11:01 AM
How do i log back in. Sundance Linux - Newbie 6 12-13-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:35 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
Open Source Consulting | Domain Registration