vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Please add support for FreeBSD

Open yzgyyang opened this issue 6 years ago • 121 comments

Can't connect to azure: unreachable or not Linux x86_64 (FreeBSD amd64 )

Since the Electron support is premature on FreeBSD, running vscode in my laptop and connect to my FreeBSD server seems to be a great solution. I'm looking forward to the support on FreeBSD platforms.

yzgyyang avatar Jun 18 '19 18:06 yzgyyang

Would love to have this too, seems like the most work would be around vscode server but considering the deps you list for Linux it seems entirely possible.

mike-pt avatar Jul 04 '19 22:07 mike-pt

The remote server architecture is not supported


The server's OS is FreeBSD.

Qint avatar Aug 05 '19 02:08 Qint

[20:21:58.866] > Running remote connection script
> 
[20:21:58.875] > Unsupported architecture: FreeBSD amd64   
> a993f545-b325-411d-80a3-23ece1e3d1b3##27##
> 
[20:21:58.875] Received install output: a993f545-b325-411d-80a3-23ece1e3d1b3##27##
[20:21:58.875] Unsupported architecture
[20:21:58.875] The remote server architecture is not supported

What would happen if the architecture check was simply ignored/skipped? Would it just work? I can't imagine what kind of esoteric commands being issued over a standard SSH connection would be so architecture-dependent that Linux would work but not FreeBSD. If it's just a matter of using full paths to executables or environment variables, I'm sure we FreeBSD users could create a compatible environment.

morganwdavis avatar Aug 06 '19 20:08 morganwdavis

I actually tried to work around that it does work if u fake it (meaning it passes this check) but it will then try to install things using what would be expected in linux, some would need to be convert to FreeBSD, but more importantly we need vscode-server built for FreeBSD

mike-pt avatar Aug 08 '19 19:08 mike-pt

Yes. I saw that it creates a .vscode-server directory. Client software that silently installs stuff in the user's account is unexpectedly hacky and unfriendly. (I just got a horrible flashback to those ghastly server-side FrontPage web extensions provided by Microsoft 20 years ago!)

I think Microsoft should specify the server environment they require and leave it up to the developer community to create their own compatibility packages for their OS. Then it can be cleanly built and maintained by the best folks who know best, managed using standard package management tools (e.g., pkg under FreeBSD). The user's home directory would then have a set of symlinks or similar mechanism for providing the expected support interfaces.

This can't come soon enough for me. I'm finding that vscode's git features over the Internet to a remote Samba server is excruciatingly slow -- taking a full minute to do a simple commit. (Any tips/workarounds are appreciated!)

morganwdavis avatar Aug 08 '19 20:08 morganwdavis

more importantly we need vscode-server built for FreeBSD

I'm just guessing, but this shouldn't be too hard, since the server is probably built with TS/JS, right? If the source is available, I'd like to help with this.

Follpvosten avatar Aug 09 '19 12:08 Follpvosten

Thats the issue though the source is not available AFAIK, Microsoft would need to built it and release it, so it can be downloaded on first setup, this is the critical part here.

I didn't find any reference to the source so far.

mike-pt avatar Aug 09 '19 12:08 mike-pt

I suppose if someone has the Linux zip we could look into it and see if freebsd Linux emulation works.

mike-pt avatar Aug 09 '19 13:08 mike-pt

Same problem. I can contribute to solve this problem. What is main problem that prevents VS Code from supporting FreeBSD? Is it fault of FreeBSD ssh server or Open SSH or VS Code remote SSH extension problem?

qqkookie avatar Sep 09 '19 10:09 qqkookie

The main problem is what I described, the vscode server component is not built/distributed for FreeBSD, since its also not open source only Microsoft can do it.

Alternately perhaps we could look into using Linux emulation and then patch the extension side to use the Linux version and do whatever is necessary to get it to install on freebsd, the issue is not ssh or the extension it self (that probably easy to handle).

mike-pt avatar Sep 09 '19 13:09 mike-pt

This is currently the issue blocking me from using VS Code. Please let me know if there's anything I can do to help make this work.

davidchisnall avatar Oct 28 '19 13:10 davidchisnall

+1 to please add support for FreeBSD!!! I am sure there are many others who would use it also. It can't be too hard to adapt it to FreeBSD given that it is largely based on the SSH protocol. Thanks!!!

rob4226 avatar Oct 30 '19 22:10 rob4226

Agreed, please add FreeBSD support!

krowvin avatar Nov 02 '19 03:11 krowvin

+1 Agreed, please add FreeBSD support!

kali-co-kr avatar Nov 05 '19 13:11 kali-co-kr

+1 Agreed, please add FreeBSD support!

n0x32schneider avatar Nov 11 '19 00:11 n0x32schneider

Please add FreeBSD support ASAP. I can't work on my favorite text editor coz of this.

resnerac03 avatar Nov 12 '19 01:11 resnerac03

Please add FreeBSD support.

arymkus avatar Nov 12 '19 06:11 arymkus

It's great that we have some spiking activity here, the issue might get some attention, but I'm not sure how constructive it is.

I'd like to add something: Please point us to the server source code so we can add FreeBSD support! I'd be willing to help, and I'm sure others would be, too.

Follpvosten avatar Nov 12 '19 07:11 Follpvosten

@Follpvosten +1 I've pointed out the same before, they would need to either release that themselves or open source it so someone can try to build it. AFAIK this is not open sourced (the server code I mean).

mike-pt avatar Nov 12 '19 11:11 mike-pt

+1 for FreeBSD support.

dpetrov avatar Nov 13 '19 14:11 dpetrov

+1 for FreeBSD support.

luchoman08 avatar Nov 16 '19 23:11 luchoman08

+1, nice to have FreeBSD support.

xcdr avatar Nov 20 '19 11:11 xcdr

Concur on adding support for FreeBSD. I'm currently relegated to using Eclipse, and while it is sufficient, it's very heavy-handed compared to VSCode.

RocketSquirrel avatar Nov 23 '19 09:11 RocketSquirrel

+1

ghost avatar Jan 01 '20 20:01 ghost

+1

tkanjar avatar Jan 28 '20 06:01 tkanjar

+1

hansinator avatar Jan 28 '20 10:01 hansinator

+1

guilhermedrud avatar Feb 06 '20 01:02 guilhermedrud

+1

cwlin0416 avatar Feb 06 '20 09:02 cwlin0416

+1, it would be great to have FreeBSD support.

cookys avatar Feb 06 '20 10:02 cookys

+1

rob4226 avatar Feb 16 '20 03:02 rob4226