after click ctrl+alt+f7 key ... go back to linux grahpic screen
go to tty1
localhost login:root
password:....
lastlogin: ............... on tty1
[root@localhost root]# rm -rf /tmp/.X0-lock
[root@localhost root]# startx
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to
xfree86@xfree86.org.
[root@localhost root]# ps ax|grep x
530 ? S 0:00 klogd -x
677 ? S 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid 799 ? S 0:08 [xfs]
10601 ? S 0:00 /bin/bash /etc/X11/xdm/Xsession
10639 ? S 0:00 /usr/bin/ssh-agent /etc/X11/xinit/Xclients
10650 ? S 0:00 /usr/libexec/gconfd-2 11
10652 ? S 0:00 /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=16
10851 pts/0 R 0:00 ps ax
10852 pts/0 S 0:00 grep x