Desktop on RPi2

General support questions
Post Reply
User avatar
nooblieus
Posts: 3
Joined: 2016/01/01 21:26:22

Desktop on RPi2

Post by nooblieus » 2016/01/01 21:35:52

Hi All,

Recently I got the new RPi2 Model B for the holiday's. As I am messing around trying out new Os's with this hardware, I thought it would be cool to load the CentOS 7 Desktop and see how it runs in comparison to the Ubunto version. Unfortunately I am having issues loading the Gnome interface let alone any X-Windows interface. below is the link to the IMG, commands, and the error output when i go to start the the GUI. Can anyone provide some insight to what exactly I am missing?

http://mirror.centos.org/altarch/7/isos/armhfp/

Code: Select all

[root@rpi2 X11]# yum -y groups install "GNOME Desktop"
[root@rpi2 X11]# yum install gnome*
[root@rpi2 X11]# yum install xorg*
[root@rpi2 X11]# echo "exec gnome-session" >> ~/.xinitrc
[root@rpi2 X11]# systemctl start graphical.target
[root@rpi2 X11]# startx
xauth:  file /root/.serverauth.7164 does not exist

xinit: unable to run server "/usr/bin/X": No such file or directory
Use the -- option, or make sure that /usr/bin is in your path and
that "/usr/bin/X" is a program or a link to the right type of server
for your display.  Possible server names include:

    Xorg        Common X server for most displays
    Xvfb        Virtual frame buffer
    Xfake       kdrive-based virtual frame buffer
    Xnest       X server nested in a window on another X server
    Xephyr      kdrive-based nested X server
    Xvnc        X server accessed over VNC's RFB protocol
    Xdmx        Distributed Multi-head X server

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
[root@rpi2 X11]# 
Skipper: We just broke in the most secure facility in North America. Do you know what that means?
Kowalski: We’re wanted criminals who will be on the lam for the rest of their lives, always feeling the hot breath of Johnny Law on our necks?

aks
Posts: 3045
Joined: 2014/09/20 11:22:14

Re: Desktop on RPi2

Post by aks » 2016/01/02 17:29:42

I can't see the image link (posted link is to the CentOS repository).
Perhaps this is the initial source of your problem:
unable to run server "/usr/bin/X": No such file or directory
?

User avatar
nooblieus
Posts: 3
Joined: 2016/01/01 21:26:22

Re: Desktop on RPi2

Post by nooblieus » 2016/01/04 07:08:06

I was able to successfully install the x-Windows with no issue but for some reason the /usr/bin/X is not where it should be. I was wondering if anyone might have some ways to check and make sure that I installed everything correctly?
Skipper: We just broke in the most secure facility in North America. Do you know what that means?
Kowalski: We’re wanted criminals who will be on the lam for the rest of their lives, always feeling the hot breath of Johnny Law on our necks?

aks
Posts: 3045
Joined: 2014/09/20 11:22:14

Re: Desktop on RPi2

Post by aks » 2016/01/04 17:13:57

I think that's provided by xorg-x11-server package.

User avatar
nooblieus
Posts: 3
Joined: 2016/01/01 21:26:22

Re: Desktop on RPi2

Post by nooblieus » 2016/01/07 06:59:39

[root@rpi2 ~]# yum install xorg*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package xorg-x11-apps-7.7-6.el7.armv7hl already installed and latest version
Package xorg-x11-fonts-ISO8859-9-100dpi-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-fonts-cyrillic-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-fonts-ISO8859-15-100dpi-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-xkb-utils-devel-7.7-12.el7.armv7hl already installed and latest version
Package xorg-x11-drv-synaptics-devel-1.8.2-1.el7.armv7hl already installed and latest version
Package xorg-x11-proto-devel-7.7-12.el7.noarch already installed and latest version
Package xorg-x11-fonts-ISO8859-1-100dpi-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-fonts-ethiopic-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-docs-1.6-7.el7.noarch already installed and latest version
Package xorg-x11-xkb-extras-7.7-12.el7.armv7hl already installed and latest version
Package xorg-x11-xinit-session-1.3.4-1.el7.armv7hl already installed and latest version
Package xorg-sgml-doctools-1.10-5.el7.noarch already installed and latest version
Package xorg-x11-drv-mouse-devel-1.9.1-1.el7.armv7hl already installed and latest version
Package xorg-x11-server-utils-7.7-14.el7.armv7hl already installed and latest version
Package xorg-x11-fonts-ISO8859-15-75dpi-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-server-source-1.17.2-10.el7.noarch already installed and latest version
Package xorg-x11-fonts-100dpi-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-fonts-75dpi-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-fonts-ISO8859-9-75dpi-7.5-9.el7.noarch already installed and latest version
Package 1:xorg-x11-font-utils-7.5-20.el7.armv7hl already installed and latest version
Package xorg-x11-fonts-ISO8859-1-75dpi-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-xinit-1.3.4-1.el7.armv7hl already installed and latest version
Package xorg-x11-fonts-Type1-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-fonts-ISO8859-2-75dpi-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-xtrans-devel-1.3.5-1.el7.noarch already installed and latest version
Package xorg-x11-fonts-misc-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-utils-7.5-13.1.el7.armv7hl already installed and latest version
Package xorg-x11-fonts-ISO8859-14-100dpi-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-xkb-utils-7.7-12.el7.armv7hl already installed and latest version
Package xorg-x11-util-macros-1.19.0-3.el7.noarch already installed and latest version
Package xorg-x11-xbitmaps-1.1.1-6.el7.noarch already installed and latest version
Package xorg-x11-drv-evdev-devel-2.9.2-2.el7.armv7hl already installed and latest version
Package xorg-x11-fonts-ISO8859-14-75dpi-7.5-9.el7.noarch already installed and latest version
Package xorg-x11-server-Xdmx-1.17.2-10.el7.armv7hl already installed and latest version
Package xorg-x11-fonts-ISO8859-2-100dpi-7.5-9.el7.noarch already installed and latest version
Package 1:xorg-x11-xauth-1.0.9-1.el7.armv7hl already installed and latest version
Package xorg-x11-server-common-1.17.2-10.el7.armv7hl already installed and latest version
Nothing to do
[root@rpi2 ~]#
Skipper: We just broke in the most secure facility in North America. Do you know what that means?
Kowalski: We’re wanted criminals who will be on the lam for the rest of their lives, always feeling the hot breath of Johnny Law on our necks?

arrfab
Site Admin
Posts: 875
Joined: 2005/01/03 21:30:54
Location: /country/belgium
Contact:

Re: Desktop on RPi2

Post by arrfab » 2016/02/05 13:32:46

At the moment, we just built "Minimal" images, as that was the first goal and lot of people wanted to run those in "appliance" mode.
While we have built almost the whole distro, some packages failed to build , and the "desktop" role was not tested for armhfp/armv7hl
If you're interested in having a look at this, and contribute, feel free to browse the build logs (http://armv7.dev.centos.org/report.html) and join the centos arm-dev list (https://lists.centos.org/mailman/listinfo/arm-dev)

Post Reply

Return to “CentOS 7 - General Support”