warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.86k stars 355 forks source link

Support Warp for Linux on WSL (Windows Subsystem for Linux) #4240

Open dannyneira opened 6 months ago

dannyneira commented 6 months ago

The issue for users to track and show support for running Warp for Linux on WSL.

To be clear, we are still working on making a native Warp for Windows (exe), which we will post about on #204 later this year so stay tuned!

We have a list of workarounds to issues running Linux here. If none of the workarounds help, please open a new GitHub issue and include logs along with your Linux distro, installation (WSL, Baremetal or VM, x86 or ARM), and the issue you had.

How important is this feature to you?

Please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified. We'll be posting updates on this thread (if/when this is being worked on).

Please avoid comments with spam-like "+1" or 👍 .

ayesparshh commented 6 months ago

https://github.com/warpdotdev/Warp/assets/96340685/e740cc6b-3596-4331-9976-af328756c71d

this is happening every time I try to open warp from start menu

carlosaya commented 6 months ago

@carlosaya @RayyanNafees try running: WARP_ENABLE_WAYLAND=1 warp-terminal

if that works for you, then you can set it up in you ~/.profile - refer #4240 (comment)

Thanks. I did try that earlier. Unfortunately it doesn't work for me.

chhoumann commented 6 months ago

Warp has been working great for me, and I really enjoy using it over the standard terminal, so thanks!

If your window looks glitchy, and it says [WARN: COPY MODE] in your taskbar for the process name, you need to update your WSL (or restart it).

While I imagine this would be troublesome, and perhaps not worth the effort, I'd love to see notification support after long-running tasks.

dannyneira commented 6 months ago

Hey folks! Thanks for your patience while trying Warp. Could you download this preview version of Warp and see if it fixes your issues:

deb rpm pacman appimage

If using Wayland, you can enable Wayland support by setting the WARP_ENABLE_WAYLAND envar (e.gWARP_ENABLE_WAYLAND=1 warp-terminal).

kimhegg commented 6 months ago

@dannyneira this worked! I was now able to launch warp, and paste my token with no issues. Now the "only" problem is that my terminal looks like this: image

By resizing, it's temporarly recovers (while draging )

AurelienConte commented 6 months ago

using WARP_ENABLE_WAYLAND=1 have fixed the issue for me @kimhegg

nothsa commented 6 months ago

Hey folks! Thanks for your patience while trying Warp. Could you download this preview version of Warp and see if it fixes your issues:

deb rpm pacman appimage

If using Wayland, you can enable Wayland support by setting the WARP_ENABLE_WAYLAND envar (e.gWARP_ENABLE_WAYLAND=1 warp-terminal).

I wasn't able to get previous versions working on WSL (couldn't get past the login screen), but this latest release seems to Just Work™ for me on WSL, without needing to add any additional environment variables. Send thanks to your dev team, @dannyneira !

kimhegg commented 6 months ago

using WARP_ENABLE_WAYLAND=1 have fixed the issue for me @kimhegg

i have tried that. won´t even launch then .

dannyneira commented 6 months ago

I've also had success with making sure the x11 (Xorg) is updated.

kimhegg commented 6 months ago

Ok, i updated xorg and set wayland to 1. It Works! 👍 Cheers

max-hassani commented 6 months ago

On Windows 11, I am running warp on WSL2 running Ubuntu 22.04. The installation went fine as suggested above. There was only one issue with the resizing the window to maximized mode, but I found a workaround. If you press windows+right and repeat two times windows+up, the window would go to full screen correctly. It is not a solution, but it helped me to have the window in full size.

Lschulzes commented 6 months ago

Hey folks! Thanks for your patience while trying Warp. Could you download this preview version of Warp and see if it fixes your issues:

deb rpm pacman appimage

If using Wayland, you can enable Wayland support by setting the WARP_ENABLE_WAYLAND envar (e.gWARP_ENABLE_WAYLAND=1 warp-terminal).

