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
csudo doesn't work in WSL #1583
Comments
WSL: ConEmuC started under WSL can't find appropriate GUI window. I may check that and this probably may be fixed. Powershell: Notepad is started under Admin credentials. Expected behavior, I don't see the problem. |
Notepad did start under admin credentials in PowerShell, but GUI apps should open in a new window, not within the ConEmu window. |
Nope. When you run ChildGui with |
Oh, now I see. I didn't use much of the features here so I didn't notice that's a thing. Woops. |
Note: `ConEmuC.exe` or `ConEmuC64.exe` are required to run commands, for example: `ConEmuC64.exe -c powershell -new_console`.
Just updated to the latest version. Generally having no problems, but is it possible to launch GUI apps outside of tabs using csudo? |
Via |
Versions
ConEmu build: 180506 preview x64
OS version: Windows 10 16299.431 x64
Used shell: WSL and powershell
Problem description
csudo does not launch consent.exe (does not elevate) when executed in WSL. This worked in the stable build, however.
On powershell (or maybe cmd as well, but untested), GUI applications launch within ConEmu which look bizzare.
Steps to reproduce
Expected results
In WSL, consent.exe should ask for admin permission and launches notepad with admin.
In powershell, notepad should launch in a new window
Actual results
WSL skips consent.exe and opens notepad at user prvileges
Notepad opens within the ConEmu window if executed in powershell.
Additional information
The issue with consent.exe not launching is due to Cygwin/Msys connector. After removing the launch arguments in the {bash} task, the problem disappears. But launching Windows GUI programs within WSL still appears within the ConEmu Window.
This is tested in Quake mode.
Screenshot
The text was updated successfully, but these errors were encountered: