BrianK |
03-04-2008 03:25 PM |
Quote:
Originally Posted by adanedhel728
(Post 3078086)
I was trying to follow these instructions to install a video driver in OpenSUSE (which was unsuccessful, but that's for another thread), and now when I start up Suse it brings me to a command line instead of the GUI. I'm guessing it's because of some command I typed in, but I don't know enough Linux commands to fix it.
I already tried "init 5," and I even tried typing in "init 3" then "init 5," (all of which was done in root). There wasn't an error message, it just says "runtime level 5 reached." What command would I type in to get back into the GUI?
|
the quick answer is simply type "startx" at a prompt.
The longer answer is that you should find at what run level your display manager starts & then init to that level. Even more proper would be to put that runlevel in your /etc/inittab file, in a line like:
id:2:initdefault:
... which should already be there. In this case, '2' is my runlevel that brings up gdm, which is the gnome display manager. I can confirm this by seeing S21gdm in /etc/rc2.d (it doesn't have to be S21gdm, it could be S10 or S78, the number doesn't much matter in this instance - assuming it already exists). IIRC, Suse still has S-links in /etc/rcX.d.
If all else fails, you can always reboot, though, that's not a very Linux way of doing things. ;)
|