LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Screwed up my screen res! Help! (https://www.linuxquestions.org/questions/linux-newbie-8/screwed-up-my-screen-res-help-16053/)

endif 03-11-2002 07:59 PM

Screwed up my screen res! Help!
 
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!

frieza 03-11-2002 09:35 PM

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

Aussie 03-12-2002 05:05 AM

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).

subhasis_ray 03-14-2002 05:53 AM

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!! :D

LinuzRulz 03-14-2002 08:53 PM

Try running Hardrake to reset your problem


All times are GMT -5. The time now is 09:01 PM.