Skip to content

Electron window does not launch in Ubuntu 22.04 LTS #782

@EswarSM

Description

@EswarSM

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions