LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-10-2011, 01:38 AM   #1
Emerald-Rose
Member
 
Registered: Jan 2011
Distribution: Arch linux, Ubuntu, Debian
Posts: 38
Blog Entries: 1

Rep: Reputation: 0
Arch GUI keeps causing arch to crash


I just did the pacman -Syu command today since i have had limited access to internet i could use with arch lately, (been tethering via droid which is only compatible in ubuntu) The command line works fine, i even reinstalled X to see if that was the problem,whenever i do startx it loads up for a second but before my xfce screen even pops up the screen blinks and blackens. anybody know what is wrong?
 
Old 01-10-2011, 07:45 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,411

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
Here's something you can try (I just tested it).

Arch includes TWM (Tom's Window Manager or, for younger folks, Tabbed Window Manager, though it's strictly not tabbed). If you have no other window manager installed, TWM is there.

Edit your xinitrc file to add this line if it's not already there:

Code:
exec twm
Remark out all the other window managers by putting an # at the beginning of the line, so that twm is the active choice, save the changes, and close the editor.

Issue startx.

X should start to a blank screen (TWM is very basic). Left-clicking the mouse (at least on my Arch in Virtual Box) brings up a menu; open an Xterm and see whether you can run a command from the command prompt in the terminal window.

This will tell you whether the problem is just with XFCE or is a larger problem.

I have had no problem running LXDE or Fluxbox in my virtual installation, but I'm still working on KDE and XFCE. I need to revisit the Arch wiki; no doubt I missed something.

In the meantime, you might take a look at Fluxbox. It has become my favorite GUI for Linux.

Last edited by frankbell; 01-10-2011 at 07:47 PM.
 
Old 01-11-2011, 02:00 PM   #3
pauline123
LQ Newbie
 
Registered: Oct 2010
Distribution: Arch Linux
Posts: 6

Rep: Reputation: 1
I know on my Arch Linux box that if Xorg crashes it gives me a screen telling what occurred. Frankbell is correct that you might want to try out twm (of course this assumes you did not remove it). If so it is an easy install.

Do you have video drivers that start up with xorg?
If so, do they need to start when you boot the computer now? It does happen that after some time xorg has started requiring the driver to be already running and if it is not already running it will misbehave.

Hope that this was helpful.
 
Old 01-11-2011, 07:22 PM   #4
Emerald-Rose
Member
 
Registered: Jan 2011
Distribution: Arch linux, Ubuntu, Debian
Posts: 38
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Well i have had arch for....god i wanna say about a year and a half now and this is the first time i have had any serious issues. Me and a guy i used to be friends with built my arch and it was such a lengthy process he basically only taught me how to manage the OS, so a lot of what i have figured out has been on my own. The reason i think XFCE is the problem is because i reinstalled X, but it was really late so i did not think to try reinstalling XFCE. IF push comes to shove and something has caused a problem within arch itself i have source mage, sorcerer, and lunar live disks as plan B, but i have gotten a tad off topic. I have not uninstalled anything under my arch....and that might be the problem, a thought literally just occured to me. i run an acer....and the thing sucks big time the hardware is bearable, but severely needs to be better. when we first built my arch(and i haven't had much of a chance to update it since installation) we installed 2 programs that i had forgotten about. One was Ice window manager and the other was compiz fusion. could these be the problem by any chance? And as for the error display...it acts like it is trying to and i see white text for a split second the all graphics die
 
Old 01-11-2011, 09:22 PM   #5
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,411

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
As far as I know, having other windows managers should have no bearing on your XFCE. If you are not using them, they should just lie there.

You might try running them to make sure they are okay.

If you reinstalled Arch, it could be that some of the libraries that XFCE uses got messed up or overwritten in the process--in my ignorance, that would be one thing I'd look into. I'm trusting you checked the Arch wiki on XFCE to make sure there were no steps missed in installing it.

I know the first time I tried to install KDE in my Arch virtual machine, I missed one of the steps and hosed the KDE so that it crashed back to the command line.

The TWM and Fluxbox continued to work fine.

As Pauline123 suggests, a window manager that crashes back to the command line normally leaves error messages. Maybe you could try taking a picture of the screen and consulting that so as to recall the error messages to help shoot the trouble.
 
Old 01-11-2011, 10:49 PM   #6
Emerald-Rose
Member
 
Registered: Jan 2011
Distribution: Arch linux, Ubuntu, Debian
Posts: 38
Blog Entries: 1

Original Poster
Rep: Reputation: 0
That's the problem, it isn't crashing back to the command line, it acts like it tries to generate an error message then it flickers and the entire screen goes blank, I cnt use the command line, there is no text, no grub, no nothing, all I get is a backlit black screen. A thought just occured, mid installation of packages the net cable came loose in the middle of installation of open office. It aborted upgrading and I ran the syy command since it popped up on iys own for some reason. I reran the syu, everything finished installing and then it all upgraded. So I dnt see of that could be the problem...but it might provide some insight that cn help identify the root of my problem

Last edited by Emerald-Rose; 01-11-2011 at 11:21 PM. Reason: left out details
 
Old 01-12-2011, 09:18 PM   #7
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,411

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
Quote:
Originally Posted by Emerald-Rose View Post
That's the problem, it isn't crashing back to the command line, it acts like it tries to generate an error message then it flickers and the entire screen goes blank, I cnt use the command line, there is no text, no grub, no nothing, all I get is a backlit black screen.
At this point, an X guru would probably boot to a live CD, such as Knoppix or Slax that's designed for system rescue, and start looking through the X.org configuration files to find the problem.

Not being a guru, I would boot to a live CD, back up all my valuable data from /home to removable media such as USB drives or optical discs (cdrecord can be run over the command line--I'd have to google the command string, but I have done it) or over my network, and reinstall (or install an distribution that's easier to install).

I wish I could help more, but I'm out of ideas.
 
Old 01-12-2011, 11:15 PM   #8
Emerald-Rose
Member
 
Registered: Jan 2011
Distribution: Arch linux, Ubuntu, Debian
Posts: 38
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Hmm a system recovery disk....now I feel dumb for not thinking of that. Thank you so much. You have been an immense help and I think this will help me fix it. I've grown rather fond of arch and really dnt wanna replace it until I find a good manual for w.e I replace it with. I will give the recovery a shot
 
  


Reply


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
Trying to install Arch with 2.6.30-ARCH kernel but uname -r keeps showing 2.6.28.7 PaulFXH Arch 0 08-20-2009 07:58 AM
How do I install GUI on Arch? arkaan Linux - Software 3 04-07-2007 09:32 PM
Arch user wanted to help padawan learner install arch and use it thomas-linuxing Linux - Software 9 10-18-2006 04:02 PM
ext3 crash on arch linux and repairing bschiett Linux - Newbie 2 01-10-2006 12:00 PM
GUI on Arch? linuxnoob223 Arch 2 10-22-2004 12:43 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration