{"id":1187,"date":"2025-03-04T00:51:56","date_gmt":"2025-03-04T00:51:56","guid":{"rendered":"https:\/\/mebenedetto.com\/blog\/?p=1187"},"modified":"2025-03-04T00:57:44","modified_gmt":"2025-03-04T00:57:44","slug":"windsurf-not-working-in-linux-after-upgrading","status":"publish","type":"post","link":"https:\/\/mebenedetto.com\/blog\/windsurf-not-working-in-linux-after-upgrading\/","title":{"rendered":"Windsurf not working in linux after upgrading"},"content":{"rendered":"\n<p>I recently updated my Windsurf installation on my Ubuntu 24.04 laptop and it completly stopped working.<br><br>To debug what was happening I needed to run this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">windsurf --verbose<\/code><\/pre>\n\n\n\n<p>I got this output:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">~$ windsurf --verbose\n[16546:0303\/214420.288495:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that \/usr\/share\/windsurf\/chrome-sandbox is owned by root and has mode 4755.<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">The solution<\/h2>\n\n\n\n<p>the verbose info led my to the fix for this. I needed to run these commands in my terminal, and voil\u00e1, Windsurf is working again:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">sudo chmod 4755 \/usr\/share\/windsurf\/chrome-sandbox<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">sudo chown root \/usr\/share\/windsurf\/chrome-sandbox<\/code><\/pre>\n\n\n\n<p>Hope this works for you too.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently updated my Windsurf installation on my Ubuntu 24.04 laptop and it completly stopped working. To debug what was happening I needed to run this command: I got this output: The solution the verbose info led my to the fix for this. I needed to run these commands in my terminal, and voil\u00e1, Windsurf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1193,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-1187","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software"],"_links":{"self":[{"href":"https:\/\/mebenedetto.com\/blog\/wp-json\/wp\/v2\/posts\/1187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mebenedetto.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mebenedetto.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mebenedetto.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mebenedetto.com\/blog\/wp-json\/wp\/v2\/comments?post=1187"}],"version-history":[{"count":3,"href":"https:\/\/mebenedetto.com\/blog\/wp-json\/wp\/v2\/posts\/1187\/revisions"}],"predecessor-version":[{"id":1191,"href":"https:\/\/mebenedetto.com\/blog\/wp-json\/wp\/v2\/posts\/1187\/revisions\/1191"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mebenedetto.com\/blog\/wp-json\/wp\/v2\/media\/1193"}],"wp:attachment":[{"href":"https:\/\/mebenedetto.com\/blog\/wp-json\/wp\/v2\/media?parent=1187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mebenedetto.com\/blog\/wp-json\/wp\/v2\/categories?post=1187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mebenedetto.com\/blog\/wp-json\/wp\/v2\/tags?post=1187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}