Bug 467876 - Konsole Windows Server Compatibility
Summary: Konsole Windows Server Compatibility
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: emulation (show other bugs)
Version: unspecified
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-28 09:23 UTC by jankmann
Modified: 2023-03-28 09:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jankmann 2023-03-28 09:23:09 UTC
First of all, thanks for making Konsole work on Windows!

SUMMARY
***
Probably due to the usual difference between Windows Server and Windows Desktop OS Versions Konsole is unable to start a PTY with the following error message.

Warning: Could not start program 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' with arguments ''.
Warning: Conhost failed to start

The same happens when configuring a cmd.exe Profile

Warning: Could not start program 'C:\Windows\System32\cmd.exe' with arguments ''.
Warning: Conhost failed to start
***


STEPS TO REPRODUCE
1. Start konsole with the default Profil

OBSERVED RESULT
Shell session does not start

EXPECTED RESULT
Shell (Powershell/CMD) should start


SOFTWARE/OS VERSIONS
Windows: Server 2019 Standard 1809 build 17763.4010
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
I don't know if it's relevant, but conhost.exe seems to be different between OS Versions (Desktop/Server)

Desktop:
Name           : conhost.exe
Length         : 867840
CreationTime   : 03.03.2023 08:56:08
LastWriteTime  : 03.03.2023 08:56:08
LastAccessTime : 28.03.2023 11:17:00
Mode           : -a----
LinkType       : HardLink
Target         : {C:\Windows\WinSxS\amd64_microsoft-onecore-console-host-core_31bf3856ad364e35_10.0.19041.2546_none_e239a883d9808609\conhost.exe}
VersionInfo    : File:             C:\Windows\System32\conhost.exe
                 InternalName:     ConHost
                 OriginalFilename: CONHOST.EXE.MUI
                 FileVersion:      10.0.19041.2604 (WinBuild.160101.0800)
                 FileDescription:  Host für Konsolenfenster
                 Product:          Betriebssystem Microsoft® Windows®
                 ProductVersion:   10.0.19041.2604


Server:
Name                                         : conhost.exe
Length                                       : 823808
CreationTime                                 : 06.03.2023 09:44:08
LastWriteTime                                : 06.03.2023 09:44:08
LastAccessTime                               : 06.03.2023 09:44:08
Mode                                         : -a----
LinkType                                     : HardLink
Target                                       : {C:\Windows\WinSxS\amd64_microsoft-onecore-console-host-core_31bf3856ad364e35_10.0.17763.4010_non
                                               e_bb44bcbcf5ebae34\conhost.exe}
VersionInfo                                  : File:             C:\Windows\System32\conhost.exe
                                               InternalName:     ConHost
                                               OriginalFilename: CONHOST.EXE.MUI
                                               FileVersion:      10.0.17763.1 (WinBuild.160101.0800)
                                               FileDescription:  Host für Konsolenfenster
                                               Product:          Betriebssystem Microsoft® Windows®
                                               ProductVersion:   10.0.17763.1