LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   startx server error (https://www.linuxquestions.org/questions/linux-newbie-8/startx-server-error-542780/)

Seeds 04-02-2007 07:15 PM

startx server error
 
startx gives me this message


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

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
xinit: unable to connect to X server
xinit: No such process (errorno 3): Server error.


If I try the command
rm /tmp/.X0-lock I get this


rm: remove write-protected regular file '/tmp/.X0-lock'?


I return y and it comes up with this



rm: cannot remove '/tmp/.X0-lock': Operation not permitted


I also any xrdb commands give me this message


xrdb: Can't open display''



I am attempting to use Fedora Core 6 by the way. Any help with getting X open so I can start using cake instead of vi would be greatly appreciated. Thanx in advance.

kcorupe 04-02-2007 07:44 PM

are you trying to delete it as root?

Seeds 04-03-2007 12:53 AM

I believe so, I log in, try to start X and get that message, I never change directories. This is a personal machine, so I am the admin on it. I am pretty new to unix OS's, the only experience I have ever had with it was in school years and years ago designing simple little programs and compiling them, so it is very possible I am just doing something really dumb. I dont have alot of time to learn what I am doing wrong, I am working on this for work and I have deadlines for stuff... the little time I have to sit down and learn the os is being eaten up by trying to write and debug code using vi.

kcorupe 04-03-2007 02:28 PM

Quote:

Originally Posted by Seeds
I believe so, I log in, try to start X and get that message, I never change directories. This is a personal machine, so I am the admin on it. I am pretty new to unix OS's, the only experience I have ever had with it was in school years and years ago designing simple little programs and compiling them, so it is very possible I am just doing something really dumb. I dont have alot of time to learn what I am doing wrong, I am working on this for work and I have deadlines for stuff... the little time I have to sit down and learn the os is being eaten up by trying to write and debug code using vi.


well are you logged in as a user or as root? root might be the only one who can delete the file, try that.


And have you run Xorg -configure yet?

fc6, is pretty good at telling what video card you have on its own. What card do you have?

Seeds 04-04-2007 06:03 AM

Xorg - configure doesnt work
The video is the onboard on a P4M80-M4 ASUS and it picked it up when I installed.

This the only account that was ever identified in setup, and there has never been an account added, so I am 99% certain this is the root account, but just in case I will check the credintials... if I can figure out how, if and when I get a free moment today and let you know for sure.

I am begining to wonder if BASH is just screwed up somehow or another, the 5 people under me... that also are having to learn this as they go along are not have any problems, and we installed this stuff collectively when we started the project on identical machines. We all just took them home after a succesful login though... seeing as that is where we for the most part work from, stupid mistake.
The only problem is that I can not reinstale the OS, it asks to check integrity of the volume and all sorts of garbage related to that... that is not the exact message!!! regardless it does not mention formating or debugging/low leveling, do I need to dig up a debug/low level program from somewhere to reinstale Fedora? If I do, where can I find a good free one? I havent delt with one of those in the better part of a decade.

When I get back to the home office I will give you the exact errors that Xorg -configure gives. I will ask the guys if they did an Xorg configure as well... and if they did what they did to get into it.

By the way, I really really really appreciate you taking the time to help me.

kcorupe 04-04-2007 01:50 PM

Quote:

Originally Posted by Seeds
Xorg - configure doesnt work
The video is the onboard on a P4M80-M4 ASUS and it picked it up when I installed.

This the only account that was ever identified in setup, and there has never been an account added, so I am 99% certain this is the root account, but just in case I will check the credintials... if I can figure out how, if and when I get a free moment today and let you know for sure.

I am begining to wonder if BASH is just screwed up somehow or another, the 5 people under me... that also are having to learn this as they go along are not have any problems, and we installed this stuff collectively when we started the project on identical machines. We all just took them home after a succesful login though... seeing as that is where we for the most part work from, stupid mistake.
The only problem is that I can not reinstale the OS, it asks to check integrity of the volume and all sorts of garbage related to that... that is not the exact message!!! regardless it does not mention formating or debugging/low leveling, do I need to dig up a debug/low level program from somewhere to reinstale Fedora? If I do, where can I find a good free one? I havent delt with one of those in the better part of a decade.

When I get back to the home office I will give you the exact errors that Xorg -configure gives. I will ask the guys if they did an Xorg configure as well... and if they did what they did to get into it.

By the way, I really really really appreciate you taking the time to help me.

type

Code:

whoami
to tell you if your root. or you could type id (and if its id(0) gid(0) ur root.)


Did you select to install a desktop environment when you were installing? Because if your other co-workers have it up and running (by default?) then you might not have not installed it correctly. you can try installing something like gnome or kde via yum. Which will in turn install xorg and the other things you need to get xwindows working correctly.

this should help with using yum [HTML]http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/Using_yum_to_update_and_install_applications
[/HTML]

I would suggest you do a reinstall, I'm not sure what you exactly mean by the formatting problems, when your adding your disk partitions, it will ask you if you want to format them. And then it will ask you what packages you want to install (editor, network utils, etc) but also make sure you select a desktop.


All times are GMT -5. The time now is 04:59 PM.