Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-26-2016, 05:43 PM   #1
Registered: Jun 2016
Posts: 57

Rep: Reputation: Disabled
System suspends sometimes after startx


I use Arch Linux with Gnome 3.20.2.

When I boot my computer I'm in a login shell. I enter my user name and my password, after logging in, I type startx to start the gnome session.

Sometimes (very rarely), when I enter 'startx' my system suspends before the Gnome session is shown. Then I have to hit the power button another time. Then the GUI appears.

Why is this happening sometimes?

This behaviour appears very often at night, when I have to go to bed, but still sittin' in front of the computer
Old 09-27-2016, 10:27 AM   #2
Registered: Aug 2016
Posts: 259

Rep: Reputation: Disabled

try running gnome with gdm in shell.

startx wont work for me eather. its working only for twm.
Old 09-29-2016, 04:32 AM   #3
Registered: Jun 2016
Posts: 57

Original Poster
Rep: Reputation: Disabled
startx is working for me.

Aren't there any assumptions why this is happening?
Old 09-29-2016, 09:30 AM   #4
Registered: Aug 2016
Posts: 259

Rep: Reputation: Disabled

yes i remember now.

in ~/.xinitrc put exec gdm. and try with startx
Old 10-12-2016, 03:49 AM   #5
LQ Newbie
Registered: Aug 2016
Posts: 7

Rep: Reputation: 1
Assuming this story is about your PC running Linux and your are logging in on the console. So it sounds like as your X server is starting and then the window manager is getting going (GNOME) the computer decides to sleep, or suspend. I can't think of anything that would be going on in your start up that would cause that. free action movies
The start of an X server is certainly exercising the video and monitor subsystems, their drivers and firmware so I'd suspect an interaction, bug or hardware fail that is triggering the sleep / hibernate response.
I'd first see how long it takes from hitting return on startx to the problem happening so you have a window of how soon and know if its about start up or it is actually sleep being triggered. latest comedy movies
Second, I'd work on simplifying the number of things that get started so that you can see how that changes the occurrence. The idea being to determine if its a certain program or its the X server. free horror movies

Last edited by Luxion; 10-24-2016 at 04:38 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Laptop suspends neal12 Linux - Laptop and Netbook 2 03-20-2013 02:55 AM
Can screen saver be activated after the system suspends to ram dinkyverma279 Linux - General 2 10-25-2010 04:33 PM
Can't startx KDE on new system gtbutler Linux - Desktop 2 12-30-2007 11:52 PM
#startx results in system reboot kveldalf Amigo 7 02-02-2005 04:26 PM
startx freezes system on FreeBSD 5.2.1 TJandE *BSD 3 07-09-2004 11:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration