Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Hello everybody I have very anoying issue with my ubuntu 14.04. When I close the screen of my laptop, the system logs me off and I need to enter my password to log in again. That would not be a problem, but I use my laptop as router for my XB360 console, so laptop has to be loged in all the time to allow me connect with Xbox Live. I have already switch the option of freezing the computer after closing the screen, but it still log me off and it disconnects me with Xbox Live.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Run this in a terminal:

gksudo gedit /etc/systemd/logind.conf

or

sudo nano /etc/systemd/logind.conf

Then look for the value #HandleLidSwitch=suspend and remove the "#" at the beginning and change it to:

HandleLidSwitch=ignore

To apply the changes run:

sudo restart systemd-logind

More info you can find here: http://www.freedesktop.org/software/systemd/man/logind.conf.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.