LinuxQuestions.org
Review your favorite Linux distribution.
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 05-18-2004, 01:34 AM   #16
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30

Quote:
Originally posted by parannah
... but i set the resolution too high on my pc, and i cannot acces linux until thurs. when i plug it back into the monitor i installed it with...
you probably mean that you can't start your X server (the graphical system). Best thing you can do is edit /etc/X11/XF86Config-4 file. The part that needs to be edited is similar to this:

Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

#   DefaultDepth 8
#   DefaultDepth 16
   DefaultDepth 24
#   DefaultDepth 32

# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection
 
Old 05-18-2004, 02:40 AM   #17
maqish
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands, Lelystad
Distribution: Slackware 9.1
Posts: 29

Rep: Reputation: 15
do you have this high resolution in x, well stupid question maybe, but that's my first guess

well you could try to reconfigure your XF86Config file or XOrg.conf and edit the section below

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection

you should also have these entries for 16/24/32 bits depth, just remove the modes that are too high or the ones that are too low also, i do not know anyone that is still using the 640x480 res on a home or normal work pc..
just restart your x and you might see some changes

Maqish

(edit) didn't see someone posted the same above me well that's what you should do


Last edited by maqish; 05-18-2004 at 02:43 AM.
 
Old 05-18-2004, 08:19 AM   #18
parannah
LQ Newbie
 
Registered: May 2004
Location: Minnesota
Posts: 12

Original Poster
Rep: Reputation: 0
so, how then do i acces my terminal thing or my command prompt during the boot sequence. since i cannot acces my linux gui i cannot log out or anything. in the dual boot screen should i use c for command... well i just answered my own question.
 
Old 05-18-2004, 08:45 AM   #19
maqish
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands, Lelystad
Distribution: Slackware 9.1
Posts: 29

Rep: Reputation: 15
well, you should use ctrl-alt-f6 as soon as the system is done booting.

a fresh command prompt should appear and you are able to logon using cli. edit the file and well restart should do the trick.

Maqish
 
Old 05-18-2004, 08:58 AM   #20
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
if everything else fails you can usually use disk 1 of your installation disks as a rescue disk. boot up with the disk installed and there is usually some kind of recovery/emergency mode that will boot into a prompt, somtimes making an image to boot to and restoring this image when you exit.
 
Old 05-18-2004, 09:08 AM   #21
maqish
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands, Lelystad
Distribution: Slackware 9.1
Posts: 29

Rep: Reputation: 15
in addition to lyceum,

when starting using disk 1, when asked to login u can mount your linux root partition, and edit the file that way..
or chroot /mnt/<linux root mountpoint>
and then edit the file, but that is not really needed..

Maqish
 
Old 05-20-2004, 01:38 AM   #22
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
Euhm, don't want to critisise your boot disk but maybe for a noob it is easier of he doesn't have to mount anything.
Just boot without the disk, you pc will try to boot into X, but just let it go wrong. After a minute or something the screen stops blanking and goes back to a console. When I had problems with RH8, I could log on straight away, but I've noticed that this isn't the case in Slack so if you can log on on the command line, do it. Else, press CTRL+ALT+F6 and log on there (as root).
now you need an editor... euhm try
#> pico /etc/X11/XF86Config-4
if you don't have pico, try nano and if this doesn't work take vi. Vi is the hardest editor for a noob, but no doubt that will work. To edit the file you first have to press 'i', if you want to save the file press ':x', if you want to quit without saving, press ':q!'.
I recommend you to read the manual (command: 'man vi') before trying vi, it is quite a b*tch to tame .
If you edit that file, better first try some conservative resolutions like 800x600 with 8bit colors...
Once you edited the file, you don't have to reboot, just type
#> startx
if boot fails, it wasn't that resolution :S.

You can also change a config file so your pc won't boot in X, this can be usefull as long as things go wrong, you can change it back afterwards. Just edit a line in /etc/inittab:
id:5:initdefault:
to
id:3:initdefault:
this way your RH will stop at command line prompt.

lot's of luck,
elluva
 
Old 05-20-2004, 10:17 PM   #23
parannah
LQ Newbie
 
Registered: May 2004
Location: Minnesota
Posts: 12

Original Poster
Rep: Reputation: 0
well, i got it to work again.. i switched the res to 800 by 600, and at the generic monitor so that i could use it on my pc. but until then i have no problems.
 
Old 05-21-2004, 03:42 AM   #24
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
euhm, is 800x600 the maximum it does? at least 1024x768 should be possible...
 
  


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
Deleting files in C monil Programming 4 03-13-2005 10:33 AM
Deleting files! a_priebe47 Slackware 6 10-17-2004 09:58 PM
Deleting files ShakyJake Linux - Newbie 12 05-08-2003 03:07 PM
Deleting files Tingle Linux - Newbie 4 01-16-2003 04:19 PM
Deleting contents of files. Road Linux - General 2 10-03-2002 06:02 PM

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

All times are GMT -5. The time now is 09:34 AM.

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