xrdp broken after install
Hi I installed xrdp a while back and it worked fine, I then tried to follow this tutorial to enable the clipboard (http://c-nergy.be/blog/?p=9285). I could then no longer RDP into the server and only connect via Putty.
I've tried to run the following commands to remove rdp
sudo apt-get remove xrdp
sudo apt-get remove --auto-remove xrdp
sudo apt-get purge xrdp
sudo apt-get purge --auto-remove xrdp
And then reboot and reinstall xrdp
sudo apt-get install xrdp
It then fails and i receive the following error:
● xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:xrdp(8)
man:xrdp.ini(5)
Oct 19 17:06:15 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:06:15 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:07:27 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:07:27 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:10:09 iomad-test systemd[1]: Stopped xrdp daemon.
Oct 19 17:11:46 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:11:46 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:16:19 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:16:19 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
dpkg: error processing package xrdp (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
xrdp
Any ideas on how to reinstall xrdp and get it working again?
16.04 remote-desktop xrdp
add a comment |
Hi I installed xrdp a while back and it worked fine, I then tried to follow this tutorial to enable the clipboard (http://c-nergy.be/blog/?p=9285). I could then no longer RDP into the server and only connect via Putty.
I've tried to run the following commands to remove rdp
sudo apt-get remove xrdp
sudo apt-get remove --auto-remove xrdp
sudo apt-get purge xrdp
sudo apt-get purge --auto-remove xrdp
And then reboot and reinstall xrdp
sudo apt-get install xrdp
It then fails and i receive the following error:
● xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:xrdp(8)
man:xrdp.ini(5)
Oct 19 17:06:15 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:06:15 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:07:27 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:07:27 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:10:09 iomad-test systemd[1]: Stopped xrdp daemon.
Oct 19 17:11:46 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:11:46 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:16:19 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:16:19 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
dpkg: error processing package xrdp (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
xrdp
Any ideas on how to reinstall xrdp and get it working again?
16.04 remote-desktop xrdp
add a comment |
Hi I installed xrdp a while back and it worked fine, I then tried to follow this tutorial to enable the clipboard (http://c-nergy.be/blog/?p=9285). I could then no longer RDP into the server and only connect via Putty.
I've tried to run the following commands to remove rdp
sudo apt-get remove xrdp
sudo apt-get remove --auto-remove xrdp
sudo apt-get purge xrdp
sudo apt-get purge --auto-remove xrdp
And then reboot and reinstall xrdp
sudo apt-get install xrdp
It then fails and i receive the following error:
● xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:xrdp(8)
man:xrdp.ini(5)
Oct 19 17:06:15 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:06:15 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:07:27 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:07:27 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:10:09 iomad-test systemd[1]: Stopped xrdp daemon.
Oct 19 17:11:46 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:11:46 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:16:19 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:16:19 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
dpkg: error processing package xrdp (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
xrdp
Any ideas on how to reinstall xrdp and get it working again?
16.04 remote-desktop xrdp
Hi I installed xrdp a while back and it worked fine, I then tried to follow this tutorial to enable the clipboard (http://c-nergy.be/blog/?p=9285). I could then no longer RDP into the server and only connect via Putty.
I've tried to run the following commands to remove rdp
sudo apt-get remove xrdp
sudo apt-get remove --auto-remove xrdp
sudo apt-get purge xrdp
sudo apt-get purge --auto-remove xrdp
And then reboot and reinstall xrdp
sudo apt-get install xrdp
It then fails and i receive the following error:
● xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:xrdp(8)
man:xrdp.ini(5)
Oct 19 17:06:15 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:06:15 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:07:27 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:07:27 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:10:09 iomad-test systemd[1]: Stopped xrdp daemon.
Oct 19 17:11:46 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:11:46 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Oct 19 17:16:19 iomad-test systemd[1]: Dependency failed for xrdp daemon.
Oct 19 17:16:19 iomad-test systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
dpkg: error processing package xrdp (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
xrdp
Any ideas on how to reinstall xrdp and get it working again?
16.04 remote-desktop xrdp
16.04 remote-desktop xrdp
asked Oct 19 '17 at 16:21
richard0096richard0096
314
314
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Yes I got stuck in the same situation but was able to restore to the xrdp from the repository. I spend many hours trying to find out how to undo the script.
Step 1. Remove the service files and the backup files.
sudo rm /lib/systemd/system/xrdp*
Step 2. Remove the new xrdp binaries (to make sure they do not end up in the classpath of the service).
sudo rm /usr/local/bin/xrdp*
sudo rm /usr/local/sbin/xrdp*
Step 3. Remove keys (got a 'security exception' in the client before removal)
sudo rm /etc/xrdp/rsakeys.ini
add a comment |
To provide additional information about how to remove the xrdp files when performing a custom installation, there is in fact a post that has been published in December 2017 (please check here http://c-nergy.be/blog/?p=11454)
Based on your install method, you can uninstall the xrdp installation using apt command (if using xrdp package provided by Canonical or if you compile from source using the checkinstall option...
If you are simply running the custom installation script, you simply need to delete the files in the appropriate location. To summarize actions
sudo systemctl stop xrdp
rm -r /etc/xrdp
rm -r /usr/local/sbin/xrdp
rm /var/run/xrdp.pid
rm /var/run/xrdp-sesman.pid
sudo systemctl disable xrdp
Hope this help
Till Next time
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f966405%2fxrdp-broken-after-install%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes I got stuck in the same situation but was able to restore to the xrdp from the repository. I spend many hours trying to find out how to undo the script.
Step 1. Remove the service files and the backup files.
sudo rm /lib/systemd/system/xrdp*
Step 2. Remove the new xrdp binaries (to make sure they do not end up in the classpath of the service).
sudo rm /usr/local/bin/xrdp*
sudo rm /usr/local/sbin/xrdp*
Step 3. Remove keys (got a 'security exception' in the client before removal)
sudo rm /etc/xrdp/rsakeys.ini
add a comment |
Yes I got stuck in the same situation but was able to restore to the xrdp from the repository. I spend many hours trying to find out how to undo the script.
Step 1. Remove the service files and the backup files.
sudo rm /lib/systemd/system/xrdp*
Step 2. Remove the new xrdp binaries (to make sure they do not end up in the classpath of the service).
sudo rm /usr/local/bin/xrdp*
sudo rm /usr/local/sbin/xrdp*
Step 3. Remove keys (got a 'security exception' in the client before removal)
sudo rm /etc/xrdp/rsakeys.ini
add a comment |
Yes I got stuck in the same situation but was able to restore to the xrdp from the repository. I spend many hours trying to find out how to undo the script.
Step 1. Remove the service files and the backup files.
sudo rm /lib/systemd/system/xrdp*
Step 2. Remove the new xrdp binaries (to make sure they do not end up in the classpath of the service).
sudo rm /usr/local/bin/xrdp*
sudo rm /usr/local/sbin/xrdp*
Step 3. Remove keys (got a 'security exception' in the client before removal)
sudo rm /etc/xrdp/rsakeys.ini
Yes I got stuck in the same situation but was able to restore to the xrdp from the repository. I spend many hours trying to find out how to undo the script.
Step 1. Remove the service files and the backup files.
sudo rm /lib/systemd/system/xrdp*
Step 2. Remove the new xrdp binaries (to make sure they do not end up in the classpath of the service).
sudo rm /usr/local/bin/xrdp*
sudo rm /usr/local/sbin/xrdp*
Step 3. Remove keys (got a 'security exception' in the client before removal)
sudo rm /etc/xrdp/rsakeys.ini
answered Nov 8 '17 at 12:35
Bruno RanschaertBruno Ranschaert
1264
1264
add a comment |
add a comment |
To provide additional information about how to remove the xrdp files when performing a custom installation, there is in fact a post that has been published in December 2017 (please check here http://c-nergy.be/blog/?p=11454)
Based on your install method, you can uninstall the xrdp installation using apt command (if using xrdp package provided by Canonical or if you compile from source using the checkinstall option...
If you are simply running the custom installation script, you simply need to delete the files in the appropriate location. To summarize actions
sudo systemctl stop xrdp
rm -r /etc/xrdp
rm -r /usr/local/sbin/xrdp
rm /var/run/xrdp.pid
rm /var/run/xrdp-sesman.pid
sudo systemctl disable xrdp
Hope this help
Till Next time
add a comment |
To provide additional information about how to remove the xrdp files when performing a custom installation, there is in fact a post that has been published in December 2017 (please check here http://c-nergy.be/blog/?p=11454)
Based on your install method, you can uninstall the xrdp installation using apt command (if using xrdp package provided by Canonical or if you compile from source using the checkinstall option...
If you are simply running the custom installation script, you simply need to delete the files in the appropriate location. To summarize actions
sudo systemctl stop xrdp
rm -r /etc/xrdp
rm -r /usr/local/sbin/xrdp
rm /var/run/xrdp.pid
rm /var/run/xrdp-sesman.pid
sudo systemctl disable xrdp
Hope this help
Till Next time
add a comment |
To provide additional information about how to remove the xrdp files when performing a custom installation, there is in fact a post that has been published in December 2017 (please check here http://c-nergy.be/blog/?p=11454)
Based on your install method, you can uninstall the xrdp installation using apt command (if using xrdp package provided by Canonical or if you compile from source using the checkinstall option...
If you are simply running the custom installation script, you simply need to delete the files in the appropriate location. To summarize actions
sudo systemctl stop xrdp
rm -r /etc/xrdp
rm -r /usr/local/sbin/xrdp
rm /var/run/xrdp.pid
rm /var/run/xrdp-sesman.pid
sudo systemctl disable xrdp
Hope this help
Till Next time
To provide additional information about how to remove the xrdp files when performing a custom installation, there is in fact a post that has been published in December 2017 (please check here http://c-nergy.be/blog/?p=11454)
Based on your install method, you can uninstall the xrdp installation using apt command (if using xrdp package provided by Canonical or if you compile from source using the checkinstall option...
If you are simply running the custom installation script, you simply need to delete the files in the appropriate location. To summarize actions
sudo systemctl stop xrdp
rm -r /etc/xrdp
rm -r /usr/local/sbin/xrdp
rm /var/run/xrdp.pid
rm /var/run/xrdp-sesman.pid
sudo systemctl disable xrdp
Hope this help
Till Next time
answered Jan 13 at 13:56
GriffonGriffon
744411
744411
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f966405%2fxrdp-broken-after-install%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown