New User has X Server Running on Display 0 already
After adding a user, and working with that user for some time now, I now try to log in as that user and I get a 'init 5' formated message:
"There already appears to be an X sever running on display :0. Should I try another display number? if you answer no, I will attempt to start the server on :0 again. (You can change consoles by pressing Ctrl-Alt plus a function key, such as Ctrl-Alt-F7 to go to console 7. X servers usually run on consoles 7 and higher.) <Yes> <No>" It does not respond with an Ctrl-Alt function key, but I can use the arrows to choose 'Yes' and 'No'. with either choice, I can't get past this point with this user now. I can login as root though. It appears that I need to redefine what display number is being used when login in as this user. Is there a way to adjust this? Any help would be wonderful! Thanks -Tim |
Try booting into command line (init 3)rather than a display manager (init 5) and starting the gui with the command startx after logging in as that user.
Edit /etc/inittab and and change the default to the number that corresponds toFull multiuser mode. Here is the pertinent portion of my file: Code:
# Default runlevel. The runlevels used by RHS are: |
Here's where my newbieness really shows!
I'm not sure how to boot into command line vs the standard login screen. |
use kwrite or nano whatever you like go to /etc/inittab and
#Default Runlevel id:5:initdefault change the 5 to 3 and save |
You haven't mentioned your distribution, so I don't know what editors you have at hand.
Open an x terminal and become root, launch your editor from that, open /etc/inittab, change default, and save, then close the x terminal. Code:
Sat Jul 31 08:06 PM fancy@uilleann ~ $ su - init 3 |
Made that adjustment to the inittab file. I then attemped to log in as that user and it wont let me passed the password prompt. Although it doesn't give me an error after typing in the password, it acts as though the authentication has failed. Wierdness.
I wanted to see if this is the case with any additional user on this box, so I've just added a new user and then tryed to log with that. This X Server/Display 0 problem is acutally happening on all user accounts other than Root. And adjusting the inittab setting to multiusermode doesn't seem to make a difference. |
Oh yea, I'm using FC1
|
Did you reboot?
|
i did.
noticed something though in the startup while in init 3. There is an error in the /etc/security/console.perms stating it's having trouble with the class <v41> can someone send me what the permission definitions are supposed to look like, if not the whole file. |
<console> 0600 <v4l> 0600 root
Here is my file: Code:
# /etc/security/console.perms |
By retyping in these two lines:
<v4l>=/dev/video* /dev/radio* /dev/winradio* /dev/vtx* /dev/vbi* \ /dev/video/* AND <console> 0600 <v4l> 0600 root Everything is now working. Thanks you your help. |
same problem: X server running on display 0 already
I had the same problem after upgrading from Fedora Core 1 to Fedora Core 2. I changed the run level from 5 to 3 and now when I login, I can't type anything. I'm prompted with a login:, but I'm stuck there. I'm also having the following issue, but since I can't type - I can't fix it:
http://www.linuxquestions.org/questions/history/188684 Thanks, Matt |
Re: same problem: X server running on display 0 already
Quote:
|
I entered the question using my PowerBook.
|
Not using your keyboard at all? I am still very confused.
Can you get this far? Code:
Fedora Core release 1 (Yarrow) |
If so, what happens if you type this:
nano /etc/security/console.perms |
Back where I started from
OK, I'm back to a working keyboard - after using my rescue cd to change the value back from 3 to 5. I'll try to revert back to 3 and see what happens. Any idea why changing it to 3 could cause my keyboard not to function? By "not functioning", I mean I get prompted with a login, but nothing happens when I type.
|
Linux users are as dumb as computers are, they need to be told exactly what you did and the exact result of you doing it. We are very poor at intepreting "I can't type" at any other meaning than "I don't know how to press the keys on the keyboard." :p
How to get good answers with your questions about Linux You aren't using some oddball keyboard or one with some broken connections then? Nothins shows up when you type? If so, I would edit your needed files from the rescue environment, then, since the keyboard works from that. |
All times are GMT -5. The time now is 02:06 PM. |