내용으로 건너뛰기
Out of the Box
사용자 도구
로그인
사이트 도구
검색
도구
문서 보기
이전 판
Fold/unfold all
역링크
최근 바뀜
미디어 관리자
사이트맵
로그인
>
최근 바뀜
미디어 관리자
사이트맵
추적:
•
pytest
xserver
이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요.
====== xserver ====== ===== 원격 서버에서 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 설치 <code bash> # 리눅스에서 실행 sudo apt-get install x11-apps export DISPLAY=:0 xeyes </code> * 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 ===== 원격 서버에 있는 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.txt
· 마지막으로 수정됨: 2024/03/23 02:38 저자
127.0.0.1
문서 도구
문서 보기
이전 판
역링크
Fold/unfold all
맨 위로