summaryrefslogtreecommitdiff
path: root/community/weblogs/ArneBab/2008-08-02-gnu_hurd_and_x.mdwn
blob: d72f4cef9a1fe966912e2530cac34780bff149f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Getting X to work on the GNU/Hurd
=================================

This is a try to get X to work in my qemu GNU/Hurd. 

*This is a first try, my next one will be with the [[guide_from_this_wiki|Hurd/DebianXorg]].*

Firstoff: I used the following guides: 

* [X Under the Hurd from debian-hurd](http://www.kerneltraffic.org/debian-hurd/dh20000112_31.html#3)
* [GNU/Hurd FAQ](http://www.gnu.org/software/hurd/faq.en.html#q4-7)


What I did
----------

I worked as root. 

First I installed xorg, x-window-system-code, rxvt and twm: 

    apt-get install xserver-xorg x-window-system-core rxvt twm

Then I set the LD_LIBRARY_PATH and DISPLAY

    export LD_LIBRARY_PATH=/usr/X11R6/lib
    export DISPLAY=localhost:0.0

After that I set the mouse and keyboard translator. 

    settrans /dev/kbd /hurd/kbd /dev/kbd
    settrans -c /dev/mouse /hurd/mouse --protocol=ps/2

Then I started x

    startx

It didn't work yet - but watch the blog for updates - I'll post once I get it 
working.