사용자 도구

사이트 도구


xserver

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
xserver [2020/02/10 10:46] rex8312xserver [2024/03/23 02:38] (현재) – 바깥 편집 127.0.0.1
줄 1: 줄 1:
 ====== xserver ====== ====== xserver ======
  
-Windows Linux Subsystem (WSL)에서 GUI 어플리케이션 실행+===== 원격 서버에서 GUI 어플리케이션 실행 ===== 
 + 
 +  * windows 클라이언트에 xming-mesa 설치 
 +    * http://www.straightrunning.com/XmingNotes/#head-147 
 + 
 +  * ssh 설정 
 +    * https://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-to-run-graphics-applications-remotely 
 +    * 클라이언트 "~/.ssh/config"에 "ForwardX11 yes" 설정 
 +    * 서버 "/etc/ssh/sshd_config"에 "X11Forwarding yes" 설정 
 +    * "ssh -X {user}@{ip}" 로 접속 
 + 
 +  * 테스트 
 + 
 +<code bash> 
 +sudo apt install mesa-utils 
 +glxgears 
 +</code> 
 + 
 + 
 +===== Windows Linux Subsystem (WSL)에서 GUI 어플리케이션 실행 =====
  
 windows에서 xming 설치 windows에서 xming 설치
줄 13: 줄 32:
  
   * https://virtualizationreview.com/articles/2017/02/08/graphical-programs-on-windows-subsystem-on-linux.aspx   * https://virtualizationreview.com/articles/2017/02/08/graphical-programs-on-windows-subsystem-on-linux.aspx
- 
   * https://github.com/Unity-Technologies/obstacle-tower-env/blob/master/examples/gcp_training.md   * https://github.com/Unity-Technologies/obstacle-tower-env/blob/master/examples/gcp_training.md
 +
 +
 +===== 원격 서버에 있는 docker 컨테이너 안에서 GUI 어플리케이션 실행 =====
 +
 +<code bash>
 +docker run -it --rm -v `pwd`:/mnt --cpus=64 --gpus=all --net=host -v $HOME/.Xauthority:/root/.Xauthority:rw -e DISPLAY --device /dev/dri --name {컨테이너 이름} {컨테이너 이름}
 +</code>
 +
 +  * https://dzone.com/articles/docker-x11-client-via-ssh
xserver.1581331562.txt.gz · 마지막으로 수정됨: (바깥 편집)