LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-08-2011, 02:12 PM   #1
swaroopkml
LQ Newbie
 
Registered: Oct 2011
Location: Mysore, India
Distribution: Arch linux
Posts: 20
Blog Entries: 1

Rep: Reputation: Disabled
Exclamation Flashing colours in almost all linux distros..!


Hi, whenever i boot any linux distro normally, i get a screen with stripes of flashing colours either immediately(as in case of debian) or after 2-3 minutes(as in case of ubuntu).
Only Puppy and Slitaz boot and work normally.

However, i found a way around this a few days ago. If i boot in 'Linux single' mode (recovery modes in debian and ubuntu) and also replace 'vga=768 --quiet splash' with 'nomodeset', i can get a root terminal. Then if i issue the command 'startx', everything boots up properly but only thing is that i'm in root mode which many people warn against as being unsafe for everyone. How can recover normalcy? Please help, i'm a newbie and fond of opensource, but this has been a great problem.
 
Old 10-09-2011, 08:42 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
https://wiki.ubuntu.com/FrameBuffer

gives an explanation of setting the frame buffer permanently in ubuntu, and i imagine it would be the same with debian.

also you dont need to go to single user mode, to change the frame buffer, you can edit the grub menu option on the fly (but temporarily) by pressing "e" and changing/adding/removing the vga= part of the boot options, then pressing "b" to boot the system with the changes made.
 
Old 10-09-2011, 09:11 AM   #3
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Puppy and Slitaz are probably using the vesa driver by default. I know Puppy does that on my desktop PC. Placing nomodeset on the kernel line in your grub configuration file (or editing that line temporarily at boot time) forces use of the vesa driver. On my system, I still get the graphical login; no sure why you're not.
 
Old 10-09-2011, 11:07 PM   #4
swaroopkml
LQ Newbie
 
Registered: Oct 2011
Location: Mysore, India
Distribution: Arch linux
Posts: 20

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Hi guys, thanks for replying. I tried, but when i enter vga=normal and nomodeset in grub edit for the 'normal' ubuntu startup, i still get the flashing screen, also, it is peculiar that when i supply these flags to 'recovery' mode startup, it boots into recovery mode. It also happened in ubuntu live installer but it was overcome easily by replacing 'vga=768 --quiet splash' with nomodeset. I was too primitive in linux terms when i tried fedora to even think about boot options so i generally assumed my GPU waasn't compatible.

No, Rock, i have always used openchrome in puppy, also, ubuntu used vesa driver also before i chose openchrome as default driver.

Thanks, would be gratefull if you can walk me via this mess.

P.S: I don't know the root password at all. When i type sudo in CLI, authentication always fails, but in ubuntu's recovery mode's 'root' option, it doesn't ask password at all!

Last edited by swaroopkml; 10-09-2011 at 11:09 PM.
 
Old 10-10-2011, 07:39 AM   #5
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
A bit OT, but I do not have fond memories of dealing with the openchrome driver of the day on one of my former laptops. I typically ended up using the framebuffer driver with Fedora or Ubuntu; not as fast, but worked for me.

Unless it's changed, Ubuntu defaults to not allowing a root login in runlevels 2-5. However, the installation process sets up the first user as a sudoer. The password should be that user's password. Of course, you still have to get to that point. Basically, it means booting in single-user mode, editing the appropriate grub config file in /etc, and running the script that regenerates the grub config file in /boot/grub. The Ubuntu docs could (or perhaps someone familiar with the process reading this thread will) explain how to do this. I still use legacy grub (which is not what I'd recommend for someone just starting with Linux).
 
Old 10-10-2011, 10:18 PM   #6
swaroopkml
LQ Newbie
 
Registered: Oct 2011
Location: Mysore, India
Distribution: Arch linux
Posts: 20

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Hi. i disabled framebuffer completely but didn't work-out. Then, i tried RockDoctor's suggestion and swithed to fbdev, didn't work as well After doing a lot of research, i stumbled upon this page: http://www.yellowdog-board.com/viewtopic.php?t=823

It seems this same thing happened to someone using yellow dog linux, with the problem being the identification of monitor.
tony_k gave this reply
"1. boot YDL as single user mode. When you see "boot :" prompt, type "linux single [enter]"
2. when you see root command prompt "[something] #", type the following command:
cd /usr/X11R6/bin; ./Xautoconfig [enter]
3. reboot the computer. Type "reboot [enter]".

But ubuntu does not have a folder /usr/X11R6. I'm using Natty 11.04. Is there a way to do this in ubuntu?

Thanks
 
Old 10-11-2011, 06:12 AM   #7
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Instead of
Code:
cd /usr/X11R6/bin; ./Xautoconfig
as root:
Code:
Xorg -configure
. This will create /root/xorg.config.new. Copy that file to /etc/X11/xorg.conf and reboot. If it doesn't work, you'll need to tweak xorg.conf.

A couple of other thoughts:
1. Did you run the configuration script to update /boot/grub/grub.cfg after making your changes to the config file in /etc?
2. Did you try nomodeset without a vga= parameter in grub.cfg?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware compatible with one or more linux distros. Will it work on all other distros necromancer44 Linux - Hardware 2 06-07-2010 06:28 PM
Linux hangs at flashing cursor in GRUB Sarpedon Linux - Software 7 09-02-2009 08:39 AM
LXer: Flashing Your BIOS From The Linux Desktop LXer Syndicated Linux News 1 05-05-2009 04:33 AM
Flashing program for linux NightLord Linux - Software 8 06-25-2005 06:23 AM

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

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