LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-17-2011, 06:53 PM   #1
MFserver
LQ Newbie
 
Registered: Jun 2010
Location: Sweden
Distribution: Debian, Ubuntu, Arch Linux
Posts: 8

Rep: Reputation: 0
LXDM just restart when I login (Arch Linux)


When I boot into my Arch machine, LXDM starts just as it is supposed to. When I try to log in to any user account, the login form, restart buttons and such of LXDM disappears, but the wallpaper stays. Nothing more happens for a second, and then the forms and buttons come back. The wallpaper does not flicker or anything. So, I cannot log into my user accounts. I don't really know what's wrong, so if anybody has any clue...?

I recently updated my Arch installation from kernel 2.6.39 to 3.0.3 using pacman, might that have caused this problem? I am running openbox as my window manager, but have XFCE and FVWM-crystal installed as well. I cannot login to any of them, though. When trying to start openbox in single-user mode, I get an error saying "Could not open a display in environment variable DISPLAY". Starting lxdm in single-user mode gives same result as otherwise, unable to log in. I googled, but no solution came up. Anybody know what to do?
 
Old 08-19-2011, 03:37 PM   #2
MFserver
LQ Newbie
 
Registered: Jun 2010
Location: Sweden
Distribution: Debian, Ubuntu, Arch Linux
Posts: 8

Original Poster
Rep: Reputation: 0
I think I have located which application is causing the problem. I reinstalled Arch on the same system but a different HDD, and got openbox working together with lxdm display manager. I installed tint2 and Conky, and had them load at startup using ~/.config/openbox/autostart.sh. I logged out, but Conky appeared at the lxdm login screen, and lxdm failed to log in next time I tried.

I have been trying to fix this using the single.user mode for a while now. X starts when I run startx and get into the default twm environment. If I use startx to start openbox, it does not load my config files properly, and therefore starts with standard menu and theme. If I start openbox or openbox-session from terminal, I get the following error:

Code:
Original (swedish):
Openbox-Message: Kunde inte öppna en display från miljövariabeln DISPLAY.
English:
Openbox-Message: Could not open display from DISPLAY environment variable.
I have been googling for a couple of hours, but without finding anything useful. I have read some suggestions that I should write a custom xorg.conf, but I have absolutely no idea what to put in it to get openbox running.
 
  


Reply



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
Remote Login to Restart CUPS Stranges Linux - Security 1 11-09-2010 10:24 AM
Shutdown/restart alert at ssh login? smaddox Linux - Server 2 10-12-2009 12:46 AM
keyboard delay on login in arch and zenwalk jrecortel Linux - Newbie 0 04-16-2009 02:30 AM
cant't login to new Arch 7.0 install ltranman Linux - Newbie 1 08-23-2005 01:40 PM
cant login to arch forum lestoil Arch 2 08-17-2005 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:52 PM.

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