Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Very new to Mandrake 8.1. Installed fine, but I wanted to change my screen resolution to 800x600 from 640x480. So, I followed the steps from a few posts down, edited XF86Config-4 in vi, but I changed the res on all the display settings instead of the screen setting (I know... I'm an idiot) and need to get back to fix it. Everytime I boot though, it goes straight to X. How can I get to the command prompt to fix it? Thanks!
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
try temporarily passing the kernel arg
init=/bin/bash
into the bootloader
boot
at the prompt
[root@hostname /directory]#mount -oremount rw /
edit the /etc/inittab default runlevel to 1,2,or 3
(4 isn't used, 5 is X windows, 1 and 6 are halt and reboot respectively)
again at the prompt
[root@hostname /directory]#mount -oremount ro /
reboot
edit your monitor config files
reset default runlevel to 5
while logged on as root
use
init 5
you should be back in buisiness
you can also try running Xconfigurator if it's only x windows that's the problem, hope this helps, cheers
It's a very good idea not to boot into a gui login so you can trouble shoot X problems, boot to runlevel 3 and type "startx" after logging in and if you get dumped back into the conlole due to an X error all you have to do is su to root and edit a few files to fix it (touch wood), you can even surf here in text mode with lynx for help and advice (but don't do that as root).
just to add to aussie's post: boot into runlevel 3 and run setup(this tool in rh7.1 helps to setup services, mouse, keyboard, display, networking etc), and set your display. it is much easier that editing xf86config. (u may lose out on something while editing xf86config).
i know ur talking of mandrake, but if rh has that tool, mandrake cannot be far behind!!
Last edited by subhasis_ray; 03-14-2002 at 05:55 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.