Почему на запускается x11rdp на свежем Ubuntu 16.04?

После инсталла x11rdp не получается запустить сервис командой sudo /etc/init.d/xrdp restart
Указывает: sudo /etc/init.d/xrdp: команда не найдена.
  • Вопрос задан
  • 3681 просмотр
Пригласить эксперта
Ответы на вопрос 2
Frankenstine
@Frankenstine
Сисадмин
А откуда вы взяли пакет? В репах он отсутствует (есть freerdp-x11), значит вы взяли левый пакет и проблемы его интеграции с системой (создание скрипта /etc/init.d/xrdp) полностью на ваших плечах.
Ответ написан
@novelwithsoftware
https://github.com/scarygliders/X11RDP-o-Matic/iss...

git clone https://github.com/scarygliders/X11RDP-o-Matic.git
cd X11RDP-o-Matic/
sudo ./X11rdp-o-matic.sh # takes several 10s of minutes

# xrdp failed to start. using the quick fix described in c-nergy.be/blog/?p=8316
sudo ls /lib/systemd/system/xrdp* # 2 files
sudo rm /lib/systemd/system/xrdp*
systemctl daemon-reload
sudo service xrdp start
sudo service xrdp start # was able to connect at this point, but nothing happened after providing login details

sudo ./RDPsesconfig.sh # was able to connect to an actual X11rdp session at this point. Clipboard sharing was not working

git clone https://github.com/sigmike/autocutsel.git
cd autocutsel/
autoreconf -vfi
sudo apt-get install libxaw7-dev
./configure
make
sudo make install
autocutsel # after running this, I copied something in gedit on the server, and successfully pasted it in onenote on the client machine
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы