You are not logged in.

#1 2013-06-02 01:21:38

jeffmitch
Member
Registered: 2013-06-01
Posts: 6

Cannot login - system goes back to graphical login screen every time

So I'm attempting to get arch working but no luck. Every time I get the graphical login screen, I enter my username and password and instantly it loads up the login screen again. I heard that SLIP was an out-dated login manager so I installed LXDM instead and enabled it with systemctl enable lxdm.service. I wondered if xserver was resetting itself each time I logged in so I disabled the startx option in my xinitrc file in my home directory. Upon doing this, I get a blank screen after attempting to log in. I don't understand what the problem here is, I have an xinitrc file which says to startx and to startxfce4 yet I can't get to the desktop. Arch gets my screen res correct and everything, but I can't get beyond the graphical login screen.

I'm sure somebody else has had this problem before and I'm sure there's an easy fix, yet I can't find anything about this problem in the wiki. Arch is on a separate partition and I don't know how I can get a copy of the log file onto my Ubuntu installation so I can post it on these forums. Is there something in the lxdm log file I should be searching for?

Offline

#2 2013-06-02 01:37:41

ill
Member
From: US
Registered: 2011-06-22
Posts: 115

Re: Cannot login - system goes back to graphical login screen every time

Disable the graphical login and try startx and see what errors show up.

Offline

#3 2013-06-02 01:46:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Cannot login - system goes back to graphical login screen every time

Why on earth would you run startx from xinitrc?  That should fail.

Startx is a script that calls xinit, which sources xinitrc - so you're running it recursively.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2013-06-02 02:34:32

jeffmitch
Member
Registered: 2013-06-01
Posts: 6

Re: Cannot login - system goes back to graphical login screen every time

Trilby wrote:

Why on earth would you run startx from xinitrc?  That should fail.

Startx is a script that calls xinit, which sources xinitrc - so you're running it recursively.

Okay I had thought it might do that, I'll disable it from running recursively. I'll reboot into arch and test startx with no login manager and report back ASAP.

Offline

#5 2013-06-02 02:45:48

jeffmitch
Member
Registered: 2013-06-01
Posts: 6

Re: Cannot login - system goes back to graphical login screen every time

Ok so I booted straight into a console (no x and no graphical environment was loaded) and I get an error when manually running startx and startxfce4 from console. XFWM reports that it cannot find a screen to run XFCE4 on top of. Is this a driver-not-installed problem or is it to do with the consoles? I think "screen", in x language, means an interface to the physical monitor, and surely that is dependent on drivers?

Offline

#6 2013-06-02 02:50:38

ill
Member
From: US
Registered: 2011-06-22
Posts: 115

Re: Cannot login - system goes back to graphical login screen every time

Typically means you don't have the appropriate graphics driver installed.

Offline

#7 2013-06-02 03:03:08

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Cannot login - system goes back to graphical login screen every time

It is always better to actually post the output/error of the command you are asking about.  The same goes for potential issues with a configuration file.  So when someone told you that there are potential issues with your xinitrc, it would have been nice if you had actually shown what was included in that file.

Offline

#8 2013-06-02 03:18:00

jeffmitch
Member
Registered: 2013-06-01
Posts: 6

Re: Cannot login - system goes back to graphical login screen every time

ill wrote:

Typically means you don't have the appropriate graphics driver installed.

Okay I have about 50 pages of arch manuals printed onto paper so I'll look into it. I installed the intel drivers, and vesa as a backup. Kinda surprised I can't even get 640x480.

WonderWoofy wrote:

It is always better to actually post the output/error of the command you are asking about.  The same goes for potential issues with a configuration file.  So when someone told you that there are potential issues with your xinitrc, it would have been nice if you had actually shown what was included in that file.

Of course, I should have mounted the arch partition and copied the file into my main OS. I was mostly concerned with getting terminal output from startx. I figured out how to use the mount command (I always forget) so yep I can now copy my files over and post them here if needed. I also managed to pipe output using >> or > (can't remember which). I get rusty at these things.

Offline

#9 2013-06-02 03:34:09

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Cannot login - system goes back to graphical login screen every time

If you have established an internet connection with from within the console (which I am assuming you have if you are continuing to isntall packages), there is also wgetpaste in [community].  I have never actually used it myself, but I have read that it can send redirects and pipes (I think) to pastebin, or some other service... I don't really know TBH.

Why have you printed the man pages?  You know you can read them from within the tty, and that by default you have 6 ttys?  Otherwise, you can use a terminal multiplexer like tmux or screen.  Yo dawg, I head you liked terminals... nevermind.

Offline

#10 2013-06-02 03:39:59

jeffmitch
Member
Registered: 2013-06-01
Posts: 6

Re: Cannot login - system goes back to graphical login screen every time

WonderWoofy wrote:

If you have established an internet connection with from within the console (which I am assuming you have if you are continuing to isntall packages), there is also wgetpaste in [community].  I have never actually used it myself, but I have read that it can send redirects and pipes (I think) to pastebin, or some other service... I don't really know TBH.

Why have you printed the man pages?  You know you can read them from within the tty, and that by default you have 6 ttys?  Otherwise, you can use a terminal multiplexer like tmux or screen.  Yo dawg, I head you liked terminals... nevermind.

Sorry I meant the install guides, the network guides, and the guide to pacman, taken from the wiki. It's nicely formatted and I don't have to hit page up/down millions of times and smash my wrist up.

Offline

#11 2013-06-02 04:13:33

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Cannot login - system goes back to graphical login screen every time

There is also the arch-wiki-docs and arch-wiki-lite pacakges in the repos.  Though again, they are not something I have ever actually used.  I do apparently have the arch-wiki-lite package installed on my system, but I can't honestly say I have ever actually made use of it.

Offline

#12 2013-06-02 05:11:07

ill
Member
From: US
Registered: 2011-06-22
Posts: 115

Re: Cannot login - system goes back to graphical login screen every time

You can always use something like w3m or links to browse the wiki as well.

Offline

#13 2013-06-02 08:43:45

jeffmitch
Member
Registered: 2013-06-01
Posts: 6

Re: Cannot login - system goes back to graphical login screen every time

Back on topic: if the graphics driver is the problem then how come the graphical login screen displays itself perfectly? That's done in x isn't it, meaning it uses the gfx driver?

Offline

#14 2013-06-02 11:13:52

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: Cannot login - system goes back to graphical login screen every time

Do you have the correct keyboard layout for x?

Offline

Board footer

Powered by FluxBB