You are not logged in.

#1 2024-09-24 20:31:35

Foxymoff
Member
Registered: 2024-09-24
Posts: 10

RU/EN I open the program, it closes after 2 seconds

When I open Yandex browser || vs code || vencord || spotify they work for ~2 seconds, then close. Let me clarify, I installed Yandex, Spotify and Vencord using flatpak; vc code using: $ sudo pacman -S
I am attaching the log after opening vencord & yandex & spotify:

log vencord:

foxymoff@arch-linux ~> flatpak run dev.vencord.Vesktop
Using NVIDIA on Wayland, disabling gpu sandbox
Wayland socket is available, running natively on Wayland.
To disable, remove the --socket=wayland permission.
Passing the following arguments to Electron: --enable-speech-dispatcher --disable-gpu-sandbox --ozone-platform-hint=auto
[3:0924/230754.425132:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
APPIMAGE env is not defined, current application is not an AppImage
checkForUpdatesAndNotify called, downloadPromise is null
/app/bin/startvesktop: line 26:     3 Segmentation fault      (core dumped) zypak-wrapper /app/bin/vesktop/vesktop.bin "${FLAGS[@]}" "$@"

log yandex:

foxymoff@arch-linux ~ [1]> flatpak run ru.yandex.Browser
[2:2:0924/232000.213472:ERROR:brand_package_util.cc(112)] Failed to verify partner_config signature, config will be ignored
[2:2:0924/232000.303165:ERROR:isolated_origin_util.cc(75)] Ignoring port number in isolated origin: chrome://custo
[2:2:0924/232000.303191:ERROR:child_process_security_policy_impl.cc(2309)] Invalid isolated origin: 
[2:2:0924/232000.315340:ERROR:chrome_browser_cloud_management_controller.cc(342)] Cloud management controller initialization aborted as CBCM is not enabled.
[2:40:0924/232000.375311:ERROR:cprocsp_api.cc(847)] Failed to load library /opt/cprocsp/lib/amd64/libcapi20.so: /opt/cprocsp/lib/amd64/libcapi20.so: cannot open shared object file: No such file or directory
[ERROR:flutter/shell/platform/embedder/embedder_surface_gl.cc(121)] Could not create a resource context for async texture uploads. Expect degraded performance. Set a valid make_resource_current callback on FlutterOpenGLRendererConfig.
[ERROR:flutter/shell/platform/embedder/embedder_surface_gl.cc(121)] Could not create a resource context for async texture uploads. Expect degraded performance. Set a valid make_resource_current callback on FlutterOpenGLRendererConfig.

log spotify:

foxymoff@arch-linux ~> [spotifywm] attached to spotify
[0924/232741.063754:WARNING:main_runner.cc(261)] Alloy bootstrap is deprecated and will be removed in ~M127. See [url]https://github.com/chromiumembedded/cef/issues/3685[/url]
[spotifywm] attached to spotify
[spotifywm] attached to spotify
[spotifywm] spotify window 800004 found
[spotifywm] spotify window 600004 found
[spotifywm] attached to spotify
foxymoff@arch-linux ~> [spotifywm] spotify window e00007 found
/app/bin/spotify: line 50: Xlib.xauth:: command not found

Any help from anyone is incredibly appreciated. Thank you all.

Last edited by Foxymoff (2024-09-24 20:55:12)

Offline

#2 2024-09-24 22:05:16

seth
Member
Registered: 2012-09-03
Posts: 58,698

Re: RU/EN I open the program, it closes after 2 seconds

Wayland socket is available, running natively on Wayland.
…
/app/bin/spotify: line 50: Xlib.xauth:: command not found

Does any of this work in an X11 session?
Can we see the non-flatschpak errors (VS code)?

Offline

#3 2024-09-24 22:30:16

Foxymoff
Member
Registered: 2024-09-24
Posts: 10

Re: RU/EN I open the program, it closes after 2 seconds

seth wrote:

Does any of this work in an X11 session?

Are there ways to run hyprland on x11?

seth wrote:

Can we see the non-flatschpak errors (VS code)?

When I write the command $ code, there are no logs in the terminal

foxymoff@arch-linux ~> code
foxymoff@arch-linux ~> 

Offline

#4 2024-09-24 22:32:43

seth
Member
Registered: 2012-09-03
Posts: 58,698

Re: RU/EN I open the program, it closes after 2 seconds

No, just run an openbox or icewm session.

ps faux | grep -C3 code

and see https://wiki.archlinux.org/title/Core_d … _core_dump
No output at all is weird and likely indicates a running process (that just failed to show a window => let's see what happens on X11)

Offline

#5 2024-09-24 22:58:48

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,402
Website

Re: RU/EN I open the program, it closes after 2 seconds

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2024-09-24 23:40:36

Foxymoff
Member
Registered: 2024-09-24
Posts: 10

Re: RU/EN I open the program, it closes after 2 seconds

seth wrote:

No, just run an openbox or icewm session.

ps faux | grep -C3 code

Sorry for the long answer, I can't figure out what I'm doing wrong)

foxymoff@arch-linux ~> openbox
Openbox-Message: A window manager is already running on screen 0
foxymoff@arch-linux ~> ps faux | grep -C3 code
foxymoff    1090  0.5  0.4 1079588 120028 tty1   Sl+  02:32   0:00 kitty
foxymoff    1165  0.0  0.0 234988 10084 pts/0    Ssl  02:32   0:00  \_ /bin/fish
foxymoff    1727  100  0.0   8512  5620 pts/0    R+   02:35   0:00      \_ ps faux
foxymoff    1728  0.0  0.0   6640  4220 pts/0    S+   02:35   0:00      \_ grep --color=auto -C3 code
foxymoff@arch-linux ~> sudo ps faux | grep -C3 code
[sudo] password for foxymoff: 
root        1744  0.0  0.0  17992  9124 pts/0    S+   02:35   0:00      \_ sudo ps faux
root        1749  0.0  0.0  17992  2532 pts/1    Ss+  02:35   0:00      |   \_ sudo ps faux
root        1750  0.0  0.0   8512  5680 pts/1    R    02:35   0:00      |       \_ ps faux
foxymoff    1745  0.0  0.0   6640  4324 pts/0    S+   02:35   0:00      \_ grep --color=auto -C3 code

It says openbox on screen 0, but it’s not there)

