Electron window does not launch in Ubuntu 22.04 LTS #892

Closed
opened 2026-01-29 16:51:22 +00:00 by claunia · 1 comment
Owner

Originally created by @EswarSM on GitHub (May 27, 2023).

Electron.NET CLI and API version: 23.6.1
.NET Core version: 6.0

Target build: Linux (Ubuntu 22.04)

I created a blazorserver app and added electron .NET to it. The name of the project is dummy2. When I launched the app using dotnet run the server started and I was able to verify. But when I used electronize start, I get the following o/p and nothing else happens,

O/P from electronize start
Start Electron Desktop Application...
Arguments:

dotnet publish -r linux-x64 -c "Debug" --output "/home/soliton/learnings/dummy2/obj/Host/bin" /p:PublishReadyToRun=true /p:PublishSingleFile=true --no-self-contained
Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore...
Restored /home/soliton/learnings/dummy2/dummy2.csproj (in 452 ms).
dummy2 -> /home/soliton/learnings/dummy2/bin/Debug/net6.0/linux-x64/dummy2.dll
dummy2 -> /home/soliton/learnings/dummy2/obj/Host/bin/

node_modules missing in: /home/soliton/learnings/dummy2/obj/Host/node_modules
Start npm install...
npm install

up to date, audited 154 packages in 942ms

23 packages are looking for funding
run npm fund for details

found 0 vulnerabilities

ElectronHostHook handling started...
Invoke electron - in dir: /home/soliton/learnings/dummy2/obj/Host/node_modules/.bin
./electron "../../main.js"
Electron Socket IO Port: 8000
Electron Socket started on port 8000 at 127.0.0.1
ASP.NET Core Port: 8001
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
stdout: Use Electron Port: 8000

Additional checks

  1. I tried the same app with Ubuntu 20.04 and the app launches.
  2. I thought it was mesa issue but when i launch chrome in terminal, I get same MESA-INTEL: warning but the app launches.
  3. I created a node electron app. I get MESA-INTEL: warning but the app launches.

Steps to reproduce

  1. Create a electron dotnet application in Ubuntu 22.04 and launch it
Originally created by @EswarSM on GitHub (May 27, 2023). Electron.NET CLI and API version: **23.6.1** .NET Core version: **6.0** Target build: Linux (Ubuntu 22.04) I created a blazorserver app and added electron .NET to it. The name of the project is dummy2. When I launched the app using dotnet run the server started and I was able to verify. But when I used electronize start, I get the following o/p and nothing else happens, **O/P from electronize start** Start Electron Desktop Application... Arguments: dotnet publish -r linux-x64 -c "Debug" --output "/home/soliton/learnings/dummy2/obj/Host/bin" /p:PublishReadyToRun=true /p:PublishSingleFile=true --no-self-contained Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET Copyright (C) Microsoft Corporation. All rights reserved. Determining projects to restore... Restored /home/soliton/learnings/dummy2/dummy2.csproj (in 452 ms). dummy2 -> /home/soliton/learnings/dummy2/bin/Debug/net6.0/linux-x64/dummy2.dll dummy2 -> /home/soliton/learnings/dummy2/obj/Host/bin/ node_modules missing in: /home/soliton/learnings/dummy2/obj/Host/node_modules Start npm install... npm install up to date, audited 154 packages in 942ms 23 packages are looking for funding run `npm fund` for details found 0 vulnerabilities ElectronHostHook handling started... Invoke electron - in dir: /home/soliton/learnings/dummy2/obj/Host/node_modules/.bin ./electron "../../main.js" Electron Socket IO Port: 8000 Electron Socket started on port 8000 at 127.0.0.1 ASP.NET Core Port: 8001 MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete stdout: Use Electron Port: 8000 **Additional checks** 1. I tried the same app with Ubuntu 20.04 and the app launches. 2. I thought it was mesa issue but when i launch chrome in terminal, I get same MESA-INTEL: warning but the app launches. 3. I created a node electron app. I get MESA-INTEL: warning but the app launches. **Steps to reproduce** 1. Create a electron dotnet application in Ubuntu 22.04 and launch it
claunia added the bug label 2026-01-29 16:51:22 +00:00
Author
Owner

@FlorianRappl commented on GitHub (Nov 1, 2025):

Outdated - use ElectronNET.Core and ElectronNET.Core.AspNet.

See Wiki / What's New.

@FlorianRappl commented on GitHub (Nov 1, 2025): Outdated - use `ElectronNET.Core` and `ElectronNET.Core.AspNet`. See [Wiki / What's New](https://github.com/ElectronNET/Electron.NET/wiki/What's-New).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#892