LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-11-2002, 07:59 PM   #1
endif
LQ Newbie
 
Registered: Mar 2002
Posts: 3

Rep: Reputation: 0
Unhappy 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!
 
Old 03-11-2002, 09:35 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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
 
Old 03-12-2002, 05:05 AM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
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).
 
Old 03-14-2002, 05:53 AM   #4
subhasis_ray
Member
 
Registered: Jul 2001
Location: india
Distribution: RedHat 7.1,7.2,7.3, 8.0,9.0,Fedora,EL2.1,EL3.0
Posts: 103

Rep: Reputation: 16
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.
 
Old 03-14-2002, 08:53 PM   #5
LinuzRulz
Member
 
Registered: Jan 2002
Location: Confederate States of America
Distribution: Mandrake 9.0
Posts: 197

Rep: Reputation: 31
Try running Hardrake to reset your problem
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scr res and refresh rate screwed up fisher99 Slackware 1 01-05-2005 07:15 AM
screen res? chazzwozzer Red Hat 0 12-17-2004 02:05 PM
Screen Res AGilley007 Debian 3 09-17-2004 07:00 PM
screen res without X class_struggle Linux - Newbie 1 08-27-2004 05:33 AM
Screen Res. KarmaKill Slackware 4 07-04-2004 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration