Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to run X windows on CentOS with GNOME.
When I first enter startx i get the 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.
Then I removed the .X0-lock file
ran startx again and I got this message:
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running
Finally, I ran startx -- :1 and then it flashed a black screen with the X mouse cursor but a second later it just went right back to the desktop. I'm all out of ideas can someone please help me?
I tried running from tty 3 and 4
I am running at runlevel 5 so that's not the problem.
I had one instance of X running, I killed that process then I tried running startx again, the screen flashed to with the X cursor again and just went back to the desktop.
I even tried running startx -- :1 vt10
My log file just states the previous error messages from previous post.
Nothing seems to be working. Thanks for the help so far though.
I realized I had to set xhost to allow me access, so I ran xhost + I ran startx again I received this message:
Errors from xkbcomp are not fatal to the X server
sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file
localuser:myname being added to access control list
No profile for user 'myname' found
gnome-session: you're already running a session manager