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 Mobian bcnaz 139 46,709 04-30-2021, 06:58 AM
Last Post: thomzane
  PineTab Mobian Upgrade issue - Pin no longer works thomzane 3 368 04-30-2021, 06:52 AM
Last Post: thomzane
  Arch Linux ARM on PineTab Danct12 22 9,583 03-30-2021, 01:44 AM
Last Post: RTP
  Video Tutorial: SDR/GQRX- Listening In To Voice On Pinetab (Internal SDR) RTP 1 495 03-08-2021, 09:33 AM
Last Post: barray
  Use Pinebook (not pro) image for pineTAB? dhosh 2 469 02-27-2021, 06:37 PM
Last Post: barray
  PineTab Mobian LXDE desktop fjord 0 396 02-24-2021, 06:32 PM
Last Post: fjord
  Pinetab Mobian optimization tomoqv 13 3,439 02-06-2021, 04:36 AM
Last Post: barray
Bug Porting lora (meshtastic) to Pinetab, some questions... geeksville 2 1,308 11-19-2020, 11:37 PM
Last Post: jeremyrutman
  How get gcc for new PineTab? PaulWalters 1 971 10-07-2020, 03:56 AM
Last Post: wibble
  ChromeOS on Pinetab? brentashley 1 1,113 09-23-2020, 12:47 PM
Last Post: tophneal

Forum Jump:


Users browsing this thread: 1 Guest(s)