Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am using dell with ubuntu 14.04 LTS (64 bit).
When I connect headset, the system shutdown automatically.
Also, I am not able to shutdown the system via the GUI. However, I can do it by running this command: