Skip to content

.AdvancedSettings2.DisableCtrlAltDel = 1 is not working ? #3464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fuqifacai opened this issue Mar 20, 2025 · 1 comment
Open

.AdvancedSettings2.DisableCtrlAltDel = 1 is not working ? #3464

fuqifacai opened this issue Mar 20, 2025 · 1 comment
Labels

Comments

@fuqifacai
Copy link

xrdp version

0.9.20

Detailed xrdp version, build options

Paste the result between `~~~`.  Please DO NOT remove `~~~`!

Operating system & version

Debian12

Installation method

dnf / apt / zypper / pkg / etc

Which backend do you use?

Xvnc

What desktop environment do you use?

GNOME

Environment xrdp running on

Physical machine

What's your client?

WPF Sample codes on windows 10 x64 bit

Area(s) with issue?

No response

Steps to reproduce

I wrote a WPF rdp client to connect xrdp server by using MS's RDP COM component.
below are core codes:
rdpClient.ColorDepth = 32;

        rdpClient.AdvancedSettings2.HotKeyCtrlAltDel = 0;
        rdpClient.AdvancedSettings2.HotKeyFullScreen = 0;
        rdpClient.ColorDepth = 32;
        rdpClient.AdvancedSettings2.PerformanceFlags = 128;

        rdpClient.AdvancedSettings7.EnableCredSspSupport = true;
        rdpClient.AdvancedSettings2.SmartSizing = true;
        rdpClient.AdvancedSettings2.RedirectDrives = true;
        rdpClient.AdvancedSettings2.RedirectPrinters = true;

        rdpClient.AdvancedSettings2.BitmapVirtualCache24BppSize = 32;

        rdpClient.AdvancedSettings2.EnableWindowsKey = 0;
        rdpClient.AdvancedSettings2.DisableCtrlAltDel = 1;
        rdpClient.AdvancedSettings2.ShadowBitmap = 1;
        rdpClient.AdvancedSettings2.MaximizeShell = 1;
        rdpClient.AdvancedSettings2.CachePersistenceActive = 1;
        rdpClient.AdvancedSettings2.BitmapPersistence = 0;

The problem is this line;
rdpClient.AdvancedSettings2.DisableCtrlAltDel = 1;
if set to 1 it works fine, if set to 0 , will show black screen and disconnected callback raised.

✔️ Expected Behavior

Expect DisableCtrlAltDel could be set to 0

❌ Actual Behavior

     rdpClient.AdvancedSettings2.DisableCtrlAltDel = 1;

if set to 1 it works fine, if set to 0 , will show black screen and disconnected callback raised.

Anything else?

No response

@fuqifacai fuqifacai added the bug label Mar 20, 2025
@matt335672
Copy link
Member

Hi @fuqifacai

Thanks for raising this.

Are you able to post the contents of /var/log/xrdp.log straight after this happens?

The flag you are referring to is passed to xrdp in a TS_INFO_PACKET, but it's not a flag that we use. Something else may be going on here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants