Community Forum

Resolved
0 votes
Update: The Guide in this particular append has been left here as a education of the types of changes that are necessary to run Gnome. Read all the appends in this thread, and if you decide this is for you, use Bob's Script which he details below after my ramblings - it is far superior. As with all major changes to your system, make sure you have a viable tested backup before proceeding...


This is a Guide to Installing Gnome to run on A ClearOS system. It is not a full How-To and assumes a reasonable familiarity with Linux. It will not
provide line by line micro steps... It is not recommended for production
systems, as a system like this will be difficult to maintain. There are other ways to achieve this, this is just my first attempt. Follow any of this at your own risk! Be warned, it's a hack...

Starting with a fresh ClearOS 5.1 SP1 system fully up to date... (run "yum check-update" and install updates if necessary until there are none...)

Ensure the cups rpm is installed

Add the standard Centos 5 repository file and associated mirrorlist files. A
CentOS 5 system is handy here. These are...
/etc/yum.repos.d/CentOS-Base.repo
/var/cache/yum/base/mirrorlist.txt
/var/cache/yum/updates/mirrorlist.txt
use chattr to set the immutable bit on the mirrorlist.txt files so they are not erased... Make sure each section of /etc/yum.repos.d/CentOS-Base.repo has the line "enabled=0" (base, updates etc) - You need to add it to the first several sections.
Alternatively devise your own method of adding the CentOS 5 repositories...

Edit /etc/inittab and comment out the last line to disable xdm at runlevel
5. Also edit the tty1 line so that tty1 line reads "1:2345:respawn:/sbin/mingetty tty1"

Run "yum check-update" and ensure there are no updates - this will ensure you have modified the CentOS repository file correctly... fix if necessary

Install all the xorg files from ClearOS, except for one rpm...
"yum install xorg* --exclude=xorg-x11-apps"
On my system this was 102 packages

Reboot and go to the ClearOS console screen. You should have a simple screen with just the standard test logon prompt..
Logon as root and run "Xorg -configure"
then run "cp /root/xorg.conf.new /etc/X11/xorg.conf"
logoff from root and logon as a user (this assumes you have enabled the user to have a shell logon...)
type "startx" - you should get a solid colour screen with just the 'X' cursor
get out (ctrl-alt-F12 then alt-F2 for another screen)

Disable all ClearOS repositories as you did for the CentOS one. Again you will need add "enabled=0" to some ClearOS sections...
Edit the CentOS repository file and enable the base and updates sections
only

Next we need to install redhat-logs...
type "yum install redhat-logos" This will download and attempt to install,
then exit with an error about a conflict with a previously installed file
save the conflicting file "mv /boot/grub/splash.xpm.gz /boot/grub/splash.xpm.gz.clearos"
force the install "rpm -i --force /var/cache/yum/base/packages/redhat-logos"
then restore the ClearOS file "cp /boot/grub/splash.xpm.gz.clearos
/boot/grub/splash.xpm.gz"

Next we need to install redhat-artwork...
First install a prereq "yum install gtk2-engines"
then download the rpm... (the version below as of 23rd May 2010)
"wget http://mirror.centos.org/centos/5.4/os/i386/CentOS/redhat-artwork-5.1.0-28.el5.centos.i386.rpm";
then force install it...
"rpm -i --force --nodeps redhat-artwork-5.1.0-28.el5.centos.i386.rpm"

we can now install the base gnome... "yum install gnome-session"

follow this with more gnome stuff...
yum install gnome* --exclude=libsmbclient,nfs-utils-lib,nfs-utils,gnome-vfs2-smb,libvirt,libvert-python,gnome-applet-vm"

disable the CentOS repository sections and enable CentOS repositories as they were before you started. A "yum check-update" should then only add one or two updates at the most...

