Welcome to the most active Linux Forum on the web.
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 05-25-2010, 09:49 AM   #1
LQ Newbie
Registered: May 2010
Posts: 3

Rep: Reputation: 0
Lost my startx - black screen with mouse cursor

Redhat Ent Linux ES Release 2 (Taroon 8)
Kernel 2.4.21-4.ELsmp

startx(1): initialize X session - Linux man page

I thought I'd look into methods of recovering from a lost
password for future use, how to change the passwd and shadow
should I need to. So I started an X session, vi'd my .swp
files then logged off.

Perhaps I changed one of these files accidentally, but my intent
was just to view them which I did.

After starting up my computer the next day and logging in I
began an X session - "startx". The session appears to have
started, but with a black screen and an active mouse cursor.

Where should I begin looking to repair this problem? I'd say a
.conf file is first on the list, but this is new to me. Any suggestions would be appreciated. Thanks.
Old 05-25-2010, 02:10 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
It's not quite clear from your description what exactly you're doing.
I'll assume that you didn't uninstall your window manager/desktop
environment, but rather just screwed up some config files (btw,
going to edit a .swp is ALWAYS a bad idea). Check the content of
~/.xsession and/or ~/.xinitrc, see whether they point at a valid
WM/DE and whether they are syntactically correct.
Old 05-26-2010, 10:28 AM   #3
LQ Newbie
Registered: May 2010
Posts: 3

Original Poster
Rep: Reputation: 0
If you use startx to start up X then you run your window manager from the .xinitrc fi

"If you use startx to start up X then you run your window manager from the .xinitrc file."

Thanks for your reply. I'd prefer to work out the bugs with a little help. I'm from the DOS world and new to Linux. Hope you a patient, but
I'll come up short most of the time wading through syntax and jargon.
>KDM (Logged in okay).

With little experience a GUI will help me a lot. Can you direct me through KDM to view files I cannot find (~/.xsession and/or ~/.xinitrc)?

ps..[Also, I noticed a "find" command in liunx doesn't seem to search multiple directories. OpenVMS for instance provides that capability].


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
black screen with only mouse cursor fafs Linux - Newbie 3 12-14-2009 10:31 AM
why startx works and X brings blank screen with mouse cursor wikopl Linux - Software 6 08-11-2007 06:53 PM
Black screen with blinking cursor mookini Linux - Newbie 4 09-25-2006 10:31 AM
Black screen and X cursor Brian8568 Linux - Software 3 07-27-2006 08:49 PM
Black screen with cursor on boot mharley Linux - Newbie 3 02-19-2005 07:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:26 PM.

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
Open Source Consulting | Domain Registration