Score:1

How to disable clipboard redirection for my users from their local systems in xrdp

cn flag

I am an administrator of the Ubuntu Server. I have 7 users. They log in through RDP. So I need to disable the clipboard from their local machine to the remote system. How to achieve this?

Ubuntu 20.04.3 LTS.

Score:1
tt flag

By default, xRDP indeed will allow clipboard redirection and drive redirection. If you edit the following file

/etc/xrdp/xrdp.ini

Scroll through the file and locate the section

[Channels]

You will see something like this

[Channels]
; Channel names not listed here will be blocked by XRDP.
; You can block any channel by setting its value to false.
; IMPORTANT! All channels are not supported in all use
; cases even if you set all values to true.
; You can override these settings on each session type
; These settings are only used if allow_channels=true
rdpdr=true
rdpsnd=true
drdynvc=true
cliprdr=true
rail=true
xrdpvr=true
tcutils=true

Change value to false for the cliprdr (clibpoard redirection) and rdpdr (drive redirection). So, your file should look like this

[Channels]
; Channel names not listed here will be blocked by XRDP.
; You can block any channel by setting its value to false.
; IMPORTANT! All channels are not supported in all use
; cases even if you set all values to true.
; You can override these settings on each session type
; These settings are only used if allow_channels=true
rdpdr=false
rdpsnd=true
drdynvc=true
cliprdr=false
rail=true
xrdpvr=true
tcutils=true

Then restart your xrdp service to use the new settings.

Hope this help Till next time See ya

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.