pacman image link is broken

vorporeal commented 6 months ago

Good catch; the correct URL is https://releases.warp.dev/stable/v0.2024.02.27.08.01.stable_00/warp-terminal-v0.2024.02.27.08.01.stable_00-1-x86_64.pkg.tar.zst.

dannyneira commented 6 months ago

Thanks, fixed it in my comment as well.

dangenendt commented 6 months ago

Ok. On my second windows machine now it looks also good! Full screening does still not work, but doesnt matter for now. Also pretty funny: Using the freshly installed version shows, that there is an update for warp, pointing to the old version 😊 image + image

vorporeal commented 6 months ago

Yeah, ignore updates until Friday - the app will recommend downgrading (which exists in case a bad release goes out and the best remediation is to downgrade instead of release a new hotfix).

carlosaya commented 6 months ago

up and running here after installing the preview version. thanks!

Stelminator commented 6 months ago

@dannyneira

Hey folks! Thanks for your patience while trying Warp. Could you download this preview version of Warp and see if it fixes your issues:

deb [...snip...]

@Stelminator

[...snip...] This gave me access to xdg-open and friends, which seemed to make Firefox happier to try to open warp:// links with the system, but that didn't seem to get to Warp correctly. [...snip...] Edited to add: Is the "copy auth token" link supposed to be a warp://... link? Pasting that into the box in the app gave me an error message. I couldn't tell if it was pasted correctly, but paste seemed to work in Firefox, so 🤷 .

TL;DR: I can no longer reproduce either with this new version.

With this version, opening links in Firefox and then forwarding back automatically to log into Warp works as I imagine it's supposed to. As does pasting an auth token.

I had more trouble testing the auth token paste because if I logged in to Warp inside Firefox in WSL, it seamlessly logged me in with no chance to copy the token.

Roninii commented 6 months ago

Experiencing the blurry/glitched looking terminal when launching directly from the windows search. Everything seems to work fine if I run WARP_ENABLE_WAYLAND=1 warp-terminal from windows terminal instead of launching Warp directly from the start menu. Is there a way for me to set this when launching the app directly instead of launching via windows terminal? image

Stelminator commented 6 months ago

@Roninii

Experiencing the blurry/glitched looking terminal when launching directly from the windows search. Everything seems to work fine if I run WARP_ENABLE_WAYLAND=1 warp-terminal from windows terminal instead of launching Warp directly from the start menu. Is there a way for me to set this when launching the app directly instead of launching via windows terminal? image

try the top part of my previous post: https://github.com/warpdotdev/Warp/issues/4240#issuecomment-1963333613

clystian commented 6 months ago

it works finally!

Screenshot 2024-02-27 233602

Previously, I followed similar steps as @ljtruong and I updated ubuntu and packages

  1. Downloaded the .deb file: https://app.warp.dev/download?package=deb

  2. Installed the .deb package within WSL:

    sudo dpkg -i warp-terminal_<latest_version>.deb
  3. Executed Warp Terminal:

    WARP_ENABLE_WAYLAND=1 MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA warp-terminal

    or add these lines into ~/.bash_profile or ~/.zshrc or any config file for your current terminal

    export WARP_ENABLE_WAYLAND=1
    export MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA
    export BROWSER=google-chrome

    and now you execute warp-terminal because the environment variables were previously set.

  4. Obtained the authentication token:

    • Installed a web browser (e.g., Google Chrome) to retrieve the authentication token.
    • Downloaded the Google Chrome .deb package:
      wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
      sudo apt -y install ./google-chrome-stable_current_amd64.deb
    • Ensure to set Chrome as default browser on the first open and add export BROWSER=google-chrome into your profile config
    • Logged in to https://app.warp.dev/login/remote.

image

saigkill commented 6 months ago

I tried out Warp on WSL (Debian). While startup it shows me the error:

15:11:48 [ERROR] Failed to acquire default Secret Service collection: unknown error 15:11:48 [INFO] Failed to read User from secure storage NotFound

What is this SecretService what it is looking for?

After clicking on "Sign up" it detects the Signup event and dispatched it:

15:11:52 [INFO] dispatching typed action: Signup 15:11:56 [WARN] redraw_frame was called 2 times before the frame was drawn 15:11:56 [WARN] Failed to record time "sample value too large" 15:12:19 [INFO] dispatching action for "root_view:close_window" 15:12:19 [INFO] application will terminate 15:12:19 [INFO] Shutting down SQLite writer thread 15:12:19 [INFO] Shut down SQLite writer in 1.337802ms 15:12:19 [INFO] Writing queued events to disk because telemetry is enabled.

But no Browser comes up. Firefox is installed and set as default browser. The $BROWSER env variable points to its path. And xdg-open Launches Firefox and loads a given site. But Warp doesn't shows me the login page.

Reymlgz commented 6 months ago

Recording.2024-02-27.124235.mp4

this is happening every time I try to open warp from start menu

I have the same issue. Did you find I way to run it?

ThomasHoutrique commented 6 months ago

Hey, i'm getting :

16:49:44 [WARN] Initialized platform X11 doesn't work with window Wayland(WaylandWindowHandle { surface: 0x55588797aef0 })
16:49:44 [ERROR] surface configuration failed: incompatible window kind
thread 'main' panicked at /home/runner/.cargo/git/checkouts/wgpu-163ac9f6133c4ea6/171e5e2/wgpu/src/backend/direct.rs:778:18:
Error in Surface::configure: Validation Error

Caused by:
    Invalid surface

with : WARP_ENABLE_WAYLAND=1 warp-terminal

doxxx commented 6 months ago

Hey folks! Thanks for your patience while trying Warp. Could you download this preview version of Warp and see if it fixes your issues:

Yep, I now see the contents of the window!

doxxx commented 6 months ago

I get a lot of these types of warnings for various cursor types:

11:15:39 [WARN] Failed to set cursor to EResize

doxxx commented 6 months ago

Window freeze, have to restart app:

  1. Click the Warp Essentials lightbulb icon
  2. Click the link to "Read all changelogs" -> browser opens (Windows Edge, I don't have a Linux/X browser installed)
  3. Alt-Tab between browser and terminal a few times -> terminal window freezes
mathmul commented 6 months ago

Just to share, I've actually had success this morning just installing the linux .deb in an ubuntu WSL2 on windows 11 that allows GUI apps. Install the .deb and then just launch warp from the windows start menu!

Pretty much everything seems to be working really well, you just need to make sure you have Firefox installed to allow you to log in etc and I had to use the copy auth code method rather then being automatically logged in as the referral back to warp didn't function with wsl2 in the way.

It's not a perfect experience as things like maximising the window don't really work and the start menu icon is just linux instead of indicating it is warp, but its already soooo much better then any other terminal experience so far 🙌 Kudos 🤜

p.s. I had happened to be trying Git Butler too and hence knowing to install Firefox etc. Some useful git-butler install instructions that ended up being helpful for warp!

@JonParton Thanks for this! I didn't need Firefox, nor git-butler instructions.

Installation
Maximizing the window

Also I tried to maximize the window, but then couldn't make it smaller again, because warp detected my mouse to be 50px-ish more to the right and down from where it actually was. Then I closed warp and reopened it, and it was then perfectly maximized, so that worked out great.

Opening Command Search

I skipped the Setup Guide initially and saw that to start it again I need to press Cmd+P and type in Setup Guide. Since Windows users normally don't have the Cmd button, we must use Ctrl+Shift+P instead.

vedesh-padal commented 6 months ago

Issue Description:

I'm encountering an issue with the Warp terminal on my Windows 11 laptop with Ubuntu WSL installed. Upon attempting to access the shell, I receive the message "Seems like your shell is taking a while to start..." and am unable to proceed.

Screenshot: Warp Terminal Issue

Steps Taken:

I successfully followed the installation process outlined in this comment and logged in with the generated authentication token.

Additional Context:

After starting WSL (not Warp), I sometimes face a similar issue of only being able to access the WSL shell after pressing ctrl + C.

Warp Terminal Issue

Any assistance in resolving this issue would be greatly appreciated.

gambhirsamarth commented 6 months ago

how do I launch it? I have installed warp and it is showing in my windows start menu but when I launch it, nothing happens

khabbabpersonal commented 6 months ago

I am facing issue in launching it on Windows 11 with WSL2. After installation, I can see the icon in windows start menu as Warp(Ubuntu) but clicking on it does nothing. Tried running it as administrator too, but no luck. image

clystian commented 6 months ago

@khabbabpersonal @gambhirsamarth from the start menu link, you need modify it by adding the environment variable the link must be like: "C:\Program Files\WSL\wslg.exe" -d Ubuntu --cd "~" -- bash -c "WARP_ENABLE_WAYLAND=1 MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA warp-terminal"

the WARP_ENABLE_WAYLAND=1 is required to avoid the transparent warp window

Use bash or maybe use zsh if you want

an alternative is adding the environment variables to your profile config file like ~/.bash_profile, ~/.bash_profile, or ~/.zshrc

russwyte commented 6 months ago

I have it running in WSL2 Ubuntu latest - but I don't see my mouse cursor at all - and I have lots of these warnings: image

nemolivier commented 6 months ago

Since two updates last one v0.2024.03.05.08.02.stable_01-1 I can't ne more run warp from my archlinux wsl. Here is the error : 

❯ warp-terminal
01:27:57 [INFO] Spawning terminal server process...
thread 'main' panicked at ui/src/windowing/winit/app.rs:116:14:
should be able to create event loop: Os(OsError { line: 80, file: "/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.13/src/platform_impl/linux/wayland/event_loop/mod.rs", error: WaylandError(Connection(NoCompositor)) })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
01:27:57 [INFO] Running terminal server...
01:27:57 [INFO] Received empty message; assuming the connection has been closed.

Adding WARP_ENABLE_WAYLAND=0 (or 1) didn't change anything.

eedrxs commented 6 months ago

It's not working on my ThinkPad X1 Carbon with Windows 11. I did a fresh WSL install and installed warp-terminal but I get this error when I run it from the command line:

stdout is a tty true, in CI false.  using logfile: false
12:24:48 [INFO] Failed to forward startup args: unknown dbus error
12:24:48 [INFO] Spawning terminal server process...
12:24:48 [INFO] Running terminal server...
12:24:48 [WARN] Unable to fetch system color scheme: InputOutput(
    Os {
        code: 2,
        kind: NotFound,
        message: "No such file or directory",
    },
)
12:24:48 [WARN] Failed to load font: Hack due to error Font family Hack does not contain any valid fonts
12:24:48 [ERROR] Failed to acquire default Secret Service collection: unknown error
12:24:48 [INFO] Failed to read User from secure storage NotFound
12:24:48 [INFO] Initializing crash reporting Some("stable_release") with tag "v0.2024.02.27.08.01.stable_00"...
12:24:48 [INFO] Starting warp with channel state ChannelState { channel: Stable, app_id: AppId { qualifier: "dev", organization: "warp", application_name: "Warp" }, additional_features: {}, firebase_api_key: "AIzaSyBdy3O3S9hrdayLJxJ7mriBR4qgUaUygAs", server_root_url: "https://app.warp.dev", ws_server_url: "wss://rtc.app.warp.dev/graphql", session_sharing_server_url: Some("wss://session-sharing-server-o3mgmiurkq-uk.a.run.app"), segment_write_key: "sTT9ZajzIaQ0phzLFOnqZ6VOqplJTlaJ", segment_root_url: "https://api.segment.io", releases_base_url: "https://releases.warp.dev", sentry_url: "https://0195a81da0714f55a93ee4624825f9ec@o540343.ingest.sentry.io/5658526", logfile_name: "warp.log", show_autoupdate_menu_items: true, skip_login: false } and version Some("v0.2024.02.27.08.01.stable_00")
12:24:48 [INFO] Performance metrics collector started
12:24:48 [INFO] Initializing app services
12:24:48 [INFO] Start to flush telemetry events to Segment
12:24:48 [ERROR] Failed to initialize org.freedesktop.Application D-Bus service: I/O error: No such file or directory (os error 2): No such file or directory (os error 2)
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

12:24:48 [INFO] Connecting to SQLite database
12:24:48 [INFO] fetching team tester status
12:24:48 [INFO] Checking for update on channel stable_release. Update id is mflb1dk
12:24:48 [INFO] Fetching channel versions (without changelogs) from Warp server
12:24:48 [INFO] dispatching global action for root_view:open_from_restored
12:24:48 [INFO] dispatching global action for root_view:open_new
12:24:48 [ERROR] Failed to connect to org.freedesktop.portal.Desktop D-Bus service and stream SettingChanged: I/O error: No such file or directory (os error 2)
12:24:48 [WARN] error getting team tester status: Failed to get access token for GraphQL request. Falling back to in-memory state.
12:24:48 [ERROR] XDG Settings Portal did not return response in time: timeout: 100ms, key: color-scheme
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

12:24:48 [INFO] Enabled wgpu backends: Backends(VULKAN | GL | METAL | DX12 | DX11 | BROWSER_WEBGPU)
12:24:48 [INFO] Available wgpu adapters:
12:24:48 [ERROR] Failed to open window: No wgpu adapter was found
12:24:48 [INFO] application will terminate
12:24:48 [INFO] Shutting down SQLite writer thread
12:24:48 [INFO] Shut down SQLite writer in 415.9µs
12:24:48 [INFO] Writing queued events to disk because telemetry is enabled.
12:24:48 [INFO] Successfully wrote telemetry events to disk
12:24:48 [INFO] Tearing down app services...
12:24:48 [INFO] Received empty message; assuming the connection has been closed.

Nothing happens when I try running it from the start menu and I've also tried running it with the WARP_ENABLE_WAYLAND=1 environment variable but it still fails.

gegentan commented 5 months ago

Using sudo apt install xorg worked for me. But i got cursor warnings:


21:05:50 [WARN] Failed to set cursor to EResize
21:05:50 [WARN] Failed to set cursor to EResize
21:05:50 [WARN] Failed to set cursor to EResize
21:05:51 [WARN] Failed to set cursor to NResize
21:05:51 [WARN] Failed to set cursor to NResize
21:05:51 [WARN] Failed to set cursor to NResize
21:05:51 [WARN] Failed to set cursor to NResize
21:05:51 [WARN] Failed to set cursor to Default
21:05:51 [WARN] Failed to set cursor to EResize
21:05:51 [WARN] Failed to set cursor to EResize
21:05:52 [WARN] Failed to set cursor to EResize
21:05:52 [WARN] Failed to set cursor to Default
21:05:52 [WARN] Failed to set cursor to EResize
21:05:52 [WARN] Failed to set cursor to Default
eedrxs commented 5 months ago

@gegentan It worked, thanks!

I'm also getting the cursor warnings and the cursor isn't visible.

russwyte commented 5 months ago

@gegentan It worked, thanks!

I'm also getting the cursor warnings and the cursor isn't visible.

Restarting WSL got my cursor back - but I still get the warnings.

chlorophant commented 5 months ago

Has anyone had any luck with the window resizing issue?

lzy1960 commented 5 months ago

Has anyone had any luck with the window resizing issue?

@chlorophant You can follow this link https://github.com/microsoft/wslg/wiki/WSLg-Configuration-Options-for-Debugging Create a .wslgconfig file and modify the file content to:

[system-distro-env]
WESTON_RDP_HI_DPI_SCALING=true
WESTON_RDP_FRACTIONAL_HI_DPI_SCALING=true
WESTON_RDP_DEBUG_DESKTOP_SCALING_FACTOR=200

But it cannot be adjusted automatically. If multiple monitors have different dpi, it will be confusing. But I don't have any better way😕

korntewin commented 5 months ago

Manage to get warp-terminal up and running 🥳. image

My setup is

Distro: Ubuntu 22.04
Installation on windows 11, WSL2

I installed warp-terminal normally as follows:

Edited the command to download from latest .deb as suggested by @vorporeal. Thanks!

  1. Download the .deb file using wget --content-disposition https://app.warp.dev/download\?package\=deb.
  2. Install .deb package sudo dpkg -i <warp-terminal-.deb name>.
  3. Run warp-terminal normally, without setting any variables.

The issues I found are

  1. During signup or login step when clicking either button, warp will redirect me to signup/login browser, then the terminal will shut down automatically.
  2. There is no box to paste login token, after clicking signin it will just redirect to login page without showing the box to paste authtoken which is in contrast with this setup doc.

The workaround I did

  1. During signup or login step when clicking either button, warp will redirect me to signup/login browser, then the terminal will shut down automatically.

I simply re-opened a new terminal, and copied the login auth token. The Take me back to warp didn't work.

  1. There is no box to paste login token, which is in contrast with this setup doc.

I just paste with CTRL + v to the warp terminal directly despite not having a box to place it, and it magically works 🤣.

Hope this help!

Rayhand117 commented 5 months ago

if you guys facing this error: libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri) install this package: rpm: sudo dnf install -y mesa-dri-drivers

