
이 명령줄을 실행하려고 하면
cp -a /home/root1/.Xauthority .Xauthority
` 해당 오류가 발생하는데, 이유가 무엇인가요?
cp: cannot stat '/home/root1/.Xauthority': No such file or directory
이 문제를 해결하는 데 도움이 필요합니다.
답변1
나 이 직업 얻었어용감한내 Linux Mint 20.1 시스템에서:
xhost SI:localuser:root # give root access to the display.
sudo su - # switch to root user's shell
env DISPLAY=:0.0 brave-browser --no-sandbox
파일 을 복사할 필요가 없습니다 .Xauthority
.