Koozali.org: home of the SME Server

[ANNOUNCE] KDE or Gnome on SME 7.0rc2 HOWTO

Offline jvels

  • ****
  • 130
  • +0/-0
    • http://vels.dk
[ANNOUNCE] KDE or Gnome on SME 7.0rc2 HOWTO
« Reply #15 on: July 12, 2006, 08:07:54 PM »
hi

do you have some note about how you install mythtv on your SME7

duncan

[ANNOUNCE] KDE or Gnome on SME 7.0rc2 HOWTO
« Reply #16 on: July 13, 2006, 01:00:11 AM »
Quote from: "jvels"
hi

do you have some note about how you install mythtv on your SME7


I have some notes here. They may not be completely accurate but they should help quite a bit.

tveden

Re: [ANNOUNCE] KDE or Gnome on SME 7.0rc2 HOWTO
« Reply #17 on: August 17, 2006, 12:16:12 AM »
Quote from: "ldkeen"
This document describes the procedure to install and configure either KDE or Gnome GUI on SME Server 7.0rc2. **WARNING** Most people would highly advise against doing this, however we have a specific purpose for doing this and as such have documented the procedure for future reference. It is your responsibility to investigate fully the security implications involved in following this procedure. This has only been tested to boot stage - no other services have been tested as of the writing of this document. As usual all care taken but no responsibility accepted.

Step 1. Perform a clean install of SME Sever 7.0rc2

Note: Step 2 involves copying the first 2 discs of CentOS 4.3 distribution onto your hard drive and setting up a local yum repository. The total size of the install for KDE is approximately 170MB, if you have a generous ISP then you can bypass step 2 completely and install from the internet.

Step 2. Obtain CentOS 4.3 installation discs 1 & 2 and copy to your hard drive.

#mkdir -p /tmp/yum-local-repo/RPMS
#cd /tmp/yum-local-repo/RPMS
Insert CentOS 4.3 Disc 1
#mount /media/cdrecorder
#rpm -Uvh /media/cdrecorder/CentOS/RPMS/createrepo-0.4.3-1.noarch.rpm
#cp /media/cdrecorder/yumgroups.xml .
#cp /media/cdrecorder/CentOS/RPMS/* .
(Note the period or full-stop at the end of the line is important)
Repeat for the other 3 Cd's
Insert CentOS 4.3 Disc 2
#mount /media/cdrecorder
#cp /media/cdrecorder/CentOS/RPMS/* .

#mcedit /etc/yum.repos.d/local.repo
and add the following:

[local]
name=CentOS 4.3 CD-Rom Install
baseurl=file:///tmp/yum-local-repo/RPMS

Now lets setup the local repo
#createrepo -g yumgroups.xml /tmp/yum-local-repo/RPMS

With over 700 packages this may take some time, after completion make sure the yum groups is working OK.

#yum --disablerepo=* --enablerepo=local grouplist

Yum should display a list of available groups, if not go back and check all the settings. Now you should be able to install either KDE or GNOME - take your pick.

For KDE use the following:
#yum --disablerepo=* --enablerepo=local groupinstall "KDE (K Desktop Environment)"

If you prefer GNOME use this:
#yum --disablerepo=* --enablerepo=local groupinstall "GNOME Desktop Environment"

Step 3. Setup GUI to boot on start-up.

Prior to rebooting we need to setup a few things to make sure X boots up properly:

Start up the X Font Server
#/etc/rc.d/init.d/xfs start
Configure the mouse
#system-config-mouse
Now configure the display
#system-config-display (then follow the prompts and click OK to create the configuration file located in /etc/X11/xorg.conf.)

Make sure the X Font Server starts up in run level 7
#cp /etc/rc.d/rc5.d/S90xfs /etc/rc.d/rc7.d/

Install a display manager to handle logins
#mkdir -p /etc/e-smith/templates-custom/etc/inittab
#mcedit /etc/e-smith/templates-custom/etc/inittab/92dm
And add the following to this file:

#Install Display Manager
x:7:respawn:/usr/bin/kdm -nodaemon

Expand the template:
#/sbin/e-smith/expand-template /etc/inittab

Standard users logins are disabled in smeserver so we need to install a third party contrib to allow user shell access so that authorised users are able to login.
#rpm -Uvh http://mirror.contribs.org/smeserver/contribs/dungog/packages/smeserver/7.0/i386/RPMS.dungog/smeserver-remoteuseraccess-1.2-2.noarch.rpm

After installing this contrib you will need to login to the server-manager and modify the default shell for any users that will require login from /bin/rssh to /bin/bash.

You can now reboot the system and you should be presented with a kdm login screen.

Regards Lloyd
Quote
how does this apply to version 7.0 final

Offline brick

  • ****
  • 78
  • +0/-0
[ANNOUNCE] KDE or Gnome on SME 7.0rc2 HOWTO
« Reply #18 on: August 17, 2006, 06:52:15 AM »
Quote
how does this apply to version 7.0 final


Works fine!

Offline polarair

  • **
  • 32
  • +0/-0
    • http://www.cosoprinting.nl
[ANNOUNCE] KDE or Gnome on SME 7.0rc2 HOWTO
« Reply #19 on: October 20, 2006, 08:31:48 AM »
Quote from: "brick"
Quote
how does this apply to version 7.0 final


Works fine!


Can you still login the servermanager on localhost. so i can go local on the webserver. Is so this would be great solution to local administration on the same system.
Mike
live is to short not to enjoy it :lol: ......

Offline tariqf

  • *****
  • 179
  • +0/-0
gdm error after install
« Reply #20 on: December 21, 2006, 06:38:26 PM »
I have followed this for a fresh sme install but I get the following error when gdm tries to start on boot;

/etc/profile.d/e-smith-lib_compspec.sh: line 16: `_esmith_signal-event': not a valid identifier


please can anyone shed a light on this? other than this I can do "startx" from root login and gnome works perfect. I just need gdm!

duncan

[ANNOUNCE] KDE or Gnome on SME 7.0rc2 HOWTO
« Reply #21 on: December 23, 2006, 09:51:26 AM »
How about xdm.

Offline tariqf

  • *****
  • 179
  • +0/-0
[ANNOUNCE] KDE or Gnome on SME 7.0rc2 HOWTO
« Reply #22 on: December 23, 2006, 01:46:59 PM »
I removed /etc/profile.d/e-smith-lib_compspec.sh and it works fine now. Just waiting to see what other this impact has! Got LTSP working perfect now also with netboot.

Just need to get garnome working or something to upgrade gnome cos v. 2.8 is so ancient looking!

hveene

Errors
« Reply #23 on: December 23, 2006, 07:58:22 PM »
The following addition should be made to the /etc/yum.conf file instead of the one mentioned in the howto

[local]
name=CentOS 4.3 CD-Rom Install
baseurl=file:///tmp/yum-local-repo/RPMS

Offline Drifting

  • *****
  • 431
  • +0/-0
[ANNOUNCE] KDE or Gnome on SME 7.0rc2 HOWTO
« Reply #24 on: April 09, 2007, 02:05:28 PM »
Quote from: "duncan"
Quote from: "jvels"
hi

do you have some note about how you install mythtv on your SME7


I have some notes here. They may not be completely accurate but they should help quite a bit.


Any notes for Myth and version 7 of SME ? :)

Paul.
Infamy, Infamy, they all have it in for me!