You are not logged in.
Pages: 1
Topic closed
running
code --disable-extensions --disable-gpu --verbose --log error
gives me:
[18366:1230/111028.285256:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
[18400:1230/111028.328907:WARNING:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
[main 2022-12-30T19:10:28.408Z] [File Watcher (node.js)] Request to start watching: /home/will/.config/Code/User (excludes: <none>, includes: <all>),/home/will/.config/Code/User/settings.json (excludes: <none>, includes: <all>)
[main 2022-12-30T19:10:28.426Z] Starting VS Code
[main 2022-12-30T19:10:28.426Z] from: /opt/visual-studio-code/resources/app
[main 2022-12-30T19:10:28.426Z] args: {
_: [],
diff: false,
merge: false,
add: false,
goto: false,
'new-window': false,
'reuse-window': false,
wait: false,
help: false,
'list-extensions': false,
'show-versions': false,
'pre-release': false,
version: false,
verbose: true,
log: [ 'error' ],
status: false,
'prof-startup': false,
'no-cached-data': false,
'prof-v8-extensions': false,
'disable-extensions': true,
'disable-gpu': true,
'ms-enable-electron-run-as-node': false,
telemetry: false,
debugRenderer: false,
'enable-smoke-test-driver': false,
logExtensionHostCommunication: false,
'skip-release-notes': false,
'skip-welcome': false,
'disable-telemetry': false,
'disable-updates': false,
'disable-keytar': false,
'disable-workspace-trust': false,
'disable-crash-reporter': false,
'crash-reporter-id': '83b95557-22e9-49fa-9880-ce5978da6f71',
'skip-add-to-recently-opened': false,
'unity-launch': false,
'open-url': false,
'file-write': false,
'file-chmod': false,
force: false,
'do-not-sync': false,
trace: false,
'force-user-env': false,
'force-disable-user-env': false,
'open-devtools': false,
'__enable-file-policy': false,
'enable-coi': false,
'no-proxy-server': false,
'no-sandbox': false,
nolazy: false,
'force-renderer-accessibility': false,
'ignore-certificate-errors': false,
'allow-insecure-localhost': false,
'disable-dev-shm-usage': false,
'profile-temp': false,
logsPath: '/home/will/.config/Code/logs/20221230T111028'
}
[main 2022-12-30T19:10:28.428Z] Resolving machine identifier...
[main 2022-12-30T19:10:28.429Z] Resolved machine identifier: 2912da6bed91bf676677da0275cb81f8b244628abd0f0a13af97b8a961a14a49
[main 2022-12-30T19:10:28.430Z] Main->SharedProcess#connect
[main 2022-12-30T19:10:28.434Z] [File Watcher (node.js)] Started watching: '/home/will/.config/Code/User'
[main 2022-12-30T19:10:28.438Z] [File Watcher (node.js)] Started watching: '/home/will/.config/Code/User/settings.json'
[main 2022-12-30T19:10:28.439Z] StorageMainService: creating application storage
[main 2022-12-30T19:10:28.444Z] lifecycle (main): phase changed (value: 2)
[main 2022-12-30T19:10:28.445Z] windowsManager#open
[main 2022-12-30T19:10:28.445Z] windowsManager#open pathsToOpen [ [Object: null prototype] {} ]
[main 2022-12-30T19:10:28.446Z] windowsManager#doOpenEmpty {
restore: false,
remoteAuthority: undefined,
filesToOpen: undefined,
forceNewWindow: false
}
[main 2022-12-30T19:10:28.448Z] IPC Object URL: Registered new channel vscode:8e4a343e-6d42-44d5-8df5-5a96eb6be409.
[main 2022-12-30T19:10:28.448Z] window#validateWindowState: validating window state on 1 display(s) {
width: 1024,
height: 768,
mode: 1,
x: 448,
y: 156,
hasDefaultState: true
}
[main 2022-12-30T19:10:28.448Z] window#validateWindowState: 1 monitor working area { x: 0, y: 0, width: 1920, height: 1048 }
[main 2022-12-30T19:10:28.448Z] window#ctor: using window state {
width: 1024,
height: 768,
mode: 1,
x: 448,
y: 156,
hasDefaultState: true
}
[main 2022-12-30T19:10:28.520Z] window#load: attempt to load window (id: 1)
[main 2022-12-30T19:10:28.548Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 0, emptyToRestore: 0, emptyToOpen: 1)
[main 2022-12-30T19:10:28.549Z] lifecycle (main): phase changed (value: 3)
[main 2022-12-30T19:10:28.550Z] update#setState idle
[main 2022-12-30T19:10:28.552Z] resolveShellEnv(): skipped (VSCODE_CLI is set)
[main 2022-12-30T19:10:28.690Z] resolveShellEnv(): skipped (VSCODE_CLI is set)
[18437:1230/111029.738784:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)
and the window immediately closes
Last edited by gatimus (2023-01-03 20:39:29)
Offline
I have removed all config files and reinstalled, I don't know what else to try
Last edited by gatimus (2022-12-30 20:13:36)
Offline
In which environment are you trying to run that? Console [probably not as you mentioned the window closing], from a terminal emulator? In Xorg? Wayland? i3/Gnome/plasma/sway?
Last edited by ewaller (2022-12-30 23:15:06)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Moving to AUR issues.
Offline
In which environment are you trying to run that? Console [probably not as you mentioned the window closing], from a terminal emulator? In Xorg? Wayland? i3/Gnome/plasma/sway?
From LXQt so xorg and from Alacritty (terminal emulator) so I can set those flags and get the verbose output but same behavior.
Last edited by gatimus (2023-01-02 21:05:12)
Offline
The error in the output is:
[18437:1230/111029.738784:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)
but I can only find things about that error TCP and not specifically vscode and Arch linux.
Offline
https://github.com/microsoft/vscode/issues/118727
Did you have a snap/flatpak installation as well?
Online
https://github.com/microsoft/vscode/issues/118727
Did you have a snap/flatpak installation as well?
No I don't have snap or flatpak.
Offline
Still https://github.com/microsoft/vscode/iss … -801847011 - did you try to remove any vscodevscode.github-authentication/github.auth key and/or using a fresh (local) user account?
Online
Still https://github.com/microsoft/vscode/iss … -801847011 - did you try to remove any vscodevscode.github-authentication/github.auth key and/or using a fresh (local) user account?
Not sure how to do that on LXQt (https://github.com/lxqt/lxqt/issues/756 … -122785050 they don't seem to have it) but a fresh user seems to work. I'd hope to continue using my user. gpg -k dosn't seem to output anything to do with vscode
Offline
I installed kdewalletmanager and found and deleted vscodevscode.github-authentication/github.auth but that didn't fix.
Offline
Now with --verbose --log error I get no errors but it still closes silently
Offline
I solved by backing by moving/backup all my dot files and cp -rT /etc/skel/ "$HOME"
Offline
Fixed for me after adding this to my settings ~/.config/Code\ -\ OSS//User/settings.json
{
"window.titleBarStyle": "custom"
}
Last edited by fooblub (2023-12-11 23:49:47)
Offline
Closing this old solved topic.
Offline
Pages: 1
Topic closed