You are not logged in.

#1 2013-05-28 15:46:56

arghasen
Member
Registered: 2013-05-28
Posts: 3

[SOLVED]GUI keeps on getting logged out.

Whenever i switch to a virtual terminal using ctrl+alt+f2/f3, and then come back to GUI mode using ctrl+alt+f1, I get the login screen.On login I find all applications that were running are closed.

Last edited by arghasen (2013-06-01 05:09:56)

Offline

#2 2013-05-28 16:04:27

pie
Member
Registered: 2013-03-26
Posts: 2

Re: [SOLVED]GUI keeps on getting logged out.

I may be wrong, but on every GNU/Linux distribution I've used, the current X session is reached with Ctrl-Alt-F7, not F1. Perhaps it is the same with yours?

Offline

#3 2013-05-28 16:10:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]GUI keeps on getting logged out.

pie wrote:

I may be wrong, but on every GNU/Linux distribution I've used, the current X session is reached with Ctrl-Alt-F7, not F1. Perhaps it is the same with yours?

I don't think it's true with systemd.

Offline

#4 2013-05-28 16:11:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED]GUI keeps on getting logged out.

Welcome to Arch Linux.

You have done a reasonable job of telling us what you are seeing and how you create it.  You should tell us which desktop environment or window manager you are using (Gnome, KDE, Enlightenment, Openbox, etc....) and how it is it that you are starting it -- Startx from a tty, GDM, KDM, XDM, Slim....

Depending on how it is started, Pie is right, it may not be on the tty you think it is.
Also, could you post your /var/log/Xorg.0.log file (as it exists after the crash, not after you have restarted X)?  If you do, make certain you use  BBCode [ code] tags, it is fairly long.

Edit:  did not see Karol's post.  He is correct.  But, I have seen gdm do some weird things over this last weekend hmm

Last edited by ewaller (2013-05-28 16:12:59)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2013-05-28 16:17:06

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,020

Re: [SOLVED]GUI keeps on getting logged out.

kdm on my systems is using tty7. Last time I checked, gdm was using tty1.

Offline

#6 2013-05-28 17:10:57

arghasen
Member
Registered: 2013-05-28
Posts: 3

Re: [SOLVED]GUI keeps on getting logged out.

I am using Gnome 3.8.2. I am using Gdm to start it. My X session is on tty1 as when I press ctrl+alt+f1 I get the gdm login screen, from where I can login again to the gnome desktop.

I donot have to manually restart X.
As for the log, do you want it after it logs out and before I login again??

Offline

#7 2013-05-28 17:29:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED]GUI keeps on getting logged out.

Good question.  This could be a problem, Xorg.0.log is overridden every time the X server starts.  It may be overwritten when gdm launches the login screen.  In that case, the file you need will be called Xorg.1.log.   But, it gets worse, it might be if you then login in to Gnome from gdm, the new (The one from gdm)  Xorg.0,log gets moved to Xorg.1.log and the Xord session for gnome creates another new Xorg.0.log.  At that point, the Xorg.0.log that contained the crash is gone.

So, let's do this piecewise.  Switch to another virtual terminal, log in, and see if the gnome session crashes.  Use tools like pstree, or look at the Xorg.0.log and see is the tail has any information about an error.  Also, note the time of the first log entry.  If it did not crash, Then flip back to the original where (now) it should have crashed.  Flip back again and look at the Xorg.0.log and the Xorg.1.log.  Look at the time stamps on them, and in them to determine which is the correct one.  Finally, check my conjecture that logging into Gnome creates new logs by flipping back to gdm, logging in, and seeing if the logs updated.

Unfortunately, I am not in front of a machine I can experiment with on gdm/Gnome.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2013-05-28 17:48:11

arghasen
Member
Registered: 2013-05-28
Posts: 3

Re: [SOLVED]GUI keeps on getting logged out.

Looks like it is a problem with the nouveu driver of nvidea. I have removed the nouveu driver and things are working fine. Thanks for pointing towards GDM, a search for GDM logout problem pointed towards problems with Nvidea drivers. Will try out the closed source driver and see if things are same. Currently using the intel driver.

Offline

Board footer

Powered by FluxBB