[SOLVED] SuSE 11.4 Booting into command prompt not GUI
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For no apparent reason my Open SuSE 11.4 system, on booting goes into the command prompt screen instead of the GUI.
A couple of error messages prior to the logon seem relevant:-
Loading Firewall Rules mktemp: failed to create file via template
'/temp/SuSEfirewall112_iptables.XXXXXXXX: not a directory
FAILED
Master Resource Control Running /etc/init.d/after.local
DONE
Master Resource Control Runlevel 5 has been reached
Failed services in runlevel 5
SuSEfirewall112_init SuSEfirewall112_setup
Welcome to Open SuSE 11.4
login------------------
I have tried startX, but no good.
From this it seems to me that a a directory/file in my SuSEfirewall is corrupt or missing,
can this fault be corrected ? if so how do I do it ? in detail please, as I am not good with using the command prompt. thanks.
Thanks for the replies, but how do I get from the command prompt to -- /var/log directory, and look in a file called Xorg.0.log.
also to yast2. Yes startx, sorry a typo. Regards.
/var/log/Xorg.0.log is a plain test file, and can be read with any test editor. You need to be root to edit it ( deleted lines etc ). Since you only need to look at it, open any file manager you have on the system. Depending on the file manager, go to the root of the file system '/'. In Dolphin it shows a red 'root' on the left pane. Click that. It should open a list of directories in root. var is one of them. Click it. In var you will find log. Click again. In that directory you will see many log files, Xorg.0.log is the current one. Open it with any test editor. You are looking for error messages. Then are marked at the beginning of the line by (EE) notation. Here is a sample from mine, it it not broken, so I can't shoe you errors; just information messages, (II).
Quote:
[ 33077.213] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 33077.214] compiled for 4.0.2, module version = 1.0.0
[ 33077.214] Module class: X.Org Video Driver
[ 33077.214] (II) NVIDIA dlloader X Driver 275.28 Wed Aug 31 16:58:32 PDT 2011
[ 33077.214] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
This is just a sample, you are looking for (EE) messages. Post what you find.
Thanks again people,
no my card is an ATI & I use FGLRX - ATI config.
My problem is - I really don't understand how to - open /edit / copy / etc files,
install stuff etc,etc from the command line, which now is all that I have
available to me.
I have some files that I really would like to recover
but I am seriously considering cutting my losses & reinstalling from scratch
I tried 12.1 for a couple of weeks when it first came out but did not like it -
not as - stable / easy to use / easy to configure as 11.4 - so I am sticking with 11.4 for the time being.
I would appreciate any advice on how to work from the command line.
Thanks, regards.
My problem is - I really don't understand how to - open /edit / copy / etc files
You need to use programs that do not require the xserver, since it is not running. To open a text file, there are several programs that will do it. Almost all linux distros ship with vi, however, that is intimidating for someone new to the command line. I would suggest you try nano, or pico.
You do need to know who owns the file in question. If it is root, and you want to modify the file, then you need to use su ( or sudo ) to get root privileges. If its a file your user owns, just open the file as your user.
O.K., so you want to open the file /var/log/Xorg.0.log, to find the error messages. As a regular user, you would type 'nano /var/log/Xorg.0.log' and press enter ( no quotes, just what is between the quotes ). The file will open if, nano is installed, the path is correct, and the file name is correct; including case in the path and name. If it does not open, look at the output. A "Command not found" indicates nano is not there. Try pico instead. If that fails also, try vi. It should work. There are help files for new users for vi.
If you get "file not found" then the path may be wrong, typo etc. You might find it easier to navigate to the directory, use 'cd /name/of/dir/' to go to the /name/of/dir. cd /var/log/ would take you to the dir with Xorg.0.log.
To copy a file. The command is 'cp /path/nameoffile /destinationpath/nameoffile' This leaves the source file in place, and creates a new file in the destination dir with the name you give it ( nameoffile ).
I suggested nano, I use it a lot, and there is help info on the bottom of the screen telling you how to do basic things, like save the file after you modify it.
These are skills you need in the long run for any distro. Even if you decide to re-install, after, take some time and learn the basics so you learn how to help yourself.
"MC" ( midnight commander )is a good tool for the terminal only
or
when xorg and the gui fail
however it is not installed by default
( i am on ScientificLinux 6 at this time -- so from memory ) but it WILL take a bit of time to learn !!!
Code:
su -
zypper search midnight
--- MC should be there --
zypper in mc
or use "nano"
nano is a NON gui text editor that is very easy to use
as to OpenSUSE 12.1
i take it you installed Gnome3 (gnome-shell)
( personal opinion so.... Gnome 3 is P.O.S -- the not nice version of that .And with a VERY nasty BUG( known and open issue still) that FORCED me to remove it from the computer )
if so install the xfce desktop , it is closer to gnome2
cinnamon and mate ????? do not YET cut it
or use KDE4 like i turned to
kde is slowly growing on me -- like mold , but growing
2 months after OpenSUSE 12.2 comes out
all support for 11.4 will END
My problem is - I really don't understand how to - open /edit / copy / etc files,
install stuff etc,etc from the command line, which now is all that I have
available to me.
Thanks everybody for your help.
As rightly suggested I have obtained a tutorial on the command line and a list of
most commands.
I had not realized that it is very similar to DOS which I used when I first started
computing, I have been lazy I suppose, as modern Linux is so easy to use without the command line.
until something goes wrong.
Any way the command line is not as opaque as I thought.
So using the command line and your suggestions I found that something major has occurred
with my system, I don't know why. I am unable to log in to my user account, I can log into root OK,
also I am not able to navigate to my user account via root, some directories and files seem to be missing
altogether.
So as I said I will cut my losses and reinstall 11.4, it only takes a couple of hours to install
and configure, less time than I have spent already trying to fix.
When 12.2 is released in September I will give that a try, hopefully the problems with 12.1 will be solved.
My problem is not solved but I now I am starting to use the command line and I will persevere with learning it, so thanks for that.
Also thanks for the link to the tutorial, it is really excellent, I will work through it.
Is there a similar tutorial with a full list of command line commands including the parameters,
switches they were called in DOS, which also includes the SuSE specific commands.
Anyway thanks again to you all for your help, I have learned a lot, so something good has come from the crash.
Regards.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.