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.
Hi all,
my machine os:linux opensuse 10.1 could not start in desktop GUI mode, it starts in CLI mode. I startx but still it goes to cli mode. Could someone help to let the machine goes directory to GUI mode ?
... thanx
Mohammed Hammam
Can you actually start the X server when you run "startx", or is it giving you errors and dropping you back to the console? If so, please post those errors.
If you can "startx" successfully, then you need to change your default runlevel in /etc/inittab. For most distros, I belive it's runlevel 5 for a GUI, so look for the line that says
id:3:initdefault:
and change the number accordingly. At the top of the file, there should be some comments about the runlevels, so use that to determine whether it should be 5 or not.
What error messages do you get when doing [b]startx[b]? If nothing, then read /var/log/Xorg.0.log (or if I recall the file name wrong, cd into /var/log and check out what it was).
There's something preventing the X server from starting, it seems. Have you upgraded your software, drivers or hardware perhaps? Anything that might have anything to do with your display?
Though this will most probably not work, you can try this: most of the Linuxes I've seen use runlevel 5 for graphical use and runlevel 3 for CLI; you could try switching back and forth (to 3 to 5 again) to see if the error comes up again. Also if you try to fix something, this way you can see if it helps; probably you'll need to edit your /etc/X11/Xorg.conf configuration file. To change the runlevels:
Code:
init 3
whis will get you to runlevel 3, command line, and
Code:
init 5
should get you to GUI environment, but if the config is incorrect or there is some other problem, this will just bring you back to console and give some errors (which are useful in solving the situation).
Post here the errors you get when X comes down (after startx for example).
EDIT: oh man I dislike this; there are 3-10 persons viewing a thread, everybody writing a "quick reply" simultaneously and then there suddenly are 10 almost identical posts, which takes up space and won't help anybody..I wonder why they still haven't made any warning/locking system to this, even a small pop-up OK-box telling you somebody else is just writing an answer..and yes, I've added that to the "wishlist"
when i typed startx it reurned me back to the console saying No startx installed. Even I went /etc but I could not run edit. by the way I did change to line /de/hdc7 in fstab, saved and then reboot and here the problem arises.
I have a dual system in my machine 1-winxp 2-opensuse 10.1
I ran out of spaces in linux named / So I format a patition in winxp from linux /dev/hdc7 and I changed a line in /etc/fstab and saved then reboot ...
Yes, of course you can edit fstab from the console. Use any console based text editor, e.g. pico (or nano), or vi.
Are there any files on that partition? If not, that'd explain why startx can't be found (it usually lives in /usr/X11R6/bin). You might want to revert the file to what it was before and see if that helps.
dd deletes a line
cc changes a line
yy copies a line
p pastes a line below cursor
P pastes a line above cursor
d2 deletes 2 lines below cursor
y2 copies 2 lines below cursor
yx copies x lines below cursor
dx deletes x lines below cursor
it seems that the file fstab has been corrupted, how I return it back.
Now there is login screen shown when I entered my user id and password another screen show says 'Could not star kstartconfig. Check your installation', when I press ok it returned back to the same login screen.
How I handle this pls instead of re-install opensuse 10.1 ?
Usually when you edit a file, a backup is created with the same name, but followed by a tilde (~). So, check if you have a file called "fstab~" and just restore that, with "mv fstab~ fstab".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.