LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-14-2014, 11:22 AM   #1
shoshia
Member
 
Registered: Apr 2014
Location: Tbilisi,Georgia
Distribution: Slackware
Posts: 35

Rep: Reputation: Disabled
Cool 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
 
Old 04-16-2014, 06:03 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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?
 
Old 04-17-2014, 04:27 AM   #3
shoshia
Member
 
Registered: Apr 2014
Location: Tbilisi,Georgia
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post

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?
 
Old 04-17-2014, 05:41 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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.
 
Old 05-06-2014, 11:08 AM   #5
shoshia
Member
 
Registered: Apr 2014
Location: Tbilisi,Georgia
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
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
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to unlock a file...it has a lock symbol on it alex321 Linux - Software 7 08-03-2012 12:12 PM
[SOLVED] libpam-ssh does not unlock keys on wdm/xdm logins (unstable) Tister Debian 1 01-04-2010 11:11 AM
To find date and time of system Lock and Unlock details in the konsole cirque Linux - Security 1 06-28-2008 02:26 AM
lock and unlock munna_dude Programming 1 05-18-2007 06:03 AM
About Lock And Unlock George2 Programming 8 08-23-2005 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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