LoginSignup
2
1

More than 5 years have passed since last update.

xrdp-0.9.4をビルド

Last updated at Posted at 2017-10-17

DockerはIPv6がデフォルトで無効。
xrdp-0.9.1ではIPv6が無効だと起動に失敗する。
xrdp-0.9.3でその問題が解決しているのと、せっかくなので最新版の0.9.4をビルドしてみた。

最新版: https://github.com/neutrinolabs/xrdp/releases

準備

wget "https://github.com/neutrinolabs/xrdp/releases/download/v0.9.4/xrdp-0.9.4.tar.gz"
Dockerfile
Dockerfile 
FROM ubuntu:17.10

RUN sed -i -e 's/archive.ubuntu.com/jp.archive.ubuntu.com/' /etc/apt/sources.list \
    && apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y \
       build-essential
RUN DEBIAN_FRONTEND=noninteractive apt-get build-dep -y xrdp

COPY xrdp-0.9.4.tar.gz /opt/

WORKDIR /opt
RUN tar xzf xrdp-0.9.4.tar.gz \
    && cd xrdp-0.9.4 \
    && ./configure

RUN apt install -y checkinstall

WORKDIR /opt/xrdp-0.9.4
RUN make install \
    && checkinstall -y -D --pkgname=xrdp
  • /opt/xrdp-0.9.4/xrdp_0.9.4-1_amd64.deb が出来上がる

起動の前に xrdp-keygen が必要になった

sudo /usr/local/bin/xrdp-keygen xrdp auto

/etc/xrdp/xrdp.sh start
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1