- https://code.visualstudio.com/ 에서 ubuntu 버전 vs code 설치
- sudo dpkg -i code_1.......deb 실행하여 vs code 설치
- vnc 를 통해 vs code 실행 또는
code 명령어로 터미널에서 실행이 가능
I've installed vscode 1.0 on ubuntu 14.4 LTS. It works fine if I log in locally with unity desktop and type the "code" command in the terminal.
However, when I rdp into the box I have to use xfce4 desktop because xrdp apparently doesn't work with unity, and when I try to launch it from the command line there I get no errors in the terminal but the UI never appears.
I did previously install an older version of vscode and did not uninstall that prior to installing 1.0 in case that could be a factor.
when I type
code --version
it correctly reports 1.0.0
anyone have any ideas to solve this? I really want to be able to work using rdp from my windows 10 machine
UPDATE: this problem seems to only occur using rdp, if I login locally with xfce4 it works as expected just as with unity desktop. My ubuntu box an intel nuc5ppyh with latest bios, I think maybe code is launching on a not visible display output. Previously the box was configured to mirror to an hdmi output at I use this also connected to a tv. I've tried disabling the hdmi output from the bios and messing around with xrandr but still cannot get it working over rdp. I'm not a linux expert but still think it might actually be loading code in a non visible display output but not sure how to troubleshoot the problem
The suggested command from the second link above helps:
sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/lib/x86_64-linux-gnu/libxcb.so.1
- This single fix allowed me to run vscode on my AWS instance over xrdp without any other changes. – steviebJul 7 '16 at 20:37
This works fine, I am using Ubuntu 16.04 XRDP:
sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/lib/x86_64-linux-gnu/libxcb.so.1
ref : https://www.youtube.com/watch?v=uYE0XrM-VZA
ref : https://stackoverflow.com/questions/36694941/visual-studio-code-1-fails-to-launch-on-ubuntu-using-xrdp
'서버(Server) > Linux' 카테고리의 다른 글
window 에서 virtualbox(Ubuntu) nodejs 서버로 접근(Access)하기 (0) | 2018.06.02 |
---|---|
ubuntu 와 window 간의 복사 붙여넣기 세팅 (viritual box) (0) | 2018.06.02 |
VNC 와 copy & paste(복사 붙여 넣기), autocutsel (1) | 2018.06.01 |
Linux, 현재 디렉토리를 터미널에서 열기, find 명령어 (0) | 2018.06.01 |
PS 명령어의 상세설명 (0) | 2018.05.28 |