Linux - change resolution in text mode on LCD screen


if you watch small about 80 chars terminal output in the middle of yours gigantic LCD screen..


you should try to change screen resolution. It depends on your distribution (Fedora, Ubuntu or Red Hat) and boot manager.
I am using Fedora Project 17 on VMWare with GRUB2.
Lets modify /etc/default/grub


#try to set native monitor resolution

GRUB_GFXMODE=1024x768

#force to keep graphic mode

GRUB_GFXPAYLOAD_LINUX=keep


Yes, that's right, modern terminals running text mode over graphic gfxterm

to apply changes lets execute

 
grub2-mkconfig -o /boot/grub2/grub.cfg


and reboot

Now you should see the text in entire screen.


Enjoy!



mysql errno 1251 Client does not support authentication protocol requested by server

mysql errno 1251 Client does not support authentication protocol requested by server
OR
unable to connect database server in my php 4.4.9 script.

I have spent some time before found out that php 4.4 isn't compatible any more with mysqld 5.1
Some thought you can find here. Solution of the problem is simple. You must correct user's password and save it in old style.


mysql> SET PASSWORD FOR
    -> 'some_user'@'some_host' = OLD_PASSWORD('newpwd');

Enjoy!

HOWTO: Repair Logitech M325 Mouse

FixIt says that you will find single screw under CE label. It isn't always true.