LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 10-15-2004, 10:52 PM   #1
Tinku
Member
 
Registered: Jul 2004
Location: INDIA
Distribution: SusE, Gentoo,Debian,FreeBSD
Posts: 197

Rep: Reputation: 30
GUI mode login problem


I have 2 users on my comp..suddently I couldnt login into the GUI mode of one of the users ,say xxx. I tried all ways but i couldnt get it started.when i login,,the screen goes blank and i get back the login screen again,i need to get into that gui mode asap.presently i am writing from the 2nd user,the gui of which is working without any problem

any help is appreciated

tinku
 
Old 10-16-2004, 12:57 AM   #2
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
Ok... I can see that you are no newbie on this forum, although I can't say I fully understand your post.

I have a little time... and insomia... so I'll try to help you. First of all (and most importantly) you should read this particular article and try to aply it in your further posts:

[1: Google Cache] http://216.239.41.104/search?q=cache...uestions&hl=en

I don't know what happend to the original (catb.org) but I think there was a copy going arround in tuxedo.org. (or google should get updated)

Anyway. try to answer these few questions and I'll see if I can help you:

1. What distro are you using?
2. Are you using KDE, GNOME, IceWM, or what WindowsManager?
3. Are you running last version of XFree86? and of you WM?
4. What is the last thing you did before realizing of this problem? Did you install any program, did you make any changes in the configuration of your WM, XF86, etc. Can you login with that user un command line mode? can you su to that user?
5. Have you tried resetting the user password? perhaps it expired. Have you checked /etc/passwd for any unusual flags in that username? Have you checked /home/<username>/.bashrc or the profile?

Try to answer that and from there we shall start to investigate what the problem is.

by the way... do you have root access?
 
Old 10-16-2004, 01:25 AM   #3
Tinku
Member
 
Registered: Jul 2004
Location: INDIA
Distribution: SusE, Gentoo,Debian,FreeBSD
Posts: 197

Original Poster
Rep: Reputation: 30

Well,I already have the distro I use in my profile on the left side.Any how its Suse 9.1 prof.I am using KDE 3.2.
Yeah I am running the latest of XFree86.I tried changing the user password but that didnt help.Yeah,I do have root access.I also tried removing the .X0-lock as the following file says


Code:
FILE :-/HOME/XXX/X.err


Fatal server error:
Server is already active for display 0
	If this server is no longer running, remove /tmp/.X0-lock
	and start again.


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to http://www.suse.de/feedback.

The following is my .bashrc file.

Code:
# Sample .bashrc for SuSE Linux
# Copyright (c) SuSE GmbH Nuernberg

# There are 3 different types of shells in bash: the login shell, normal shell
# and interactive shell. Login shells read ~/.profile and interactive shells
# read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all
# settings made here will also take effect in a login shell.
#
# NOTE: It is recommended to make language settings in ~/.profile rather than
# here, since multilingual X sessions would not work properly if LANG is over-
# ridden in every subshell.

# This might be helpful for Linux newbies who previously used DOS...
test -f /etc/profile.dos && . /etc/profile.dos

# Some applications read the EDITOR variable to determine your favourite text
# editor. So uncomment the line below and enter the editor of your choice :-)
#export EDITOR=/usr/bin/vim
#export EDITOR=/usr/bin/mcedit

# For some news readers it makes sense to specify the NEWSSERVER variable here
#export NEWSSERVER=your.news.server

# If you want to use a Palm device with Linux, uncomment the two lines below.
# For some (older) Palm Pilots, you might need to set a lower baud rate
# e.g. 57600 or 38400; lowest is 9600 (very slow!)
#
#export PILOTPORT=/dev/pilot
#export PILOTRATE=115200

test -s ~/.alias && . ~/.alias
And before this incident happed,I installed yahoo messenger and jap softwares

Hope you can help me out

tia
tinku
 
Old 10-16-2004, 01:55 AM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
It says the X server is already running on display 0. Do a
ctrl+alt+f7
to see if one is running. If not
ps aux
then kill anything that is x related. If you don't know, post output of above command.
 
Old 10-16-2004, 10:13 AM   #5
Tinku
Member
 
Registered: Jul 2004
Location: INDIA
Distribution: SusE, Gentoo,Debian,FreeBSD
Posts: 197

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by darthtux
It says the X server is already running on display 0. Do a
ctrl+alt+f7
to see if one is running. If not
ps aux
then kill anything that is x related. If you don't know, post output of above command.
nope ,ps aux doesnt show any X server entry.So,no question of stopping it.........


And WORSE, when I looged out of the second user,even its gui stopped working........

Now i am working in the gui of root.....and I fear,if I logout,even this stops working




plz help


The following is what i get when i press startx in the init 3 mode of an ordinary user

Code:

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.3.99.902 (4.4.0 RC 2)
Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: SuSE Linux [ELF] SuSE
Current Operating System: Linux XXX 2.6.5-7.95-default #1 Thu Jul 1 15:23:45 UTC 2004 i686
Build Date: 23 August 2004
Changelog Date: 29 February 2004
	Before reporting problems, check http://www.XFree86.Org/
	to make sure that you have the latest version.
Module Loader present
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: Sat Oct 16 12:39:28 2004
(==) Using config file: "/etc/X11/XF86Config"
Symbol drmRmMap from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved!
Symbol drmAgpUnbind from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved!
Symbol drmAgpUnbind from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved!
Symbol drmRmMap from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved!
Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts, removing from list!

waiting for X server to shut down
 
Old 10-16-2004, 12:24 PM   #6
Tinku
Member
 
Registered: Jul 2004
Location: INDIA
Distribution: SusE, Gentoo,Debian,FreeBSD
Posts: 197

Original Poster
Rep: Reputation: 30
hey
i got it

i just removed all X entries and restarted and now everything is freshly created

thnx guys for ur help
 
Old 10-16-2004, 01:31 PM   #7
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
I'm glad you solved the problem. Congrats
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gui login failed despite users created. but Text mode + root + startx works OK Emmanuel_uk VectorLinux 2 11-21-2005 03:41 PM
Convert video mode from 32 to 24 using text login in CMD (no gui) ? HELP !!! jalalmn Linux - General 6 03-19-2005 05:06 AM
Login Screen switching to GUI mode... manudath Linux - General 1 03-05-2005 03:17 AM
cannot login to gui mode.. aaru_ali Linux - Newbie 3 11-08-2004 08:23 AM
No longer able to login in GUI mode marvc Linux - Newbie 4 08-22-2002 06:06 PM


All times are GMT -5. The time now is 11:15 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
Open Source Consulting | Domain Registration