deb: sudo apt install -y libgl1-mesa-dri

mesa-loader

i manage to run warp on almalinux and kali-linux. Good Luck!

vorporeal commented 5 months ago

@korntewin Glad to hear you got it working! We've made a number of bug fixes (especially for WSL) since v0.2024.02.27.08.01.stable_00 - do you mind editing your comment to tell people to use https://app.warp.dev/download?package=deb so that anyone following those instructions downloads the latest build?

mathmul commented 5 months ago

It's not working on my ThinkPad X1 Carbon with Windows 11. I did a fresh WSL install and installed warp-terminal but I get this error when I run it from the command line:


stdout is a tty true, in CI false.  using logfile: false
12:24:48 [INFO] Failed to forward startup args: unknown dbus error
12:24:48 [INFO] Spawning terminal server process...
12:24:48 [INFO] Running terminal server...
12:24:48 [WARN] Unable to fetch system color scheme: InputOutput(
    Os {
        code: 2,
        kind: NotFound,
        message: "No such file or directory",
    },
)
12:24:48 [WARN] Failed to load font: Hack due to error Font family Hack does not contain any valid fonts
12:24:48 [ERROR] Failed to acquire default Secret Service collection: unknown error
12:24:48 [INFO] Failed to read User from secure storage NotFound
12:24:48 [INFO] Initializing crash reporting Some("stable_release") with tag "v0.2024.02.27.08.01.stable_00"...
12:24:48 [INFO] Starting warp with channel state ChannelState { channel: Stable, app_id: AppId { qualifier: "dev", organization: "warp", application_name: "Warp" }, additional_features: {}, firebase_api_key: "AIzaSyBdy3O3S9hrdayLJxJ7mriBR4qgUaUygAs", server_root_url: "https://app.warp.dev", ws_server_url: "wss://rtc.app.warp.dev/graphql", session_sharing_server_url: Some("wss://session-sharing-server-o3mgmiurkq-uk.a.run.app"), segment_write_key: "sTT9ZajzIaQ0phzLFOnqZ6VOqplJTlaJ", segment_root_url: "https://api.segment.io", releases_base_url: "https://releases.warp.dev", sentry_url: "https://0195a81da0714f55a93ee4624825f9ec@o540343.ingest.sentry.io/5658526", logfile_name: "warp.log", show_autoupdate_menu_items: true, skip_login: false } and version Some("v0.2024.02.27.08.01.stable_00")
12:24:48 [INFO] Performance metrics collector started
12:24:48 [INFO] Initializing app services
12:24:48 [INFO] Start to flush telemetry events to Segment
12:24:48 [ERROR] Failed to initialize org.freedesktop.Application D-Bus service: I/O error: No such file or directory (os error 2): No such file or directory (os error 2)
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

12:24:48 [INFO] Connecting to SQLite database
12:24:48 [INFO] fetching team tester status
12:24:48 [INFO] Checking for update on channel stable_release. Update id is mflb1dk
12:24:48 [INFO] Fetching channel versions (without changelogs) from Warp server
12:24:48 [INFO] dispatching global action for root_view:open_from_restored
12:24:48 [INFO] dispatching global action for root_view:open_new
12:24:48 [ERROR] Failed to connect to org.freedesktop.portal.Desktop D-Bus service and stream SettingChanged: I/O error: No such file or directory (os error 2)
12:24:48 [WARN] error getting team tester status: Failed to get access token for GraphQL request. Falling back to in-memory state.
12:24:48 [ERROR] XDG Settings Portal did not return response in time: timeout: 100ms, key: color-scheme
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

Dang it, that's odd. I use the same laptop, Win 11 Pro x64, 64 RAM, and it works great.

This might work for you.

if you guys facing this error: libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri) install this deb package: sudo apt install -y libgl1-mesa-dri

fcharron commented 5 months ago

I can copy and paste within the warp window, but can't copy/paste between warp and native Windows apps (both directions).

AhmedBaset commented 5 months ago

I got it working but everything is small. Is there a way to zoom in the layout.

I increased the font size but still the layout is small.

image
dannyneira commented 5 months ago

@A7med3bdulBaset the UI doesn't scale at this time, there is a request for that here https://github.com/warpdotdev/Warp/issues/1443.

karleeov commented 5 months ago

it works finally!

Screenshot 2024-02-27 233602

Previously, I followed similar steps as @ljtruong and I updated ubuntu and packages

  1. Downloaded the .deb file: https://app.warp.dev/download?package=deb
  2. Installed the .deb package within WSL:
    sudo dpkg -i warp-terminal_<latest_version>.deb
  3. Executed Warp Terminal:

    WARP_ENABLE_WAYLAND=1 MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA warp-terminal

    or add these lines into ~/.bash_profile or ~/.zshrc or any config file for your current terminal

    export WARP_ENABLE_WAYLAND=1
    export MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA
    export BROWSER=google-chrome

    and now you execute warp-terminal because the environment variables were previously set.

  4. Obtained the authentication token:

    • Installed a web browser (e.g., Google Chrome) to retrieve the authentication token.
    • Downloaded the Google Chrome .deb package:
      wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
      sudo apt -y install ./google-chrome-stable_current_amd64.deb
    • Ensure to set Chrome as default browser on the first open and add export BROWSER=google-chrome into your profile config
    • Logged in to https://app.warp.dev/login/remote.

image

  • Tried both clicking the button and copying the URL until Warp Terminal detected the authentication token. Screenshot 2024-02-27 234536

YOU ARE GENIUS ~~~~!!!!

pbourdet commented 5 months ago

I can copy and paste within the warp window, but can't copy/paste between warp and native Windows apps (both directions).

Same, pretty annoying. The rest works fine though

acrossoffwest commented 5 months ago

I can copy and paste within the warp window, but can't copy/paste between warp and native Windows apps (both directions).

Same, pretty annoying. The rest works fine though

I'm able to copy and paste by hot keys and by contenxt menu as well. For copy use Ctrl + C and for pasting you should use Ctrl + Shift + V.