LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-29-2003, 12:10 AM   #1
lpriyamb
Member
 
Registered: Feb 2003
Posts: 65

Rep: Reputation: 15
startx is not working


hello,

startx in RH8.0 is not working. When i reboot, the first time it doesn't display anything but for the second time it works. Now, when i say startx, it displays only the mouse pointer as 'x' and nothing comes after that. when i quit the startx by 'ctrl+alt+backspace" it displays the following in the screen.
************************
XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-72) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-11smp i686 [ELF]
Build Host: daffy.perf.redhat.com

Module Loader present
OS Kernel: Linux version 2.4.18-14 (bhcompile@stripples.devel.redhat.com) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep 4 13:35:50 EDT 2002
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Mon Sep 29 09:46:17 2003
(==) Using config file: "/etc/X11/XF86Config"
SESSION_MANAGER=local/Anga:/tmp/.ICE-unix/14195
xinit: connection to X server lost.
****************************

where is the error? can anyone please help me to solve this?
 
Old 09-29-2003, 04:14 AM   #2
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 30
If you get a "mouse pointer as 'x'" ant nothing after that means, you have a running xserver, but no window/login manager is loaded.

I dont really understand what you mean by "but for the second time it works"... Does your computer start a login manager then? If this is so, you should run the appropriate script from the console (and not startx) that will also fire up a login manager.

The other solution (a dirty hack) is if you edit your startx file and load your window manager from there. This is not always a good idea, for it might break other stuff (i dont know how RH works, so I also dont know wether this is a real danger or not).

Give it a try, and see what it does.

G
 
Old 09-29-2003, 04:42 AM   #3
fruibat_2000
Member
 
Registered: Aug 2003
Location: scotland
Distribution: Mandrake 9.2
Posts: 78

Rep: Reputation: 15
try typing "kdm" at the command prompt, this will load up the login manager.

hope this helps :-)
 
Old 09-29-2003, 05:21 AM   #4
lpriyamb
Member
 
Registered: Feb 2003
Posts: 65

Original Poster
Rep: Reputation: 15
yes, kdm works. thanks. but whether it'll be running always? that is, when i typed kdm in the command prompt it started the xserver and if i log out then it should come back to the command prompt right? it's not... i displays the graphical login. i couldn't come out from the xserver, why?
 
Old 09-29-2003, 06:34 AM   #5
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
You can use "startx" from the command line to start your X session, or start an login manager (such as xdm, kdm, gdm)

You can also change your boot configuration (usually just the runlevel) to boot to the graphical login directly. ...but you shouldn't do this until your X is fully configured.
 
Old 09-29-2003, 07:03 AM   #6
bmahesh
Member
 
Registered: Sep 2003
Location: Bangalore
Distribution: RedHat , Debian
Posts: 42

Rep: Reputation: 15
just try
ctrl + Alt + F1

Regards
Mahesh
 
  


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
startx not working Kaamoss Slackware 7 09-21-2005 04:25 PM
startx not working kapslock Linux - General 1 07-14-2004 04:55 PM
startx not working praveen_2003 Linux - Hardware 1 04-11-2003 03:51 AM
startx not working travid Linux - Newbie 6 10-08-2001 11:51 PM
startx - not working why??? dinadog Linux - Software 4 08-20-2001 11:02 PM


All times are GMT -5. The time now is 12:30 AM.

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