Skip to content

core support for connecting to remote UI via --server #5773

Closed
@xelra

Description

@xelra

I want to be able to connect to a Neovim session on another computer.

On the remote server I ran the following:

NVIM_LISTEN_ADDRESS=/tmp/nvim.socket nvim --headless

Then on the local machine I ran:

ssh -L /tmp/nvim.socket:/tmp/nvim.socket [email protected]
NVIM_LISTEN_ADDRESS=/tmp/nvim.socket nvim

Unfortunately that doesn't work though. Connecting to the socket via NVIM_LISTEN_ADDRESS is not possible. I've also tried it with NVIM_LISTEN_ADDRESS=/tmp/nvim.socket nvim-qt and NVIM_LISTEN_ADDRESS=/tmp/nvim.socket nyaovim.

Neovim-Qt has a --server option. Using that on my local machine nvim-qt --server /tmp/nvim.socket does work. So for now I can only connect to my remote nvim session with Neovim-Qt.

It would be great to see a --server option for the nvim binary too, so it's possible to also connect to remote Neovim sessions from the terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    channels-rpcchannels, RPC, msgpackenhancementfeature requestgsoccommunity: Google Summer of Code projectui

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions