LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-26-2006, 09:19 PM   #1
zamoti
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Rep: Reputation: 0
xorgconfig/xorgsetup woes


I've recently installed Slackware 11 on an old box in my basement. I've had problems in the past when setting up the video as the monitor I'm using is a bit dated. However, I was able to futz around with xorgconfig to get it working.

Now I'm faced with a system that boots into an unviewable state of affairs; I cannot see anything past the LILO boot screen. I just want to run xorgconfig to get the video straight but cannot. I've now got the specs for the monitor (did not have them during setup--paid the price) and know what to populate.

I've tried booting from the installation cd and modifying the xorg.conf file with what seems to be the proper info but it does not work. I'm not so much interested in attempting to use the xorg.conf file itself, but using the xorgconfig or xorgsetup tool. The reason is that I'm sure someone will ask me to post the contents of the file; as the computer will only boot to a CD, I don't have the hardware resources to get the file out of the computer short of hand-writing everything and retyping it. No floppy drive, no nuthin.

I've located the xorgconfig and xorgsetup files on the local drive after mounting it to a folder, but they won't run. Xorgsetup does absolutely nothing (no error messages) and xorgconfig cries about dependencies on libxkbfile.so.1 and won't run either. At this point I'm sure it would have been faster to just reinstall, but after this much time, I would like to learn something so I don't have to do this crap again.

Thank you.
 
Old 10-26-2006, 10:03 PM   #2
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
try setting the inittab to default to runlevel 3, run startx and then look at the X log file to tell you what goes wrong and fix it from there.

IF you boot normal, once it's done booting press CTRL+ALT+F1 to get to a console, and log in, edit /etc/inittab save, and to save rebooting type init 3.

Good luck
 
Old 10-26-2006, 11:13 PM   #3
hack124x768
Member
 
Registered: Mar 2004
Location: everett
Distribution: slak
Posts: 61

Rep: Reputation: 15
If its getting ugly right after the lilo prompt, its probably the vesa framebuffer driver at fault. If this is the case, edit your lilo.conf (/etc/lilo.conf) to not use the framebuffer, or better yet, to ask what mode to use. look for a line that says vga=___ (_ meaning what ever is there) and change it to vga=ask . Hope this helps.
 
Old 10-26-2006, 11:40 PM   #4
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
uuuh good point. If you don't the see normal debug messages do what hack said.

if you can't get on boot of your install disk, mount your root and boot partitions to the CD mount point, chroot to there edit lilo.conf and run lilo again.
 
Old 10-27-2006, 03:29 AM   #5
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,279

Rep: Reputation: 61
I've found with slackware some of my machine have a problem with the default drive chosen in the xorg.conf file in the graphics section:
Code:
# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "nv"
    #VideoRam    4096
    # Insert Clocks lines here if appropriate
EndSection
You may need to change it to something generic to get it working, yours be default maybe different mine uses the nvidia driver, but changing to vesa driver may work as a generic aternative:

Code:
Driver      "nv"
To

Code:
Driver      "vesa"
 
Old 10-28-2006, 09:16 PM   #6
zamoti
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you

Thanks for all of the suggestions. I'll have to head down to the basement to give this POS a whack.

I appreciate all the help.
 
Old 10-28-2006, 09:49 PM   #7
zamoti
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I had a chance to try the proposed suggestions. However, they did not work. Fotoguy's change was already set and setting lilo.conf to "ask" did not produce any sort of prompting.

Just for more background, I've pounded out all of the color depth sections except for 16; for the one section that is left, I've removed all resolutions except for 640x480. And yes, it is running framebuffer.

Any further suggestions would be greatly appreciated.
 
Old 10-29-2006, 03:48 AM   #8
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,279

Rep: Reputation: 61
OK I should've look a bit closer at your post, I see your not getting anything after the lilo prompt. The xorg.conf file doesn't have any affect until the xserver starts. It does sound like a problem within the kernel itself, most likely the vga or frambuffer settings. What kernel are you booting, the 2.4 or 2.6 kernel?

I had the exact same thing with slackware 10.0 when I used the 2.6.7 kernel, after lilo it would just give a blank screen, I ended up just using the 2.4 kernel and downloaded the latest 2.6 kernel and compiled it from source. If you are using the 2.4 kernel, maybe use the 2.6 instead, it may have better support for your hardware.
 
Old 10-29-2006, 05:47 PM   #9
zamoti
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Kernel

I'm using the stock kernel; 2.4.33.3 is what slackware.org reports as the default. As for what's happening after I get booted, I know it's doing something--I can see what appears to be the Tux up in the upper left corner and the blurry vision of text scrolling by. So it's not totally blank, but what appears to be the result of a video setting that is at a resolution that is higher than what the monitor supports. I know this monitor supports at least 800x600 as I've used it in the past.

Ideas?
 
Old 11-29-2006, 02:42 AM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,983
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Maybe a bit late now, but after the lilo.conf change ... did
you actually also RUN lilo? Lilo, unlike grub, doesn't read
configuration on the fly...


Cheers,
Tink
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
xorgsetup or similar in Ubuntu dtcs Linux - Newbie 1 10-15-2006 06:22 PM
I don't have the commands xorgconfig or xorgsetup onthos Slackware 5 03-07-2006 11:44 AM
Where is xwmconfig and xorgsetup appliction? intmail Slackware 1 07-20-2005 07:26 AM
xorgconfig and xorgsetup phantom1nc Slackware - Installation 5 01-28-2005 03:56 PM
xorgsetup WilliamS Slackware 4 09-14-2004 12:09 PM


All times are GMT -5. The time now is 08:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration