screen is black after one move from x to virtual console, back to x, then to console
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
screen is black after one move from x to virtual console, back to x, then to console
After upgrading my Debian from Lenny to Squeeze a few things don't work properly. Most disturbing is that after one switch from graphic screen (x, Gnome) to the virtual consoles this can be observed:
1) The virtual consoles show only a small font. It doesn't change when I use 'dpkg-reconfigure console-setup'. Otherwise everything seems to function properly, but then
2) I return to x (with Alt+F7), and if I again want to reach the virtual consoles (with Alt+String+F3, this is a laptop) the screens are persistently black; nothing works, except Alt+F7, which allows me to go back to the x-screen. In this graphic screen it is possible to use the consoles without problem.
3) I have some trouble shutting-down the computer. The screen disappears, everything goes black, but the computer goes on and does not shut down until I press the power-button, forcing the shut-down process. If I press the keys which would bring the computer to a halt through the virtual consoles, I can bring it to stop allthough the screen remains black throughout the whole process. I press: Alt+Strg+F3 to reach the consoles, there 'root + password', Enter, halt, Enter... Nothing at all appears on the screen, but after a while the computer stops.
1) The virtual consoles show only a small font. It doesn't change when I use 'dpkg-reconfigure console-setup'.
I had that problem and it was because:
console-setup needs either kbd or console-tools. Check for error messages about a package missing when running `dpkg-reconfigure console-setup` https://wiki.ubuntu.com/SaneInstallerKeyboard
Sounds like a vga drver issue. Squeeze now uses kernel mode setting for video drivers by default. Do you know what graphics chipset your machine has?
Personally I've had some blank tty problems with the current squeeze kernel (2.6.32-30) and found that newer kernels work better. You should of course try all other options first but if all else fails a newer kernel just may be the quickest fix, if you don't want to go building your own from source, you may want to try a liquorix kernel. http://liquorix.net/
Also I think a 2.6.37 kernel is close to being released into unstable. There was a trunk kernel in there about a week ago which I use on both my systems but it has recently been removed.
Sounds like a vga drver issue. Squeeze now uses kernel mode setting for video drivers by default. Do you know what graphics chipset your machine has?
Personally I've had some blank tty problems with the current squeeze kernel (2.6.32-30) and found that newer kernels work better. You should of course try all other options first but if all else fails a newer kernel just may be the quickest fix, if you don't want to go building your own from source, you may want to try a liquorix kernel. http://liquorix.net/
Also I think a 2.6.37 kernel is close to being released into unstable. There was a trunk kernel in there about a week ago which I use on both my systems but it has recently been removed.
Thanks. But I am not able to follow you entirely.
What I read in xorg.conf is: Identifier "ATI Technologies Inc Radeon Mobility M6 LY"
I had that problem and it was because:
console-setup needs either kbd or console-tools. Check for error messages about a package missing when running `dpkg-reconfigure console-setup` https://wiki.ubuntu.com/SaneInstallerKeyboard
The rest of your problems i would not know.
Thanks. But no, kbd-compat is installed, as well as console-tools. And there is no error messages appearing.
Well you're certainly using the wrong driver. You may not need xorg.conf at all.
Run the following command as root, reboot (usually a good idea with KMS) and try again:
Code:
mv /etc/X11/xorg.conf mv /etc/X11/xorg.conf.ati
In the unlikely event that it breaks X log in as root and run this
Code:
mv /etc/X11/xorg.conf.ati mv /etc/X11/xorg.conf
Then post the output of this:
Code:
cat /etc/X11/xorg.conf
Yes, I copied xorg.conf into xorg.conf.ati and removed the original, as you suggested. I rebooted and, as you supposed, there is no xorg.conf any more. Everything seems to work as before (so it wasn't needed?), but the problem is still there. I can get to the consoles just once; the second time a just get solid black (but somehow working commands).
The font-size problem without error messages sounds strange... No further idea.
Not sure if Squeeze uses gdm3.
If so: try to replace it by gdm.
If not, remove gdm.
At minimum you will be sure the login-manger is _not_ the problem and hunt for other culprits.
I guess it is not the problem, but the check will take a few minutes only.
Yes, I copied xorg.conf into xorg.conf.ati and removed the original, as you suggested. I rebooted and, as you supposed, there is no xorg.conf any more. Everything seems to work as before (so it wasn't needed?), but the problem is still there. I can get to the consoles just once; the second time a just get solid black (but somehow working commands).
Thanks for your help.
Raśl
So, I am afraid I not much of an expert. What I didnow was to boot with the lenny-kernel 2.6.26, which was still on Grub, instead of 2.6.32. That did the trick, now everything works, but it is unsatisfactory to have to use an old kernel from Lenny instead of the new one from Squeeze (and now I have problems with wlan, so I use the cable). So if you can think of something better, please tell me.
adding or something similar as an option to kernel/linux line of boot loader sometimes helps
No, I am afraid I not much of an expert. What I did now was to boot with the lenny-kernel 2.6.26, which was still on Grub, instead of 2.6.32. That did the trick, now everything works, but it is unsatisfactory to have to use an old kernel from Lenny instead of the new one from Squeeze (and now I have problems with wlan, so I use the cable). So if you can think of something better, please tell me.
If your now using gub2, when the grub prompt comes up move your cursor to the end of the linux line of the kernel you want to use, type in the changes and boot. If you still using grub legacy then hit the e to edit the kernel line. If it works, let us know which grub your using so the changes can be made permanent.
I would advise that you install the new 2.6.37-1- kernel from unstable. I have found that newer kernels than the squeeze kernel solve most fbcon issues.
Installing the kernel won't break your system, if it doesn't help with this problem it can be removed again.
Post the output of the following
Code:
cat /etc/apt/sources.list
uname -r
Last edited by cynwulf; 02-21-2011 at 04:45 AM.
Reason: typo
I would advise that you install the new 2.6.37-1- kernel from unstable. I have found that newer kernels than the squeeze kernel solve most fbcon issues.
Installing the kernel won't break your system, if it doesn't help with this problem it can be removed again.
Post the output of the following
Code:
cat /etc/apt/sources.list
uname -r
Yes, that could be a good idea. Here is my actual /sources.list :
#
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905-08:48]/ lenny contrib main
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD Binary-1 20090905-08:48]/ lenny contrib main
The kernel I am now using is 2.6.26-2-686; the other one on grub is 2.6.32-5-486.
With the Lenny version the console has no problems, either regarding the font-size or the visibility. And I can stop the computer with the gnome-button (with the squeeze kernel both buttons lead to a 'reboot', so that I must go to the black consoles and stop there with 'halt', typing in the dark).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.