LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   System lock/unlock when when no XDM is running (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/system-lock-unlock-when-when-no-xdm-is-running-4175501677/)

shoshia 04-14-2014 11:22 AM

System lock/unlock when when no XDM is running
 
I have one problem.
I start X using startx on rl 3 (slackware linux) and when i close laptop system gets locked...System asks username and passowrd. Enter it. But system does not get unlocked. I can guess reason. there is no XDM running.

Can i avoid this somehow?
p.s.
advice: dont close your laptop is not accepted :)

camorri 04-16-2014 06:03 AM

Quote:

I can guess reason. there is no XDM running.
You can find out if XDM is running from a command like 'ps aux | grep xdm'. This will show 2 lines if it is running, and only one if it is not running.

That said, xdm is the last option called by rc.4 when you run startx. If you did a full install, kdm would most likely be called first. To know, and not guess, you need to look at what is installed, gdm, kdm and or xdm. Then what is executable, the files are in /usr/bin/ on a standard install.

rc.4 executes the first one that is installed and executable. See this link for a detailed explanation of how this works. -->http://www.slackbook.org/html/x-window-system-xdm.html

I suspect you have one of them ( gdm , kdm , or xdm ) running. The real question is why doesn't the system unlock.

Closing the lid causes the system to suspend. Do you see any response from the keyboard when you try to unlock it with user/password?

shoshia 04-17-2014 04:27 AM

Quote:

Originally Posted by camorri (Post 5153795)

I suspect you have one of them ( gdm , kdm , or xdm ) running. The real question is why doesn't the system unlock.

Closing the lid causes the system to suspend. Do you see any response from the keyboard when you try to unlock it with user/password?

yes I type uname pass with keyboard but it does not unlock.
I have Optimus NV card and start X with startx from console. Maybe Otimus is problem?

camorri 04-17-2014 05:41 AM

Are you able to lock and unlock the keyboard if you do not close the lid?

I don't think having Optimus has anything to do with it.

shoshia 05-06-2014 11:08 AM

Quote:

Originally Posted by camorri (Post 5154419)
Are you able to lock and unlock the keyboard if you do not close the lid?

I don't think having Optimus has anything to do with it.

hmm strange now everything works fine :)


All times are GMT -5. The time now is 03:07 PM.