본문 바로가기

컴퓨터/리눅스 (LINUX)

(18)
Ubuntu, system program problem detected 알림 끄기 Ubuntu 사용 중 아래와 같이 problem report 알림을 끄고자 할 경우 아래의 방법 중 하나를 사용. 1. crash 리스트 삭제 sudo rm /var/crash/* 2. 서비스 종료 sudo systemctl disable apport #재시작 #sudo systemctl enable apport 출처 https://askubuntu.com/questions/1160113/system-program-problem-detected System program problem detected? I keep getting, since several days, "System program problem detected" error message: I always clicked on Report pr..
sudo apt update NO_PUBKEY 에러 sudo apt update 를 입력했을때 아래와 같이 NO_PUBKEY warning 출력 시 아래 command 입력. 키는 출력된 warning 에서 확인되는 NO_PUBKEY B53DC80D13EDEF05 이다. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 키 출처 https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey
Ubuntu, 마우스 드래그 이상, display_server_not_supported 에러 정리 Ubuntu 22.04 Ubuntu 환경에서 언제부터인가 마우스 사용이 불편해짐 코드나 텍스트를 드래그 하면 실시간 드래그된 영역 표시가 아닌 클릭 버튼을 떼면 드래그 영역이 표시가 됨 은근 불편 또한 anydesk 를 셋업해서 접속하려니 display_server_not_supported 에러가 발생 두 문제를 함께 정리하는 이유는 xorg 세팅을 변경하자 둘 다 해결 참고 글 https://medium.com/@Dylan.Wang/how-to-fix-anydesk-of-display-server-not-supported-error-for-ubuntu-22-04-c98c44de89c0 How to Fix AnyDesk of Display_Server_Not_Supported Error for Ubunt..
Ubuntu, ROCm, AMD GPU 설치 및 제거 Ubuntu 20.04, 5.15.0-53-generic 에 설치 1. rocm 제거 # 패키지 제거 sudo amdgpu-uninstall sudo apt autoremove amdgpu-dkms sudo apt-get purge amdgpu-install # 파일 제거 sudo rm /etc/apt/sources.list.d/rocm* sudo rm /etc/apt/sources.list.d/amdgpu* # 캐쉬 제거 sudo rm -rf /var/cache/apt/* sudo apt-get clean all 이후 재부팅 2. rocm 설치 2-1. package download sudo apt-get update wget https://repo.radeon.com/amdgpu-install/5.4..
Ubuntu, OpenVINO 설치하기 Ubuntu 20.04에서 작업 참고한 링크: Install OpenVINO™ Runtime on Linux from an Archive File — OpenVINO™ documentation — Version(nightly) Install OpenVINO™ Runtime on Linux from an Archive File — OpenVINO™ documentation To enable the toolkit components to use processor graphics (GPU) on your system, follow the steps in GPU Setup Guide. To perform inference on Intel® Neural Compute Stick 2 powered by the In..
Ubuntu, intel 내장 그래픽 사용하기 nvidia 외장 그래픽카드가 달린 Ubuntu 20.04 에서 작업 선행조건: 1. 내장 그래픽이 포함된 intel CPU 사용 2. motherboard에서 내장 GPU 사용 enable 3. 모니터 출력 케이블 또는 더미 플러그가 그래픽카드가 아닌 메인보드에 연결 4. bash 에서 아래와 같이 명령어를 쳤을때, intel gpu가 확인 sudo lshw -C display #또는 inxi -G output: 참고글: Use integrated graphics for display and NVIDIA GPU for CUDA on Ubuntu 14.04 · GitHub Use integrated graphics for display and NVIDIA GPU for CUDA on Ubuntu 14.0..
윈도우에서 우분투로 remote desktop 접속하기(XRDP) Anydesk로 우분터 서버에 접속하여 작업을 오래 했더니 prefessional 사용자로 분류되어 결제를 하란다. 이에 이래저래 방법을 찾다가 윈도우와 우분투의 remote desktop 기능을 이용해서 접속을 해봤다. SSH 접속은 가능하나, 공유기를 조작하여 포트를 건드릴수는 없는 환경이라 SSH 터널링을 사용하였다. 필자의 경우 서버에 그래픽카드가 장착되어 있고, 더미 플러그가 꽂혀있는 환경이다. 이 방법이 headless 또는 더미 플러그가 없는 시스템에서도 동작하는지는 확인이 필요하다. 참고한 글은 아래와 같다. How to Establish Remote Desktop Access to Ubuntu From Windows (makeuseof.com) How to Establish Remote ..
리눅스 커맨드 정리 X window restart command #after sudo kill -9 xorg sudo systemctl restart display-manager Nvidia gpu 모니터링 watch -d -n 0.5 nvidia-smi Nvidia gpu 사용 process 끄기 sudo kill -9 PID 폴더 용량 확인 du -sh path SSH 프로세스 유지하면서 종료 # ctrl + z 입력 bg #또는 bg 1 disown exit #ssh 재로그인 후 프로세스 확인 ps -ef | prep python Ubuntu 정보 확인 lsb_release -a uname -m && cat /etc/*release uname -srmv WSL apt repository 서버 변경 (kakao) sud..