Showing posts with label Issues. Show all posts
Showing posts with label Issues. Show all posts

Friday, June 26, 2009

Howto: Login screen gone [solution in openSUSE (kde4)]

Howto:
There are two ways to sort out this type of issues, If your login screen gone, and you can't see your login screen anymore.

1st Solution is:
1- Login with your username and password from command based screen.(You can use failsafe OR your normal one).
2- type:
startx

Hit enter, and you will be able to go to desktop.
3- After this, change the theme from YaST->system->/etc/sysconfig Editor->Desktop->Display manager->DISPLAYMANAGER_KDM_THEME.
There will be two DISPLAYMANAGER_KDM_THEME, choose the middle one.
and enter your desired working theme name and hit ok.
4- Logout from here.
5- Restart.

2nd Solution is:
1- Login with root from command based screen.(You can use failsafe OR your normal one).
2- type this:
vi /etc/sysconfig/displaymanager

3- search for line like this:
DISPLAYMANAGER_KDM_THEME = "true-nature"
true-nature is theme name.just for example i put it there.
4- Change it to your desired one:
DISPLAYMANAGER_KDM_THEME = "oxygen"
5- Save the file.
6- Reboot.
Howto save in vi: To change any text, use 'i' to insert any text, hit ESC to end writing, and then hold left shift+z(hit twice). And your changes will be saved.

And that's it. You are done.

ANL

Monday, May 25, 2009

Solution for: Screen goes black(sleep) in Mandriva 2009.1

I experienced the above issue with my recently installed Mandriva 2009.1 after updating some packages from Main testing repo.
The issue i face was, the following post i took from Mandriva forum, which i posted there.
I am using 2009.1 KDE 4.2.3 on my laptop with Intel 845 chipest.
I have some problems:
1- While opening video, some time screen goes black, or may be in the middle of a video.
Even the video is running there, bcoz sound is still there. Just the screen shows black.
2- This problem also exists without video. Some time while surfing, working.

And i had no choice except to go tty1 to reboot the system. Facing this problem from last 4 days. And facing it twice and thrice a day.

Yesterday i update the system from main testing repo, and there were some updates for intel card. But after that also i face this problem.
I updated it from testing repo in this hope, that it will solve the problem. But the problem is still there.
I disabled Mian testing repo after updating.


Now lets come to the solution part. It was a bit easy task to overcome this problem.
For the current session, open terminal and type the following and then hit Enter.
xset -dpms

Now to avoid this sleeping problem next time, do the following:
1- open .bash_profile file from your home directory.(view->show hidden files)
2- and put the same command above at the end and keep one line blank after that command.
It should be like this:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME
xset -dpms


This will not effect your screen saver, i tested this.
DPMS is standby, suspend and off.
To stop screen saver put this at the end of that file:
xset s off

Screen saver will not effect any thing, mean the sleeping problem(black). So its upto you now.

NOTE: I will update this post time to time for further updates regarding my laptop. That what is the result after that command.

References:
Mandriva Forum post
Bugzilla


UPDATE-1: Today (26-05-2009) at 5PM, i face this problem again, but this time the screen goes white and i had to restart it by the old way again, i am working on it. Will come back with solution soon.

UPDATE-2: Today (28-05-2009), I update the Intel driver on 26-05-2009 from Main test repos and until now no more black or white screens.

ANL