ssh -X [email protected] "emacsclient -c"
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
emacsclient: could not get terminal name
我已經使用Google搜索,但找不到解決方案來解決它。emacsclient:無法獲取終端名稱
更新: 我認爲emacs客戶端(在本地計算機上)連接到emacs服務器(在遠程計算機上),以便emacs客戶端可以編輯本地計算機上的文件。但它似乎並沒有這樣工作...
在你運行'ssh'的本地機器上,你可以與我們分享'echo $ DISPLAY'的結果嗎? –
ssh在本地機器上。 $ DISPLAY的值是:0 – louxiu