reboot, login as your user (not root) and type "startx" - you should then be presented with the full Gnome GUI - configure and add more Gnome applications as required...
Sunday, May 23 2010, 07:58 AM
Share this post:
Responses (116)
  • Accepted Answer

    Friday, February 08 2013, 05:13 PM - #Permalink
    Resolved
    0 votes
    Ok, so It's been a while, but I just went through documenting how to get Gnome on ClearOS 6. I don't have a script yet, but here's my notes:


    Do NOT upgrade the yum package from the CentOS repos, it WILL not work on the ClearOS system for reasons I have yet to determine.

    install epel repo RPM

    http://mirrors.servercentral.net/fedora/epel/6/i386/repoview/epel-release.html

    yum install yumex dkms gnome-desktop gnome-panel

    copy over CentOS-Base.repo from a CentOS system

    # CentOS-Base.repo
    #
    # The mirror system uses the connecting IP address of the client and the
    # update status of each mirror to pick mirrors that are updated to and
    # geographically close to the client. You should use this for CentOS updates
    # unless you are manually picking other mirrors.
    #
    # If the mirrorlist= does not work for you, as a fall back you can try the
    # remarked out baseurl= line instead.
    #
    #

    [base]
    name=CentOS-$releasever - Base
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
    #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

    #released updates
    [updates]
    name=CentOS-$releasever - Updates
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
    #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

    #additional packages that may be useful
    [extras]
    name=CentOS-$releasever - Extras
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
    #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

    #additional packages that extend functionality of existing packages
    [centosplus]
    name=CentOS-$releasever - Plus
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
    #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

    #contrib - packages by Centos Users
    [contrib]
    name=CentOS-$releasever - Contrib
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
    #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

    copy over /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 from a CentOS system

    -----BEGIN PGP PUBLIC KEY BLOCK-----
    Version: GnuPG v1.4.5 (GNU/Linux)

    mQINBE4P06MBEACqn48FZgYkG2QrtUAVDV58H6LpDYEcTcv4CIFSkgs6dJ9TavCW
    NyPBZRpM2R+Rg5eVqlborp7TmktBP/sSsxc8eJ+3P2aQWSWc5ol74Y0OznJUCrBr
    bIdypJllsD9Fe+h7gLBXTh3vdBEWr2lR+xA+Oou8UlO2gFbVFQqMafUgU1s0vqaE
    /hHH0TzwD0/tJ6eqIbHwVR/Bu6kHFK4PwePovhfvyYD9Y+C0vOYd5Ict2vbLHz1f
    QBDZObv4M6KN3j7nzme47hKtdMd+LwFqxM5cXfM6b5doDulWPmuGV78VoX6OR7el
    x1tlfpuiFeuXYnImm5nTawArcQ1UkXUSYcTUKShJebRDLR3BycxR39Q9jtbOQ29R
    FumHginovEhdUcinRr22eRXgcmzpR00zFIWoFCwHh/OCtG14nFhefuZ8Z80qbVhW
    2J9+/O4tksv9HtQBmQNOK5S8C4HNF2M8AfOWNTr8esFSDc0YA5/cxzdfOOtWam/w
    lBpNcUUSSgddRsBwijPuWhVA3NmA/uQlJtAo4Ji5vo8cj5MTPG3+U+rfNqRxu1Yc
    ioXRo4LzggPscaTZX6V24n0fzw0J2k7TT4sX007k+7YXwEMqmHpcMYbDNzdCzUer
    Zilh5hihJwvGfdi234W3GofttoO+jaAZjic7a3p6cO1ICMgfVqrbZCUQVQARAQAB
    tEZDZW50T1MtNiBLZXkgKENlbnRPUyA2IE9mZmljaWFsIFNpZ25pbmcgS2V5KSA8
    Y2VudG9zLTYta2V5QGNlbnRvcy5vcmc+iQI8BBMBAgAmBQJOD9OjAhsDBQkSzAMA
    BgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQCUb8osEFud6ajRAAnb6d+w6Y/v/d
    MSy7UEy4rNquArix8xhqBwwjoGXpa37OqTvvcJrftZ1XgtzmTbkqXc+9EFch0C+w
    ST10f+H0SPTUGuPwqLkg27snUkDAv1B8laub+l2L9erzCaRriH8MnFyxt5v1rqWA
    mVlRymzgXK+EQDr+XOgMm1CvxVY3OwdjdoHNox4TdVQWlZl83xdLXBxkd5IRciNm
    sg5fJAzAMeg8YsoDee3m4khg9gEm+/Rj5io8Gfk0nhQpgGGeS1HEXl5jzTb44zQW
    qudkfcLEdUMOECbu7IC5Z1wrcj559qcp9C94IwQQO+LxLwg4kHffvZjCaOXDRiya
    h8KGsEDuiqwjU9HgGq9fa0Ceo3OyUazUi+WnOxBLVIQ8cUZJJ2Ia5PDnEsz59kCp
    JmBZaYPxUEteMtG3yDTa8c8jUnJtMPpkwpSkeMBeNr/rEH4YcBoxuFjppHzQpJ7G
    hZRbOfY8w97TgJbfDElwTX0/xX9ypsmBezgGoOvOkzP9iCy9YUBc9q/SNnflRWPO
    sMVrjec0vc6ffthu2xBdigBXhL7x2bphWzTXf2T067k+JOdoh5EGney6LhQzcp8m
    YCTENStCR+L/5XwrvNgRBnoXe4e0ZHet1CcCuBCBvSmsPHp5ml21ahsephnHx+rl
    JNGtzulnNP07RyfzQcpCNFH7W4lXzqM=
    =jrWY
    -----END PGP PUBLIC KEY BLOCK-----

    yum install nx freenx
    cat /etc/nxserver/client.id_dsa.key and save it
    setup freenx as specified in the CentOS Wiki - http://wiki.centos.org/HowTos/FreeNX#head-fdcc21f2bc71f39f6567ea4833c29d44836bd2d4
    - freenx works at this point!
    yum install gnome-applets
    yum install gnome-screensaver gnome-system-monitor
    yum install nautilus-open-terminal
    yum install gnome-backgrounds gnome-common gnome-disk-utility gnome-system-log gnome-utils nautilus-actions
    yum install system-config-date system-config-services
    move /etc/yum.repos.d/CentOS-Base.repo out of /etc/yum.repos.d
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 27 2012, 11:04 PM - #Permalink
    Resolved
    0 votes
    Tim - you asked "What are you missing?"
    Answer - not much because I wasted a lot of my time, too much, adding what was missing - Reports, as you are well aware, just to mention an obvious candidate, one of many...
    However, with MultiWan failing - it's the last straw - I have given up on 6.3. I'll give it 6 to 9 months and come back and see if 6.4, or whatever it is called then, is finished and functions properly and go from there.
    In the meantime au revoir - see you in the middle of next year...
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 26 2012, 05:51 PM - #Permalink
    Resolved
    0 votes
    I wish too we had a USB install. :dry:

    What I did for installing all the extra packages is install a basic system and get the default packages by

    rpm -qa >> basicpackages.txt


    Then install all the packages I need for a standard install and run:

    rpm -qa >> allpackges.txt
    diff basicpackages.txt allpackages.txt

    And there are all the packages your standard install requires. Pop yum -y install <packages from diff output> into a shell script and drink coffee.

    That's many times faster than navigating the wizard. But I still wish we had a USB key.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 26 2012, 02:42 PM - #Permalink
    Resolved
    0 votes
    fdisk does complain at the boundaries. I'm in no rush to realign the file system but I do need to shut down the server sometime because I must have disturbed the SATA cable when I plumbed in an extra drive to take a disk image and I'm getting heaps of errors in /var/log/messages.

    Originally it was stated that the x86_64 bit version was going to be a DVD or USB installation because of its size. I wish it had been. Downloading all the apps afterwards is a PITA compared with a 5.2 installation. It is hard to find what is missing until you need it ...... At least they have added back pciutils and usbutils.

    Personally I did a USB installation following a post on this site and that part of the installation went like a charm. I wish Clear would give you the USB option. Much more convenient that a CD option. Aren't CD's pretty much history these days?

    [edit]
    This is miles off topic. We should really take this discussion elsewhere.
    [/edit]
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 26 2012, 01:10 PM - #Permalink
    Resolved
    0 votes
    still too much functionality missing

    What are you missing?
    Its a fine balance...remove enough tools to make the ISO small enough to fit on CD...or provide the kitchen sink for a DVD install? I know some definitely prefer being able to install everything from the installation media, not downloading via yum, as it's much quicker for deployment.

    I like to use the command line so there are a lot of tools to add, but for out of the box installation they are surplus to requirements... Perhaps if you list the extras you think should be on the ISO Pete can include them? I think he has added others in the past.

    The system has changed from 5.x, more so under the hood. For example the practice of aligning partitions with cylinder boundaries is an old one for addressing drives via CHS. Newer distros align them with 1MB increments and drives use LBA...tools like fdisk have not been updated with current practice and so still give a warning. Try viewing by sectors:-
    sfdisk -uS -l /dev/sdX


    Fetchmail still needs work!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 26 2012, 08:27 AM - #Permalink
    Resolved
    0 votes
    I "upgraded" yesterday and lost hours on the non-Zarafa mail system. imap needed restarting a couple of times before it would accept connections even though it was running. This took a while to diagnose. Fetchmail suffers without a GUI and the configuration of /etc/fetchmail.conf or the mail system seems to have changed slightly so your local domain is not automatically appended to the mail user-name after fetchmail.conf is read. I lost hours on this one until I bumped into a post of Tim's. I kept seeing mail-nick@localhost not found in the logs and could not work out how to get the localhost bit to read my local domain until I changed fetchmail.conf (which I had copied over from 5.2)

    I am also disappointed about the 6.x chain and I don't think it is ready for the big time but it should be just about OK for what I need. Now I need to adjust all my partitions because partitioning manually did not put the partition boundaries at the cylinder boundaries. :( I also now have an ATA error (not a ClearOS fault) so I'll have to open up the server again and fiddle around.

    I'll probably post in a separate thread about my upgrade.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 25 2012, 10:09 PM - #Permalink
    Resolved
    0 votes
    True Nick - par for the course for 6.3 - I was at about 100 (not counting those for Gnome in this) extra rpms when I abandoned 6.3 and have returned to running 5.2 for now... still too much functionality missing - and the bugs in 6.3, including MultiWan, which is essential to me...
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 25 2012, 03:21 PM - #Permalink
    Resolved
    0 votes
    Tony Ellis wrote:
    I find "ntsysv" very useful to control and view what services start automatically...
    .... which is not installed by default in 6.3. Another yum job.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, October 21 2012, 10:17 PM - #Permalink
    Resolved
    0 votes
    I find "ntsysv" very useful to control and view what services start automatically...
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, October 21 2012, 04:11 PM - #Permalink
    Resolved
    0 votes
    I haven't played with Gnome on ClearOS 6 yet but I have many CentOS 6 boxes where I've disabled NetworkManager on all of the interfaces and in the system.

    To do this you have to do 2 things as root on your system:

    1) Edit all of your /etc/sysconfig/network-scripts/ifcfg-eth* files and add the following statement:

    NM_CONTROLLED=no


    2) Disable the NetworkManager daemon:

    /sbin/chkconfig NetworkManager off


    You should be able to verify that the chkconfig command worked as follows:

    /sbin/chkconfig --list NetworkManager


    With the following being the expected output of the command:

    NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off


    You'll probably need to restart the network service:

    /etc/init.d/network restart


    and maybe reboot the system (can't remember) for it to take effect.

    Hope this helps.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, September 01 2012, 06:21 PM - #Permalink
    Resolved
    0 votes
    That's true, Tony. It's not like I can get upgrades off of the iso. I suppose I don't have to worry about it and I can at least disable the repo. Thanks for the input.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, September 01 2012, 12:01 AM - #Permalink
    Resolved
    0 votes
    Sorry I cannot help you much there - my install was on a test machine that is currently not in use...

    Since the mounts etc were only to enable the install - is there any need for it now ?- maybe just remove all the mount and repo additions?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 31 2012, 06:00 PM - #Permalink
    Resolved
    0 votes
    Every now and then, since installing gnome and making a mount with the clearos community iso, I'll get this prompt when doing a yum search or upgrade:


    file:///mnt/clearos-community-6.3-iso/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/clearos-community-6.3-iso/repodata/repomd.xml


    When investigating my /mnt/clearos-community-6.3-iso/ directory will be empty, so I remake the mount directory and then it's fine. Anyone got a guess on what keeps emptying the thing? I wind up having to remount it from the /root/support/iso/directory. I've had to do it twice now.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 23 2012, 02:30 PM - #Permalink
    Resolved
    0 votes
    No, I haven't had firewall issues, but that's possibly because I've never booted into gnome, but only ran gnome as necessary. I haven't verified that I don't have NetworkManager installed on my system. I'll have to investigate when I get time - it's not a production server ATM.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 23 2012, 01:27 PM - #Permalink
    Resolved
    0 votes
    Thanks Dave! Have you experienced any firewall issues after your install? After I installed gnome and rebooted, I had to start my firewall service from shell. I don't think I've tried rebooting since.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 23 2012, 01:06 PM - #Permalink
    Resolved
    0 votes
    Ctrl+Alt+Backspace will exit gnome if I remember correctly.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 22 2012, 02:39 PM - #Permalink
    Resolved
    0 votes
    OK, thanks Tony. I don't see where there's a daemon for NetworkManager or a running process associated with it on my server. Maybe someone else knows if there is? I know that it shows up in my gnome desktop under the Network menu. Perhaps that's when it stopped my firewall. I'll have to experiment. I can't remember if it was an issue after I installed the gnome-common and nautilus apps and rebooted, or if it was an issue after I ran startx (before installing the apps Dave posted) and then had no way with the basic install to exit gnome, so I did a forced reboot.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 22 2012, 02:10 PM - #Permalink
    Resolved
    0 votes
    We need to be careful here...

    there is a daemon called "network" that simply starts/stops the network

    there is a daemon in a full RedHat/CentOS install called "NetworkManager" that does all sorts of network management (and yes - the caps are there in the program name), and this "network manager" has a gnome gui etc.

    here is a directory listing from a Rehat Fedora install

    [root@sofie init.d]# ls
    abrtd irqbalance portreserve
    acpid iscsi psacct
    atd iscsid racoon
    auditd jexec rdisc
    avahi-daemon killall restorecond
    backuppc ksm rpcbind
    bluetooth ksmtuned rpcgssd
    btseed libvirtd rpcidmapd
    bttrack libvirt-guests rpcsvcgssd
    cpuspeed lm_sensors rsyslog
    crond lvm2-monitor rxapid
    cups mdmonitor saslauthd
    ddclient messagebus sendmail
    dnsmasq microcode_ctl smartd
    dovecot motion smb
    ebtables multipathd smolt
    firstboot named snmpd
    functions netconsole snmptrapd
    gkrellmd netfs spamassassin
    gpm netplugd squid
    haldaemon network sshd
    halt NetworkManager svnserve
    hddtemp nfs udev-post
    httpd nfslock unbound
    ibm-wclient nmb vnstat
    ibm-wclient-autostart nscd wpa_supplicant
    ip6tables ntpd xinetd
    ipmievd ntpdate ypbind
    iptables openvpn zvbid
    irda pcscd
    [root@sofie init.d]#

    Note there is a 'network' and a 'NetworkManager' - it is the latter "network manager" that I have been talking about as a problem - not 'network'

    see http://projects.gnome.org/NetworkManager/
    also in other LInux distributions
    https://help.ubuntu.com/community/NetworkManager
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 22 2012, 01:21 PM - #Permalink
    Resolved
    0 votes
    Well, I don't see where there's a daemon that starts it on boot, if the daemon is named NetworkManager. I see that the network daemon just activates my nics.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 22 2012, 12:38 PM - #Permalink
    Resolved
    0 votes
    Network Manger has never installed by default on any of my ClearoS 5 (qty 9) or ClearOS 6 (qty 2) machines, and I will never install it manually. However, it did and does install by default on the CentOS and Redhat Enterprise machines here. I find it more trouble that it is worth - and ALWAYS make sure it is NOT running... makes too many irrational changes that break the network in my experience...
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 22 2012, 12:13 PM - #Permalink
    Resolved
    0 votes
    Thanks for the reply, Tony.

    Network Manager is not part of ClearOS6.3 by default? It was in 5.2 if I remember right. I'm only a month into 6.x. After reading your reply I see that Network Manager is indeed installed. I believe the daemon that kick starts that thing is /etc/rc.d/init.d/network, isn't it? I installed the additional apps that Dave mentioned, although gnome-desktop is already a part of the install if you follow the howto that Michael posted.

    I used the 6.3 community iso like you did. Why would Network Manager keep the firewall from starting on boot? I suppose I should review my logs and see if there is any indication.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 22 2012, 05:50 AM - #Permalink
    Resolved
    0 votes
    Dirk - only thing I can think of at the moment is that Network Manager got installed. I only did a minimal install (no Network Manger) and decided that vnc + xterm + twm was really all I needed - and that provides a more convenient and less weighty remote gui.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 22 2012, 05:14 AM - #Permalink
    Resolved
    0 votes
    Well, I broke something. I thought I was doing good. I got gnome installed alright, but now I can't access my Webconfig in my browser or my Zarafa webmail or use Putty or WinSCP. It's almost like the firewall has locked me out. What the hell? I thought gnome was simply a gui?

    Edit: OK, I simply started my firewall and everything seems OK at this point, but it's too late to mess with it anymore so I'll look into it more tomorrow. Any suggestions on what the gnome installation might have affected with regard to my firewall startup would be greatly appreciated. Any suggestions for other gnome apps that would make using it a treat would also be greatly appreciated. I know I've dealt with gnome on other linux distros like Fedora and CentOS and it's been a great user interface, but it's been a while. Thanks Tony and Dave for the tips. Gnome has a nice feel to it.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 21 2012, 06:48 PM - #Permalink
    Resolved
    0 votes
    +1 here. It worked on my install as well. gnome-desktop, gnome-panel & gnome-terminal with associated dependencies got me pretty much what I needed.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 19 2012, 02:20 AM - #Permalink
    Resolved
    0 votes
    Michael - it worked on my installation - you may need to change the instructions slightly depending which iso you installed from...

    In my case had installed the 32-bit version by making a cd from the clearos-community-6.3.0-i386.iso, so copied the clearos-community-6.3.0-i386.iso file to /root/support/iso/.
    Then used clearos-community-6.3.0-i386.iso instead of clearos-core-6.1alpha1-x86_64.iso in the "mount -o loop" instructions.

    Gives you a very basic gnome install - there are probably several more rpms you would want to install...
    The reply is currently minimized Show
  • Accepted Answer

    Michael
    Michael
    Offline
    Saturday, August 18 2012, 08:21 PM - #Permalink
    Resolved
    0 votes
    Does this :
    http://www.clearfoundation.com/docs/howtos/gnome

    aplies to the ClearOS Community too ?

    Bye
    Orvis
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, July 14 2012, 06:58 PM - #Permalink
    Resolved
    0 votes
    I haven't written a script yet. I'll post here when I get around to it.
    The reply is currently minimized Show
  • Accepted Answer

    Geffroy
    Geffroy
    Offline
    Friday, July 06 2012, 10:23 PM - #Permalink
    Resolved
    0 votes
    Hi,
    I have read this post with great interest.
    I have setup 6.2 on a jetway 362 and it worked out of the box.
    Using Tim post and installing hostapd , I also got the wifi working just fine.
    (I tried 6.3 but could not find things about wifi management ..)

    The ultimate tweak I would like to do is to install xfce or lxde to run xbmc, tvheadend and replace another fat PC seatting close to my TV, to get an all in one solution (mplayer, gateway , firewall) at low power consumption.

    The script in this post is for 5.2. I have been looking around to find on which version is based ClearOs but could not find it.

    Any hint to complete my project ?

    Thanks.
    JS
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, June 09 2012, 12:16 AM - #Permalink
    Resolved
    0 votes
    I haven't done a script for 6.2, yet. :)
    The reply is currently minimized Show
  • Accepted Answer

    victor
    victor
    Offline
    Friday, June 01 2012, 10:41 AM - #Permalink
    Resolved
    0 votes
    Dear Bob,

    THank you for that script...im setting up a clearos server/router, and wanted to use it as a workstation aswell. IM about to give it a shot.

    However, i wanted to know...have you tried 6.2? And, if you did...any way to install Gnome on it?

    Thanks!

    Victor.

    PS: I checked your blog, found nowhere to comment or contact you...so im trying thru this thread. Thanks again!
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, March 10 2012, 07:39 AM - #Permalink
    Resolved
    0 votes
    Apparently CentOS 5.8 is out, you can get the new repo file from my site here:

    New ClearOS CentOS repo file

    As always, be very careful that you don't upgrade any ClearOS packages when using this repo file, unless you are _really_ sure that it will not break your system.

    Here's the contents of the file in case you can't pull it down from my server:


    # CentOS-Base.repo
    #
    # The mirror system uses the connecting IP address of the client and the
    # update status of each mirror to pick mirrors that are updated to and
    # geographically close to the client. You should use this for CentOS updates
    # unless you are manually picking other mirrors.
    #

    [base]
    name=CentOS-5.8 - Base
    baseurl=http://mirror.centos.org/centos/5.8/os/i386/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

    #released updates
    [updates]
    name=CentOS-5.8 - Updates
    baseurl=http://mirror.centos.org/centos/5.8/updates/i386/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

    #packages used/produced in the build but not released
    [addons]
    name=CentOS-5.8 - Addons
    baseurl=http://mirror.centos.org/centos/5.8/addons/i386/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

    #additional packages that may be useful
    [extras]
    name=CentOS-5.8 - Extras
    baseurl=http://mirror.centos.org/centos/5.8/extras/i386/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

    #additional packages that extend functionality of existing packages
    [centosplus]
    name=CentOS-5.8 - Plus
    baseurl=http://mirror.centos.org/centos/5.8/centosplus/i386/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

    #contrib - packages by Centos Users
    [contrib]
    name=CentOS-5.8 - Contrib
    baseurl=http://mirror.centos.org/centos/5.8/contrib/i386/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5



    I just patched my server, and it rebooted without issues, hope you have the same luck.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, December 04 2011, 12:52 AM - #Permalink
    Resolved
    0 votes
    I'd suggest you verify that each step in my script is actually completing successfully on your box. The approach I'd use is to copy and paste each step into the command prompt, and note if there are any failures. I'd expect that your system will complain that some packages are already installed as you've run the script (at least) once already.

    If you find any errors, post them here, and hopefully we can debug them.
    The reply is currently minimized Show
  • Accepted Answer

    stassen
    stassen
    Offline
    Saturday, December 03 2011, 09:36 PM - #Permalink
    Resolved
    0 votes
    Steps 2 did not work so I installed system-config-display. After that I ran system-config-display and ended up with "Window manager warning: Failed to read theme from file /usr/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml: Failed to open file '/usr/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml': No such file or directory
    Window manager warning: Failed to load theme "Clearlooks": Failed to open file '/usr/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml': No such file or directory"

    You have to know that I only executed your script to get rid of yum update errors, but that was succesful, so I am happy anyway..... ;-)
    The reply is currently minimized Show
  • Accepted Answer

    Friday, December 02 2011, 08:22 AM - #Permalink
    Resolved
    0 votes
    If I were in your situation, here's what I'd try:

    1) Remove /etc/X11/xorg.conf
    2) Run "system-config-display" from the local terminal as root
    3) Run "startx"

    If that doesn't bring up Gnome as root, there's something wrong. In every case where I've used my script, that brings up Gnome on the first try.

    Also, if you want to get a desktop (or GUIs) from a remote session, check into using the -X or -Y flag with SSH, or freenx on the CentOS wiki: here
    The reply is currently minimized Show
  • Accepted Answer

    stassen
    stassen
    Offline
    Thursday, December 01 2011, 03:25 PM - #Permalink
    Resolved
    0 votes
    Bob Stangarone wrote:
    [quote]New script (v0.4) as I changed the path on my webserver for the repo file. Here's the contents of the v0.4 script:

    [code]

    Some people start at the end... (like me). Your script 0.4 worked 100%. I would like to get gnome up and running so I started at the beginning of this treath. But witout succes

    [root@system ~]# Xorg -configure

    X Window System Version 7.1.1
    Release Date: 12 May 2006
    X Protocol Version 11, Revision 0, Release 7.1.1
    Build Operating System: Linux 2.6.18-53.el5 i686 Red Hat, Inc.
    Current Operating System: Linux system.clearos.lan 2.6.18-194.8.1.v5PAE #1 SMP Thu Jul 15 02:01:47 EDT 2010 i686
    Build Date: 06 October 2011
    Build ID: xorg-x11-server 1.1.1-48.76.el5_7.5
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Module Loader present
    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.0.log", Time: Thu Dec 1 16:13:47 2011
    List of video drivers:
    vesa
    (++) Using config file: "/root/xorg.conf.new"


    Xorg detected your mouse at device /dev/input/mice.
    Please check your config if the mouse is still not
    operational, as by default Xorg tries to autodetect
    the protocol.

    Your xorg.conf file is /root/xorg.conf.new

    To test the server, run 'X -config /root/xorg.conf.new'

    [root@system ~]# cp /root/xorg.conf.new /etc/X11/xorg.conf
    [root@system ~]# su user
    Password:
    bash-3.2$ startx
    xauth: creating new authority file /home/user/.serverauth.17329


    Fatal server error:
    PAM authentication failed, cannot start X server.
    Perhaps you do not have console ownership?

    giving up.
    xinit: Connection refused (errno 111): unable to connect to X server
    xinit: No such process (errno 3): Server error.
    Couldnt get a file descriptor referring to the console
    bash-3.2$


    I would like to have gnome available or via remote desktop or via the shell. Tips are welcome
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 12 2011, 06:04 AM - #Permalink
    Resolved
    0 votes
    For reference, the path to find this script (and the preceding versions) is: https://www.whataboutbob.org/downloads/clearos/
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 08 2011, 06:00 PM - #Permalink
    Resolved
    0 votes
    New script (v0.4) as I changed the path on my webserver for the repo file. Here's the contents of the v0.4 script:


    #!/bin/sh

    # This script was written to work on a FRESH install of ClearOS 5.2 Enterprise,
    # with all available packages selected during the install process.

    # Things to do on your system BEFORE you run this script:
    #
    # 1) Disable any additional repos you may have enabled,
    # on a fresh ClearOS install you should have only the
    # following in your /etc/yum.repos.d/:
    #
    # base.repo
    #
    # 2) Update your system against this repo:
    #
    # yum -y update
    #
    # 3) Reboot if needed

    # ToDo:
    #
    # 1) Figure out why when you startx you get a dialog box that states:
    # "The NetworkManager applet could not find some required resources. It cannot continue."
    #
    # 2) Clean this script up. There's very little optimization and error checking.

    # Make sure you are root when you run our script
    if [ "$(id -u)" != "0" ]; then
    echo "This script must be run as root" 1>&2
    exit 1
    fi

    #
    yum -y install gedit

    #
    rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

    #
    rpm -ivh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm

    #
    rpm -ivh http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm

    #
    rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm

    #
    rpm -Uvh http://vault.centos.org/5.4/os/i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm

    #
    rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/yum-utils-1.1.16-13.el5.centos.noarch.rpm

    #
    rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/switchdesk-4.0.8-6.noarch.rpm

    #
    rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/gtk2-engines-2.8.0-3.el5.i386.rpm

    #
    rpm --force -ivh http://vault.centos.org/5.4/os/i386/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm

    #
    rpm --nodeps -ivh http://vault.centos.org/5.4/os/i386/CentOS/redhat-artwork-5.1.0-28.el5.centos.i386.rpm

    #
    rpm -e app-graphical-console

    #
    rpm -e xconsole

    #
    rpm -Uvh http://vault.centos.org/5.6/os/i386/CentOS/xulrunner-1.9.2.13-3.el5.i386.rpm

    #
    rpm -ivh http://vault.centos.org/5.5/os/i386/CentOS/pygtk2-libglade-2.10.1-12.el5.i386.rpm

    #
    rpm -Uvh http://vault.centos.org/5.5/extras/i386/RPMS/yumex-2.0.3-2.el5.centos.noarch.rpm

    #
    wget http://www.whataboutbob.org/downloads/clearos/ClearOS-CentOS-Base.5.7.repo

    #
    mv ClearOS-CentOS-Base.5.7.repo /etc/yum.repos.d

    #
    yum clean all

    #
    yum -y upgrade yum-fastestmirror yumex yum-protect-packages yum-metadata-parser yum-kmod dkms

    #
    yum -y groupinstall "GNOME Desktop Environment"

    #
    yum -y install gdm

    #
    yum -y install system-config-date system-config-display system-config-network

    #
    yum -y install nx freenx firefox thunderbird rdesktop tsclient wireshark wireshark-gnome gftp

    #
    yum -y install logwatch arpwatch

    #
    rpm -e rpmfusion-nonfree-release

    #
    rpm -e rpmfusion-free-release

    #
    rpm -e epel-release

    #
    yum clean all

    #
    mkdir -p /root/disabled.repos

    #
    mv /etc/yum.repos.d/ClearOS-CentOS-Base.5.7.repo /root/disabled.repos


    NOTE:
    New path on the server for the script and repo file:

    http://www.whataboutbob.org/downloads/clearos/ClearOS-CentOS-Base.5.7.repo" target="_blank">repo file
    script file
    The reply is currently minimized Show
  • Accepted Answer

    Wolvenmoon
    Wolvenmoon
    Offline
    Wednesday, September 28 2011, 02:29 AM - #Permalink
    Resolved
    0 votes
    Are they putting Gnome/KDE in 6 by default yet?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 23 2011, 01:52 PM - #Permalink
    Resolved
    0 votes
    Tell me about I'm in Australia and it still isn't summer and it got to 35 (95) today.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 23 2011, 01:16 PM - #Permalink
    Resolved
    0 votes
    Thanks Bob and Tony.

    I hopefully will get a chance to to access this in the next few hours as I have decided to give XenServer a go (what a headache)
    The reply is currently minimized Show
Your Reply