User Tools

Site Tools


wiki:obsolete:x2goserver-installation-gentoo

This is an old revision of the document!


Choose your ebuild source

Gentoo has x2goserver ebuilds in the main tree, which is the recommended place to start. If you're an experienced gentoo user & feeling adventurous, you can also check out the experimental nx overlay to see if it has newer versions http://overlays.gentoo.org/proj/nx/wiki/Overlay_HOWTO

Latest version in main tree 2011-03-15: net-misc/x2goserver-3.0.1.5-r1

Set your USE flags

Check your USE flags pertaining to x2goserver

emerge -pv net-misc/x2goserver

The most basic install can be done with USE=“sqlite -fuse -postgres”, which disables fuse-based file sharing and uses sqlite for the session database.

If you need to change USE flags, use the normal mechanisms of editing /etc/make.conf or /etc/portage/package.use http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2

Do the emerge

Simple enough…

emerge net-misc/x2goserver

Note: as of 2011-03-15 there is a missing dependency on media-fonts/font-cursor-misc, so if you don't see media-fonts/font-cursor-misc installed after emerging x2goserver, then install it manually

emerge media-fonts/font-cursor-misc

Configuration

Remember to check log messages after the emerge, because there are important configuration details still to be handled (you do have PORTAGE_ELOG_SYSTEM and PORTAGE_ELOG_CLASSES set, right? http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=1#doc_chap4 )

At this time, there are 2 tasks that must be done manually

* initialize the sqlite database

/usr/share/x2go/script/x2gosqlite.sh

* configure sudo so that users who should be able to start x2go sesssions can run /usr/bin/x2gopgwrapper

For instance, the log message suggests adding following line to /etc/sudoers
%users ALL=(ALL) NOPASSWD: /usr/bin/x2gopgwrapper
wiki/obsolete/x2goserver-installation-gentoo.1321357053.txt.gz · Last modified: 2013/03/08 13:31 (external edit)