Skip to content

"cannot connect to chrome" on Linux after I deleted "/tmp/snap-private-tmp" #2579

Closed Answered by mdmintz
iamumairayub asked this question in Q&A
Discussion options

You must be logged in to vote

Your /usr/bin/google-chrome call had a link to https://crbug.com/638180, which had a useful comment: https://issues.chromium.org/issues/40480798#comment106. So the first time it didn't work, it was because you improperly deleted a necessary directory that was being used by Chrome. Then you had issues because you reinstalled Chrome with different permissions from before (you need a non-root user). That Chromium issue comment had a link to https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user.

Anyway, this is more of a Linux/Chrome configuration issue than a SeleniumBase one (you did mention your code was working before you made those changes).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants