Hi all. I have a 1 week old HP 2133 on SUSE Linux. It was fine until yesterday when it decided it would not boot in to a window. It sat with the commands lines and asking for login/password which works then a command linux-q4pl:> . Thanks to the wonderful experts on this forum, I found startx gets me in to the window system, but now I cannot shutdown the system. Shutdown does nothing, then logout takes me to the same command line of linux-q4pl:> . Help please.
- valj1,
which GUI do you expect? Gnome, KDE3, KDE4…? WHich video chipset do you have?
From the console, you can type
sudo /sbin/init 0
or
sudo shutdown -h now
to stop the machine. You can also try pressing the power button (don’t hold it, just press it shortly) and see if the machine stops.
That’s a workaround until you get your GUI back.
Uwe
Hi thanks for that. The commands do not shutdown my system.
The video chipset is via CN896NB and 8237S SB. Expect GUI.
On 03/03/2009 valj1 wrote:
> Hi thanks for that. The commands do not shutdown my system.
But…?
> The video
> chipset is via CN896NB and 8237S SB. Expect GUI.
Never heard of that one. What happens when you login as root and run
sax2
or
sax2 -r
?
Uwe
On Tue, 2009-03-03 at 10:56 +0000, valj1 wrote:
> Hi all. I have a 1 week old HP 2133 on SUSE Linux. It was fine until
> yesterday when it decided it would not boot in to a window. It sat with
> the commands lines and asking for login/password which works then a
> command linux-q4pl:> . Thanks to the wonderful experts on this forum,
> I found startx gets me in to the window system, but now I cannot
> shutdown the system. Shutdown does nothing, then logout takes me to the
> same command line of linux-q4pl:> . Help please.
For now, you can do a poweroff as root from the command line
after logging in.
Not sure why the gdm process isn’t running properly.
I don’t have a 2133, I do have a 2140 right now… but haven’t
done my testing on it (which will be openSUSE based anyhow).
On Tue, 2009-03-03 at 20:10 +0000, cjcox wrote:
> On Tue, 2009-03-03 at 10:56 +0000, valj1 wrote:
> > Hi all. I have a 1 week old HP 2133 on SUSE Linux. It was fine until
> > yesterday when it decided it would not boot in to a window. It sat with
> > the commands lines and asking for login/password which works then a
> > command linux-q4pl:> . Thanks to the wonderful experts on this forum,
> > I found startx gets me in to the window system, but now I cannot
> > shutdown the system. Shutdown does nothing, then logout takes me to the
> > same command line of linux-q4pl:> . Help please.
>
> For now, you can do a poweroff as root from the command line
> after logging in.
>
> Not sure why the gdm process isn’t running properly.
>
> I don’t have a 2133, I do have a 2140 right now… but haven’t
> done my testing on it (which will be openSUSE based anyhow).
>
>
Oh… and it’s really wise that before you do that startx, that
you do an init 3 as root. Otherwise gdm may keep attempting
to startup and might mess some things up.
You won’t be able to shut your system down from GUI using it’s native features as far as you’re logged in as the regular user. You need root privileges for that. You can shutdown your machine from the console with this:
su -
//here you will be prompted for the root password
shutdown -h now
Now about your problems with the GUI: execute theese commands after you log into the console but before “startx” command:
su -
//your root passwoed here
ps -e | grep dm
//and then
runlevel
and then post the output of both here
Hi all many thanks for all the replies.
The shutdown commands work fine thankyou.I can now shutdown.
When I put in the runlevel command I get N 3 and then back to the command request.
Do this:
cat /etc/inittab | grep initdefault
And post the output
I get: runlevel 0 is systemhalt ( do not use this for initdefault! )
runlevel 6 is system reboot ( do not use this for initdefault! )
that’s strange… Can you post the whole /etc/inittab file contents?
Hi that is all it says.
I mean, can you just use some text editor and open that file with it then copy paste it’s contents in this thread
Hi I have managed to re instal and everything is normal. Many many thanks for your help.
You’re welcome but I think your problem was related to 1 line in the /etc/inittab and it was possible to solve it by correcting it manually. Anyway glad your system is up and running! =)