xrdp/xorg/server
2014-05-05 15:00:22 -07:00
..
module xorg: change for 16x16 capture 2014-05-05 15:00:22 -07:00
xrdpdev xorg: fix for compile with xorg 1.15 2014-04-12 16:44:19 -07:00
xrdpkeyb xorg: work on xorg driver 2014-01-18 16:11:30 -08:00
xrdpmouse xorg: work on xorg driver 2014-01-21 01:45:30 -08:00
Makefile xorg driver module: we now access xorg driver module from /usr/lib/xorg 2014-03-09 15:50:16 -07:00
readme.txt added code for region copy used in codec mode 2014-01-20 17:48:17 -08:00
test-in-home.sh xorg: added test script 2014-01-18 10:04:32 -08:00

------------------------------------------------------
 Notes for building xrdpdev_drv.so and libxorgxrdp.so
------------------------------------------------------

Pre-requisites:
    o sudo apt-get install xserver-xorg-dev

quick and easy way to build and run the driver
    o cd xorg/server
    o ./test-in-home.sh

    o see /etc/X11/xrdp/xorg.conf to see how things are configured

to run it
create /etc/X11/xrdp
copy xorg.conf into it

copy xrdpdev_drv.so to /usr/lib/xorg/modules/drivers
copy libxorgxrdp.so to /usr/lib/xorg/modules

copy xrdpmouse_drv.so to /usr/lib/xorg/modules/input
copy xrdpkeyb_drv.so to /usr/lib/xorg/modules/input

start xserver like this
Xorg -modulepath /usr/lib/xorg/modules -config xrdp/xorg.conf -logfile /tmp/Xjay.log -novtswitch -sharevts -noreset -nohwaccess -ac :10
or this on older Xorg but need /dev/vc/ thing below
Xorg -modulepath /home/jay/xorg-modules -config xrdp/xorg.conf -logfile /tmp/Xjay.log -novtswitch -sharevts -noreset -ac vt7 :10

older Xorg don't have -nohwaccess so you need to run Xorg as root
or do something like this.

sudo rm /dev/tty0
sudo mknod -m 666 /dev/tty0 c 4 0

sudo mkdir /dev/vc/
sudo mknod -m 666 /dev/vc/7 c 7 7

--modules
    libfb.so
    libint10.so
    libvbe.so
    libxorgxrdp.so
----drivers
      xrdpdev_drv.so
----extensions
      libdbe.so
      libdri.so
      libdri2.so
      libextmod.so
      libglx.so
      librecord.so
----input
      xrdpkeyb_drv.so
      xrdpmouse_drv.so

dpkg -S /usr/lib/xorg/modules/extensions/libglx.so
xserver-xorg-core