Offline

#7 2024-09-25 07:37:43

seth
Member
Registered: 2012-09-03
Posts: 58,698

Re: RU/EN I open the program, it closes after 2 seconds

No, it says "a window manager", this isn't how this works.

loginctl session-status
uname -a

Offline

#8 2024-09-25 12:32:15

Foxymoff
Member
Registered: 2024-09-24
Posts: 10

Re: RU/EN I open the program, it closes after 2 seconds

Sorry for the long answer

seth wrote:
loginctl session-status
foxymoff@arch-linux ~> loginctl session-status
2 - foxymoff (1000)
  Since: Wed 2024-09-25 02:32:25 MSK; 6h ago
  State: active
 Leader: 689 (sddm-helper)
   Seat: seat0; vc1
    TTY: tty1
 Remote: no
Service: sddm
   Type: wayland
  Class: user
   Idle: no
   Unit: session-2.scope
         ├─ 689 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-a
uth-b2d97b77-ea42-431e-85ad-8c94c15aa443 --id 1 --start Hyprland --user fo
xymoff
         ├─ 740 Hyprland
         ├─ 839 /bin/sh -c "waybar & hyprpaper"
         ├─ 840 waybar
         ├─ 841 hyprpaper
         ├─ 847 Xwayland :1 -rootless -core -listenfd 280 -lis
tenfd 281 -displayfd 303 -wm 300
         ├─ 944 /usr/lib/firefox/firefox
         ├─1034 /usr/lib/firefox/firefox -contentproc -parentB
uildID 20240917205827 -prefsLen 32124 -prefMapSize 255928 -appDir /usr/lib
/firefox/browser {2fbb224a-07ac-4395-9437-5a79a4e26d2b} 944 true socket
         ├─1048 /usr/lib/firefox/firefox -contentproc -childID
 1 -isForBrowser -prefsLen 32189 -prefMapSize 255928 -jsInitLen 234840 -pa
rentBuildID 20240917205827 -greomni /usr/lib/firefox/omni.ja -appomni /usr
/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser {902151bf-11
ef-4a2e-95f5-0579813b7d9b} 944 true tab
         ├─1090 kitty
         ├─1110 /usr/lib/firefox/firefox -contentproc -childID
 2 -isForBrowser -prefsLen 38202 -prefMapSize 255928 -jsInitLen 234840 -pa
