Jason Yu
asked on
centOS 7 GUI is now showing.
I tried to run the gui from vmware console. but it didn't show up. Then I tried to run the "startx" command as following;
it got stucked in the last line, any help.
[root@jboss-testvm ~]# startx
xauth: file /root/.serverauth.3588 does not exist
X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: 2.6.32-220.17.1.el6.x86_64
Current Operating System: Linux jboss-testvm.na.kfy.com 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0 -229.el7.x 86_64 root=/dev/mapper/vg--02-ro ot ro rd.lvm.lv=vg-02/swap rd.lvm.lv=vg-02/root rhgb quiet LANG=en_US.UTF-8
Build Date: 06 March 2015 06:10:58AM
Build ID: xorg-x11-server 1.15.0-32.el7
Current version of pixman: 0.32.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
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/Xorg.1.log", Time: Fri Feb 19 13:59:00 2016
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf. d"
setversion 1.4 failed: Permission denied
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
setversion 1.4 failed: Permission denied
gnome-session-is-accelerat ed: llvmpipe detected.
it got stucked in the last line, any help.
[root@jboss-testvm ~]# startx
xauth: file /root/.serverauth.3588 does not exist
X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: 2.6.32-220.17.1.el6.x86_64
Current Operating System: Linux jboss-testvm.na.kfy.com 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0
Build Date: 06 March 2015 06:10:58AM
Build ID: xorg-x11-server 1.15.0-32.el7
Current version of pixman: 0.32.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
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/Xorg.1.log", Time: Fri Feb 19 13:59:00 2016
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.
setversion 1.4 failed: Permission denied
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
setversion 1.4 failed: Permission denied
gnome-session-is-accelerat
ASKER
i don't have /etc/X11/xorg.conf, only the following files;
[root@jboss-testvm X11]# ls -alth
total 40K
drwxr-xr-x. 148 root root 12K Feb 19 14:28 ..
drwxr-xr-x. 5 root root 4.0K Feb 19 13:15 xinit
drwxr-xr-x. 2 root root 4.0K Feb 16 10:55 xorg.conf.d
drwxr-xr-x. 2 root root 4.0K Oct 8 14:17 fontpath.d
drwxr-xr-x. 6 root root 4.0K Oct 8 14:13 .
-rw-r--r--. 1 root root 547 Mar 5 2015 Xmodmap
-rw-r--r--. 1 root root 493 Mar 5 2015 Xresources
drwxr-xr-x. 2 root root 4.0K Jun 9 2014 applnk
[root@jboss-testvm X11]#
[root@jboss-testvm X11]# ls -alth
total 40K
drwxr-xr-x. 148 root root 12K Feb 19 14:28 ..
drwxr-xr-x. 5 root root 4.0K Feb 19 13:15 xinit
drwxr-xr-x. 2 root root 4.0K Feb 16 10:55 xorg.conf.d
drwxr-xr-x. 2 root root 4.0K Oct 8 14:17 fontpath.d
drwxr-xr-x. 6 root root 4.0K Oct 8 14:13 .
-rw-r--r--. 1 root root 547 Mar 5 2015 Xmodmap
-rw-r--r--. 1 root root 493 Mar 5 2015 Xresources
drwxr-xr-x. 2 root root 4.0K Jun 9 2014 applnk
[root@jboss-testvm X11]#
ASKER
[root@jboss-testvm X11]# yum grouplist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: mirror.san.fastserv.com
* updates: centos-distro.cavecreek.ne t
Installed environment groups:
GNOME Desktop
Available environment groups:
Minimal Install
Compute Node
Infrastructure Server
File and Print Server
Basic Web Server
Virtualization Host
Server with GUI
KDE Plasma Workspaces
Development and Creative Workstation
Available Groups:
Compatibility Libraries
Console Internet Tools
Development Tools
Graphical Administration Tools
Legacy UNIX Compatibility
Scientific Support
Security Tools
Smart Card Support
System Administration Tools
System Management
Done
[root@jboss-testvm X11]#
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: mirror.san.fastserv.com
* updates: centos-distro.cavecreek.ne
Installed environment groups:
GNOME Desktop
Available environment groups:
Minimal Install
Compute Node
Infrastructure Server
File and Print Server
Basic Web Server
Virtualization Host
Server with GUI
KDE Plasma Workspaces
Development and Creative Workstation
Available Groups:
Compatibility Libraries
Console Internet Tools
Development Tools
Graphical Administration Tools
Legacy UNIX Compatibility
Scientific Support
Security Tools
Smart Card Support
System Administration Tools
System Management
Done
[root@jboss-testvm X11]#
ASKER
[root@jboss-testvm X11]# yum groupinstall "X Window System" "Graphical Administration Tools" "General Purpose Desktop"
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: mirror.san.fastserv.com
* updates: centos-distro.cavecreek.ne t
Warning: Group graphical-admin-tools does not have any packages to install.
Group graphical-admin-tools does have 2 conditional packages, which may get installed.
Warning: group General Purpose Desktop does not exist.
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
[root@jboss-testvm X11]#
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: mirror.san.fastserv.com
* updates: centos-distro.cavecreek.ne
Warning: Group graphical-admin-tools does not have any packages to install.
Group graphical-admin-tools does have 2 conditional packages, which may get installed.
Warning: group General Purpose Desktop does not exist.
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
[root@jboss-testvm X11]#
do you have a non-root user?
useradd -c "Jason yu" -s /bin/bash -d /home/jasonyu -m -k /etc/skell -g users jasonyu
passwd jasonyu to set the account password.
try logging in as that and see if you get the same message.
At times you had to run startx twice. once it went through and setup things, the next everything is in place and it worked.
also try
yum groupinstall "Server with GUI"
useradd -c "Jason yu" -s /bin/bash -d /home/jasonyu -m -k /etc/skell -g users jasonyu
passwd jasonyu to set the account password.
try logging in as that and see if you get the same message.
At times you had to run startx twice. once it went through and setup things, the next everything is in place and it worked.
also try
yum groupinstall "Server with GUI"
ASKER
Yes, I have another non-root user called "jasony" Here is the result I ran "startx" command;
[jasony@jboss-testvm ~]$ startx
xauth: file /home/jasony/.serverauth.5 435 does not exist
xauth: file /home/jasony/.Xauthority does not exist
xauth: file /home/jasony/.Xauthority does not exist
(EE)
Fatal server error:
(EE) PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
[jasony@jboss-testvm ~]$
[jasony@jboss-testvm ~]$ startx
xauth: file /home/jasony/.serverauth.5
xauth: file /home/jasony/.Xauthority does not exist
xauth: file /home/jasony/.Xauthority does not exist
(EE)
Fatal server error:
(EE) PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
[jasony@jboss-testvm ~]$
ASKER
[root@jboss-testvm ~]# yum groupinstall "Server with GUI"
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: mirror.san.fastserv.com
* updates: centos-distro.cavecreek.ne t
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
[root@jboss-testvm ~]#
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: mirror.san.fastserv.com
* updates: centos-distro.cavecreek.ne
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
[root@jboss-testvm ~]#
look at Xorg --config...
ASKER
what is more interesting is the logon screen is not showed on the vmware console either. Please take a look at the copy screen file.
thanks.
thanks.
ASKER
[root@jboss-testvm ~]# Xorg -version
X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: 2.6.32-220.17.1.el6.x86_64
Current Operating System: Linux jboss-testvm.na.kfy.com 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0 -229.el7.x 86_64 root=/dev/mapper/vg--02-ro ot ro rd.lvm.lv=vg-02/swap rd.lvm.lv=vg-02/root rhgb quiet LANG=en_US.UTF-8
Build Date: 06 March 2015 06:10:58AM
Build ID: xorg-x11-server 1.15.0-32.el7
Current version of pixman: 0.32.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[root@jboss-testvm ~]# Xorg -configure
(EE)
Fatal server error:
(EE) Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
[root@jboss-testvm ~]#
X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: 2.6.32-220.17.1.el6.x86_64
Current Operating System: Linux jboss-testvm.na.kfy.com 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0
Build Date: 06 March 2015 06:10:58AM
Build ID: xorg-x11-server 1.15.0-32.el7
Current version of pixman: 0.32.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[root@jboss-testvm ~]# Xorg -configure
(EE)
Fatal server error:
(EE) Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
[root@jboss-testvm ~]#
ASKER
why is says "server is already active for display 0" ?
[root@jboss-testvm ~]# Xorg -configure
(EE)
Fatal server error:
(EE) Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
[root@jboss-testvm ~]#
[root@jboss-testvm ~]# Xorg -configure
(EE)
Fatal server error:
(EE) Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
[root@jboss-testvm ~]#
ps -ef | egrep "(X|startx|xorg)"
did you have a graphical login and you selected console/failsave versus gnome desktop ?
what about creating a non-admin user and login in as .....
startx &
...
did you have a graphical login and you selected console/failsave versus gnome desktop ?
what about creating a non-admin user and login in as .....
startx &
...
ASKER
[root@jboss-testvm ~]# ps -ef | egrep "(X|startx|xorg)"
opscode 709 669 0 14:27 ? 00:00:11 java -Xmx1024M -Xms1024M -XX:NewSize=64M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Xloggc:/var/log/opscode/o pscode-sol r4/gclog.l og -verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+PrintGCApplicationSto ppedTime -XX:+PrintGCApplicationCon currentTim e -XX:+PrintTenuringDistribu tion -Dsolr.data.dir=/var/opt/o pscode/ops code-solr4 /data -Dsolr.solr.home=/var/opt/ opscode/op scode-solr 4/home -Djava.io.tmpdir=/var/opt/ opscode/op scode-solr 4/ -server -jar /opt/opscode/embedded/serv ice/opscod e-solr4/je tty/start. jar
root 835 1 0 14:27 ? 00:00:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
root 1712 1686 0 14:28 tty1 00:00:00 /usr/bin/Xorg :0 -background none -verbose -auth /run/gdm/auth-for-gdm-vgAU kM/databas e -seat seat0 -nolisten tcp vt1
root 7251 5491 0 15:25 pts/0 00:00:00 grep -E --color=auto (X|startx|xorg)
[root@jboss-testvm ~]#
opscode 709 669 0 14:27 ? 00:00:11 java -Xmx1024M -Xms1024M -XX:NewSize=64M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Xloggc:/var/log/opscode/o
root 835 1 0 14:27 ? 00:00:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD
root 1712 1686 0 14:28 tty1 00:00:00 /usr/bin/Xorg :0 -background none -verbose -auth /run/gdm/auth-for-gdm-vgAU
root 7251 5491 0 15:25 pts/0 00:00:00 grep -E --color=auto (X|startx|xorg)
[root@jboss-testvm ~]#
ASKER
The problem is I even couldn't see the login screen from vmware console. is this video card problem?
This is a vm with centos 7 installed on a vmware host.
This is a vm with centos 7 installed on a vmware host.
What resolution do you set within the VMware player when accessing the VM?
See whether you can pan left/right too/bottom to locate the login prompt.
1024/768 might do .
See whether you can pan left/right too/bottom to locate the login prompt.
1024/768 might do .
ASKER
I tried it just now and it didn't work.
I made a copy screen of the initial screen, it shows the following:
dm-1: WRITE SAME failed. Manually zeroing.
But after it showed this error message, it showed a black screen, the server still works. I can SSH onto this server.
dm-q-write-same-failed.png
I made a copy screen of the initial screen, it shows the following:
dm-1: WRITE SAME failed. Manually zeroing.
But after it showed this error message, it showed a black screen, the server still works. I can SSH onto this server.
dm-q-write-same-failed.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi, Arnold, thanks for your update. I was wondering which X0Window app I should install on my local system. I want to try to use SSH -X command to reflect the GUI on my local system.
I heard one tool call "vncViewer", is that the right tool to use/
thanks.
I heard one tool call "vncViewer", is that the right tool to use/
thanks.
if you are on a windows system, use Xming
vncviewer is to unix what RDP is to windows. it has its own requirements and will if working get you a black screen that you see ......
vncviewer is to unix what RDP is to windows. it has its own requirements and will if working get you a black screen that you see ......
ASKER
Thanks for your help, you are the BEST!
What do you have in /etc/X11/xorg.conf?
yum grouplist
this lists the categories that include additional packages.items.
try:
yum groupinstall "X Window System" "Graphical Administration Tools" "General Purpose Desktop"
this should cover if anything was missed