TigerVnc vncviewerは一部のシステムアプリケーションを開くことができません

TigerVnc vncviewerは一部のシステムアプリケーションを開くことができません

vncviewerを使用して接続するコンピュータはUbuntu 18.04システムです。ダッシュボードからパネルへGNOME拡張。

私が使うときfirst.vnc/xstartup、接続すると黒い画面のみが表示されます。

私が使うときSecond.vnc/xstartup、私はNautilusファイルマネージャ接続したら、pdfファイル自体をダブルクリックして、evinceを使用してpdfを開くことができます。しかし、テキストファイル自体をダブルクリックしてgeditを開くことはできず、右クリックメニューを使用して端末を開くこともできません。。なぜ?

ここに画像の説明を入力してください。

発行時に次のJournalctlログを取得します。SSH Destination_computer_username@destination_computer_ip_addr "DISPLAY=:2 nohup gnome-terminal"私のソースコンピュータ端末から

Dec 20 14:06:13 UbuntuHW15 dbus-daemon[4137]: [session uid=1000 pid=4137] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.352' (uid=1000 pid=13704
Dec 20 14:06:13 UbuntuHW15 systemd[4111]: Starting GNOME Terminal Server...
Dec 20 14:06:13 UbuntuHW15 gnome-terminal-server[13707]: Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
Dec 20 14:06:13 UbuntuHW15 gnome-terminal-server[13707]: Failed to parse arguments: Cannot open display:
Dec 20 14:06:13 UbuntuHW15 systemd[4111]: gnome-terminal-server.service: Main process exited, code=exited, status=10/n/a
Dec 20 14:06:13 UbuntuHW15 systemd[4111]: gnome-terminal-server.service: Failed with result 'exit-code'.
Dec 20 14:06:13 UbuntuHW15 systemd[4111]: Failed to start GNOME Terminal Server.

first.vnc/xstartup

#!/bin/sh

unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
  case "$WINDOWMANAGER" in
    *gnome*)
      if [ -e /etc/SuSE-release ]; then
        PATH=$PATH:/opt/gnome/bin
        export PATH
      fi
      ;;
  esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
  exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
  exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

gnome-wm&
metacity&

Second.vnc/xstartup

# Uncomment the following two lines for normal desktop:
#unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &

ベストアンサー1

おすすめ記事