rentBuildID 20240917205827 -greomni /usr/lib/firefox/omni.ja -appomni /usr
/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser {4231979d-30
b9-4078-b365-dc38c24aca98} 944 true tab
         ├─1208 /usr/lib/firefox/firefox -contentproc -parentB
uildID 20240917205827 -sandboxingKind 0 -prefsLen 38202 -prefMapSize 25592
8 -appDir /usr/lib/firefox/browser {97be015f-c88d-4175-a862-555e10f7ce91} 
944 true utility
         ├─1217 /usr/lib/firefox/firefox -contentproc -childID
 3 -isForBrowser -prefsLen 33390 -prefMapSize 255928 -jsInitLen 234840 -pa
rentBuildID 20240917205827 -greomni /usr/lib/firefox/omni.ja -appomni /usr
/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser {b2529c38-5c
f7-4050-b67f-ccf51a1c8d41} 944 true tab
         ├─1261 /usr/lib/firefox/firefox -contentproc -childID
 5 -isForBrowser -prefsLen 33390 -prefMapSize 255928 -jsInitLen 234840 -pa
rentBuildID 20240917205827 -greomni /usr/lib/firefox/omni.ja -appomni /usr
/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser {fb40072a-3f
3c-4ead-8a0b-b32455e73cb5} 944 true tab
         ├─1351 /usr/lib/firefox/firefox -contentproc -childID
 6 -isForBrowser -prefsLen 33501 -prefMapSize 255928 -jsInitLen 234840 -pa
rentBuildID 20240917205827 -greomni /usr/lib/firefox/omni.ja -appomni /usr
/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser {8c567375-1b
ee-48ed-b486-6665347067c1} 944 true tab
         ├─1784 /usr/lib/firefox/firefox -contentproc -childID
 9 -isForBrowser -prefsLen 33501 -prefMapSize 255928 -jsInitLen 234840 -pa
rentBuildID 20240917205827 -greomni /usr/lib/firefox/omni.ja -appomni /usr
/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser {44be7813-86
e4-47e3-9d27-a8d97e6ee1a4} 944 true tab
         ├─2287 /usr/lib/firefox/firefox -contentproc -childID
 10 -isForBrowser -prefsLen 33501 -prefMapSize 255928 -jsInitLen 234840 -p
arentBuildID 20240917205827 -greomni /usr/lib/firefox/omni.ja -appomni /us
r/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser {aa532d00-8
240-4389-b0fa-04c0656bc8a8} 944 true tab
         ├─2859 /usr/lib/firefox/firefox -contentproc -childID
 11 -isForBrowser -prefsLen 33501 -prefMapSize 255928 -jsInitLen 234840 -p
arentBuildID 20240917205827 -greomni /usr/lib/firefox/omni.ja -appomni /us
r/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser {a5f5fae8-e
cd7-4bf1-8c58-91ba1e841306} 944 true tab
         ├─2910 /usr/lib/firefox/firefox -contentproc -childID
 12 -isForBrowser -prefsLen 33501 -prefMapSize 255928 -jsInitLen 234840 -p
arentBuildID 20240917205827 -greomni /usr/lib/firefox/omni.ja -appomni /us
r/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser {ffd4fb7b-8
719-4aed-9f70-e26cc6bae879} 944 true tab
         └─2998 /usr/lib/firefox/firefox -contentproc -childID
 13 -isForBrowser -prefsLen 33501 -prefMapSize 255928 -jsInitLen 234840 -p
arentBuildID 20240917205827 -greomni /usr/lib/firefox/omni.ja -appomni /us
r/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser {184fdd09-9
71f-4698-8037-460bc633544b} 944 true tab
seth wrote:
uname -a
foxymoff@arch-linux ~> uname 
Linux arch-linux 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64 GNU/Linux

Last edited by Foxymoff (2024-09-25 12:37:10)

Offline

#9 2024-09-25 14:42:22

seth
Member
Registered: 2012-09-03
Posts: 58,698

Re: RU/EN I open the program, it closes after 2 seconds

Simply select the openbix session in SDDM, openbox only runs on X11

Offline

#10 2024-09-25 14:55:39

Foxymoff
Member
Registered: 2024-09-24
Posts: 10

Re: RU/EN I open the program, it closes after 2 seconds

seth wrote:

Simply select the openbix session in SDDM, openbox only runs on X11

I don't really see how this can be done)

Offline

#11 2024-09-25 14:57:15

seth
Member
Registered: 2012-09-03
Posts: 58,698

Re: RU/EN I open the program, it closes after 2 seconds

SDDM (*any* DM)  will allow you to select your user and the session you want to start.
How did you install archlinux?

Offline

#12 2024-09-25 15:13:04

Foxymoff
Member
Registered: 2024-09-24
Posts: 10

Re: RU/EN I open the program, it closes after 2 seconds

seth wrote:

How did you install archlinux?

))

seth wrote:

Simply select the openbix session in SDDM, openbox only runs on X11

I have one problem, sddm froze after I selected openbox and entered the user's password) Linux is completely frozen, except for the cursor.

Offline

#13 2024-09-25 15:15:00

seth
Member
Registered: 2012-09-03
Posts: 58,698

Re: RU/EN I open the program, it closes after 2 seconds

Openbox is just a window manager, what you see is like likely exactly what you can expect.
Try to click the right mouse button.

))

So this isn't archlinux?

Offline

#14 2024-09-25 15:19:56

Foxymoff
Member
Registered: 2024-09-24
Posts: 10

Re: RU/EN I open the program, it closes after 2 seconds

seth wrote:

Openbox is just a window manager, what you see is like likely exactly what you can expect.
Try to click the right mouse button.

No way, its working, I deeply apologize for the complete ignorance of this OS)

seth wrote:

So this isn't archlinux?

No, it's archlinux.

Offline

#15 2024-09-25 15:32:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,084

Re: RU/EN I open the program, it closes after 2 seconds

Then answer the question, maybe?

Offline

#16 2024-09-25 15:35:29

Foxymoff
Member
Registered: 2024-09-24
Posts: 10

Re: RU/EN I open the program, it closes after 2 seconds

Scimmia wrote:

Then answer the question, maybe?

using the guide

Offline

#17 2024-09-25 15:39:29

Foxymoff
Member
Registered: 2024-09-24
Posts: 10

Re: RU/EN I open the program, it closes after 2 seconds

seth wrote:

No, just run an openbox or icewm session.

ps faux | grep -C3 code

and see https://wiki.archlinux.org/title/Core_d … _core_dump
No output at all is weird and likely indicates a running process (that just failed to show a window => let's see what happens on X11)


exactly the same logs and the problem on x11(

Offline

#18 2024-09-25 22:06:12

seth
Member
Registered: 2012-09-03
Posts: 58,698

Re: RU/EN I open the program, it closes after 2 seconds

exactly the same logs and the problem on x11(

Most certainly not.

foxymoff@arch-linux ~> flatpak run dev.vencord.Vesktop
Using NVIDIA on Wayland, disabling gpu sandbox
Wayland socket is available, running natively on Wayland.
To disable, remove the --socket=wayland permission.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

So, broadsword:

strace -tt -f -o /tmp/code.strace code
cat /tmp/code.strace | curl -F 'file=@-' 0x0.st

Offline

#19 2024-09-26 00:50:11

Foxymoff
Member
Registered: 2024-09-24
Posts: 10

Re: RU/EN I open the program, it closes after 2 seconds

seth wrote:

So, broadsword:

strace -tt -f -o /tmp/code.strace code

if I open all the code through this command, then it works for a minute, but then it crashes without logs.

seth wrote:
cat /tmp/code.strace | curl -F 'file=@-' 0x0.st
cat: /mtp/code.strace: there is no such file or directory
451 Unavailable For Legal Reasons 

Offline

#20 2024-09-26 07:08:20

seth
Member
Registered: 2012-09-03
Posts: 58,698

Re: RU/EN I open the program, it closes after 2 seconds

if I open all the code through this command, then it works for a minute, but then it crashes without logs.

Strace will slow down things, but it's borderline impossible to not get some craghs message or coredump this way.

code; echo $? # this is gonna print a number - which?

cat: /mtp/code.strace: there is no such file or directory

Cause it's "tmp", not "mtp" - you'll have to pay a little attention to what you type here…

451 Unavailable For Legal Reasons

Ahhh… putinstan roll
Upload the strace log somewhere your dictator isn't afraid of.

Offline

Board footer

Powered by FluxBB