Gnu Octave와 같은 일부 애플리케이션에 대해 GUI를 활성화할 수 없는 이유는 무엇입니까?

Gnu Octave와 같은 일부 애플리케이션에 대해 GUI를 활성화할 수 없는 이유는 무엇입니까?

원격으로 연결합니다 ssh -XY. xauth를 사용하여 쿠키를 병합합니다. 문제없이 kate, gedit를 열 수 있습니다. 그러나 옥타브를 열 수는 없습니다.

옥타브는 빠른 응용 프로그램입니다. 하지만 Kate는 비록 클래식 모드이긴 하지만 스냅 앱이기도 합니다.

Firefox 및 Octave를 열 수 없으며 인증 오류에 대해 계속 불평합니다.

firefox
X11 connection rejected because of wrong authentication.
Error: cannot open display: localhost:10.0
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
octave -f --force-gui
X11 connection rejected because of wrong authentication.
octave: unable to open X11 DISPLAY
octave: disabling GUI features
X11 connection rejected because of wrong authentication.
GNU Octave, version 7.1.0
Copyright (C) 1993-2022 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

답변1

.Xauthory 에서 .Xauthory 스냅 패키지를 찾으세요 ~/snap/<package>/current/. ax 쿠키를 이 폴더로 내보낼 수도 있고 ln -s ~/.Xauthory이 폴더로 직접 내보낼 수도 있습니다. 그러면 X 전달이 정상적으로 작동합니다.

관련 정보