License

Copyright (C) 2008-2017 Oliver Bohlen.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

A copy of the license is included in the section entitled "GNU Free Documentation License".

Introduction

This documentation comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

Howto: Thinclient - X-Server for Gentoo Linux

This topic describes how I installed the X Server for my thinclient.

If you want to use this solution you need the following howto(s) finished:

Required software

The required software has to be installed with the following command(s):
chroot /gtc/test /bin/bash -c 'env-update &>/dev/null && source /etc/profile && emerge x11-base/xorg-x11'
chroot /gtc/test /bin/bash -c 'env-update &>/dev/null && source /etc/profile && emerge mate-base/mate'
chroot /gtc/test /bin/bash -c 'env-update &>/dev/null && source /etc/profile && emerge mate-base/mate-control-center'
chroot /gtc/test /bin/bash -c 'env-update &>/dev/null && source /etc/profile && emerge mate-extra/caja-extensions'
chroot /gtc/test /bin/bash -c 'env-update &>/dev/null && source /etc/profile && emerge ate-extra/mate-media'
chroot /gtc/test /bin/bash -c 'env-update &>/dev/null && source /etc/profile && emerge mate-extra/mate-sensors-applet'

Changes in /gtc/test/etc/conf.d/xdm

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /gtc/test/etc/conf.d/xdm

Changed on 01.09.10
Issued by olli
Beginning line 10

Sets LightDM as default display manager


Before change
DISPLAYMANAGER="xdm"
After change
DISPLAYMANAGER="lightdm"
#DISPLAYMANAGER="slim"

Changes in /gtc/test/etc/env.d/90xsession

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /gtc/test/etc/env.d/90xsession

Changed on 01.09.10
Issued by olli
Beginning line 1

Sets the default display manager which starts when you use startx for starting the X-Server. Possible Values can be found with:

ls /etc/X11/Sessions/

XSESSION="MATE"

Changes in /gtc/test/etc/lightdm/lightdm.conf

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /gtc/test/etc/lightdm/lightdm.conf

Changed on 01.09.10
Issued by olli
Beginning line 126

LightDM-Settings

user-session=mate

Changes in /gtc/test/etc/thinclient/scripts/gtc-compiz

File permissions:
Owner: root
Group: root
Permissions: -rwxr-xr-x

Click here for a download of the complete file: /gtc/test/etc/thinclient/scripts/gtc-compiz

Changed on 01.09.10
Issued by olli
Beginning line 2

Startscript for Compiz-Fusion 3D-Desktop

#!/bin/bash
LIBGL_ALWAYS_INDIRECT=true compiz --replace --ignore-desktop-hints ccp &
emerald --replace

Changes in /gtc/test/etc/thinclient/scripts/gtc-xconfig

File permissions:
Owner: root
Group: root
Permissions: -rwxr-xr-x

Click here for a download of the complete file: /gtc/test/etc/thinclient/scripts/gtc-xconfig

Changed on 07.10.09
Issued by olli
Beginning line 2

A script for starting Xorg and setting XkbLayout

#!/bin/bash

. /etc/thinclient/thinclient.conf
if [ -f "/etc/thinclient/thinclient.conf.local" ]
then
 . /etc/thinclient/thinclient.conf.local
fi
if [ -f "/etc/thinclient/profiles/`hostname`/thinclient.conf" ]
then
 . /etc/thinclient/profiles/`hostname`/thinclient.conf
fi
if [ -z $LOC_XKBLANG ]
then
 LOC_XKBLANG="us"
else
 echo "
Section \"InputClass\"
    Identifier             \"Keyboard Defaults\"
    MatchIsKeyboard       \"yes\"
    Option               \"XkbLayout\" \"$LOC_XKBLANG\"
EndSection
 " > /etc/X11/xorg.conf
fi

/etc/init.d/xdm restart


Please send a feedback to: doc<at>gabosh.net

Howto listing
File Index

Here you can find the official Gentoo Linux Forums where you can find a lot of answers.

Here a link to the official Gentoo Linux Homepage.

Edit Howto

About / Impressum

Click here for About / Impressum

Wishlist

If you want to support my work you can find my Amazon whishlist here