VS Code running on PineTab
#1
   

... using vs code server and the browser.

> wget https://github.com/cdr/code-server/relea...m64.tar.gz
> tar -zxvf code-server-3.5.0-linux-arm64.tar.gz
> cd code-server-3.5.0-linux-arm64/
> ./code-server --auth none

browse to 127.0.0.1:8080
#2
(09-12-2020, 01:29 PM)brentashley Wrote: ... using vs code server and the browser.

> wget https://github.com/cdr/code-server/relea...m64.tar.gz
> tar -zxvf code-server-3.5.0-linux-arm64.tar.gz
> cd code-server-3.5.0-linux-arm64/
> ./code-server --auth none

browse to 127.0.0.1:8080

Do i need to do some steps before this? Because i am getting failures.
#3
(09-12-2020, 02:48 PM)m.alizade7 Wrote: Do i need to do some steps before this? Because i am getting failures.

What failures are you getting? Just worked for me, not sure if other changes I had made prepared it to work.

if you cut and pasted, you may have got the abbreviated link that the forum software created

the full link is as below (but without the space)


https://  github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-arm64.tar.gz
#4
thanks for the hint! I've never heard about this code-server, but it looks pretty interesting for my plans for "remote development". How's the performance? Have you compared this setup to running the code-server server part on a remote machine, and accessing it via a browser?
#5
(09-13-2020, 02:31 PM)Lex-2008 Wrote: thanks for the hint! I've never heard about this code-server, but it looks pretty interesting for my plans for "remote development". How's the performance? Have you compared this setup to running the code-server server part on a remote machine, and accessing it via a browser?

I find it extremely responsive, even with plugins and doing full debugging.

It's really great to use in hard to reach places.  I have even used it when using the Google Cloud Console vm in GCP.
#6
(09-12-2020, 04:58 PM)brentashley Wrote:
(09-12-2020, 02:48 PM)m.alizade7 Wrote: Do i need to do some steps before this? Because i am getting failures.

What failures are you getting? Just worked for me, not sure if other changes I had made prepared it to work.

if you cut and pasted, you may have got the abbreviated link that the forum software created

the full link is as below (but without the space)


https://  github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-arm64.tar.gz

 I am getting No Authentication & Not serving HTTPS.
#7
(09-15-2020, 03:42 AM)m.alizade7 Wrote:
(09-12-2020, 04:58 PM)brentashley Wrote:
(09-12-2020, 02:48 PM)m.alizade7 Wrote: Do i need to do some steps before this? Because i am getting failures.

What failures are you getting? Just worked for me, not sure if other changes I had made prepared it to work.

if you cut and pasted, you may have got the abbreviated link that the forum software created

the full link is as below (but without the space)


https://  github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-arm64.tar.gz

 I am getting No Authentication & Not serving HTTPS.


That sounds like what the server tells you when it is working properly (we told it to use no authentication did not request HTTPS).  Keep that terminal window open and change to the browser, then go to 127.0.0.1:8080 and that should connect the browser to the VSCode server and bring up the editor interface.
#8
(09-15-2020, 12:05 PM)brentashley Wrote:
(09-15-2020, 03:42 AM)m.alizade7 Wrote:
(09-12-2020, 04:58 PM)brentashley Wrote:
(09-12-2020, 02:48 PM)m.alizade7 Wrote: Do i need to do some steps before this? Because i am getting failures.

What failures are you getting? Just worked for me, not sure if other changes I had made prepared it to work.

if you cut and pasted, you may have got the abbreviated link that the forum software created

the full link is as below (but without the space)


https://  github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-arm64.tar.gz

 I am getting No Authentication & Not serving HTTPS.


That sounds like what the server tells you when it is working properly (we told it to use no authentication did not request HTTPS).  Keep that terminal window open and change to the browser, then go to 127.0.0.1:8080 and that should connect the browser to the VSCode server and bring up the editor interface.

Sorry for a late reply, but I did it today and it worked!


Possibly Related Threads…
Thread Author Replies Views Last Post
  PineTab 2 login screen rotation fix chzbacon 11 7,177 03-17-2024, 04:53 PM
Last Post: mtomaschett
  NixOS on PineTab 2 asonix 3 3,709 02-24-2024, 12:29 PM
Last Post: Evergreen
  Working OS on pinetab RISC-V? user641 3 2,161 12-13-2023, 08:11 AM
Last Post: tophneal
  Pinetab 2 as Pinebook Pro replacement Corkonian 4 3,501 08-15-2023, 11:22 AM
Last Post: CadenAnderson
  Software for PineTab-V msm 12 7,127 08-05-2023, 05:08 PM
Last Post: bingch
  Arch Linux ARM on PineTab 1 Danct12 25 34,380 06-10-2023, 05:33 PM
Last Post: fxc
  PineTab 2 Login Failure cptijerina 0 961 06-07-2023, 07:16 PM
Last Post: cptijerina
  PineTab Mobian bcnaz 150 172,505 04-26-2022, 11:58 AM
Last Post: thomzane
  Xmonad on PineTab Telefza 0 2,051 06-24-2021, 04:04 AM
Last Post: Telefza
  PineTab Mobian Upgrade issue - Pin no longer works thomzane 3 4,793 04-30-2021, 06:52 AM
Last Post: thomzane

Forum Jump:


Users browsing this thread: 3 Guest(s)