LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-19-2005, 02:06 AM   #1
jalalmn
LQ Newbie
 
Registered: Mar 2004
Posts: 23

Rep: Reputation: 15
video mode ...


................

Last edited by jalalmn; 10-14-2008 at 04:59 AM.
 
Old 03-19-2005, 03:09 AM   #2
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Edit the bootloader's (GrUB or LiLO) config file and append to the 'kernel' line an entry like:'vga=NNN', where NNN is the mode which specifies the resolution/nr.colors. The available modes are:
| 640x480 800x600 1024x768 1280x1024
----+-------------------------------------
256 | 0x301 0x303 0x305 0x307
32k | 0x310 0x313 0x316 0x319
64k | 0x311 0x314 0x317 0x31A
16M | 0x312 0x315 0x318 0x31B
These are hex values which should be converted into decimal ones (can be easily done using a calculator). For example, 1024x768/64000 colors requires a 'vga=791' entry; 800x600/32000 is 'vga=787'.
See if that works.

Last edited by harken; 03-19-2005 at 03:10 AM.
 
Old 03-19-2005, 03:28 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
I believe you are talking about not being able to load the X server.
In that case, you need to edit a different file. It would be either
/etc/X11/xorg.conf
or
/etc/X11/xf86Config
or something like that. You can probably even run
xf86config
to edit it.

Basically, this is where you should make the changes:

Code:
pico /etc/X11/xorg.conf

<snip, snip>
# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen" 
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "PHL0813"

# 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
This Linux Tutorial here at LQ should help...
 
Old 03-19-2005, 03:32 AM   #4
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Sorry, my mistake, bad reader. I thought you were talking about bootup text mode. Ignore my previous post.
 
Old 03-19-2005, 04:20 AM   #5
jalalmn
LQ Newbie
 
Registered: Mar 2004
Posts: 23

Original Poster
Rep: Reputation: 15
................

Last edited by jalalmn; 10-14-2008 at 04:59 AM.
 
Old 03-19-2005, 04:36 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by jalalmn
ok i print this page
i am going to try it now
i think using xfree86 can solve the problem, how to load it ?

pelase tell me every step


thanks
http://www.xfree86.org/sos/
 
Old 03-19-2005, 05:06 AM   #7
jalalmn
LQ Newbie
 
Registered: Mar 2004
Posts: 23

Original Poster
Rep: Reputation: 15
................

Last edited by jalalmn; 10-14-2008 at 04:59 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change from GUI mode to text mode alexr186 Linux - Software 4 01-08-2009 06:56 AM
gui login failed despite users created. but Text mode + root + startx works OK Emmanuel_uk VectorLinux 2 11-21-2005 03:41 PM
Text mode OR Gui parthi4u General 7 03-22-2003 10:35 PM
RH 7.3 starts in text mode, GUI selected ShortTexan Linux - Newbie 2 11-22-2002 11:32 AM
from GUI to text mode? safra Linux - Newbie 3 07-03-2002 03:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:23 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