LinuxQuestions.org
Visit Jeremy's Blog.
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-2005, 05:36 AM   #1
aviel
LQ Newbie
 
Registered: Aug 2003
Location: Israel
Distribution: Fedora Core 6
Posts: 19

Rep: Reputation: 0
login failure.


Hi there,

Got a serious and strange problem, not sure why:
When I reboot the machine (laptop, HP nx9000, FC3), everything goes fine, and I get the login screen.
When I type in user name and password, “nothing happens” for a long while (3 minutes), and then I'm back to the login screen. This behavior is the same for Gnome and KDE. I CAN get the failsafe console.
Looking for anything suspicious in /var/log/messages and /var/log/Xorg.0 – I see nothing. Update the system (yum update) and rebooting into the newest kernel also didn't help.

Any help? I can't use the computer now!

Any clue where kde keeps it error message? Or any other checks I can do?

Many thanks,
Yuval
 
Old 01-10-2005, 05:53 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
First off, I would switch to console mode. As root, type:
Code:
telinit 3
This will get you to a text console that you can log in on as a regular user. Then type
Code:
startx &> startx.log
This will try to start up a window session, as if you had logged in in the GUI. After it fails, you can then use
Code:
less startx.log
to view the contents of the logfile.

When you fix the problem, you can use
Code:
telinit 5
to switch back to runlevel 5.
 
Old 01-11-2005, 01:35 AM   #3
aviel
LQ Newbie
 
Registered: Aug 2003
Location: Israel
Distribution: Fedora Core 6
Posts: 19

Original Poster
Rep: Reputation: 0
found the problem

I also found the problem:
Since the DISPLAY variable is not fully set (it shows ":0" only), I entered in /etc/profile the line:
Code:
export DISPLAY=lcnpc.epfl.ch:0.0
For reason unclear to me - this confused the KDE.
Here is a log file:
Code:
lcnpc:~ # startkde &> startkde.log
lcnpc:~ # cat startkde.log
xsetroot:  unable to open display 'lcnpc.epfl.ch:0.0'
xset:  unable to open display "lcnpc.epfl.ch:0.0"
xset:  unable to open display "lcnpc.epfl.ch:0.0"
xsetroot:  unable to open display 'lcnpc.epfl.ch:0.0'
startkde: Starting up...
ksplash: cannot connect to X server lcnpc.epfl.ch:0.0
kded: cannot connect to X server lcnpc.epfl.ch:0.0
DCOP aborting call from 'anonymous-3674' to 'kded'
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
kcminit: cannot connect to X server lcnpc.epfl.ch:0.0
knotify: cannot connect to X server lcnpc.epfl.ch:0.0
DCOP aborting call from 'anonymous-3677' to 'knotify'
ksmserver: cannot connect to X server lcnpc.epfl.ch:0.0
startkde: Shutting down...
klauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.
lcnpc:~ #
Currently, when I ssh, the remote computer cannot open the X display since the DISPLAY variable is not set properly.
Any idea what should I do in order to set the DISPLAY variable properly? (Without trashing the computer )
 
Old 01-11-2005, 03:15 AM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
You could try DISPLAY=:0.0 or DISPLAY=127.0.0.1:0.0.

I'm guessing the first one, because then it can figure out the host to use for itself.
 
  


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
login failure daveb928 Linux - Newbie 8 08-05-2005 03:34 AM
Login Failure n_hendrick Linux - General 0 10-22-2004 05:43 AM
first login failure RIB Linux - Newbie 1 12-01-2003 09:08 AM
Slackware login failure nutz Linux - Software 3 11-25-2003 03:18 PM
login failure FuLL-On-Newbie Linux - Security 1 04-06-2003 11:00 AM

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

All times are GMT -5. The time now is 05:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration