Heim  >  Fragen und Antworten  >  Hauptteil

ubuntu - VNC如何配置可以实现远程复制粘贴?

本地主机Win10,安装了VNC Viewer。
远程主机Ubuntu16,安装了VNC Server(4.1.1+xorg4.3.0-37.3ubuntu2)。

安装后发现无法实现剪贴板共享,搜索后发现解决方法是:

vncconfig -display :#

可以打开如下所示的选择框来更改:

尝试执行后出现如下问题:

怎么解决呢?

xstartup文件如下(不知道怎么配置这个,从网上照抄的):

#!/bin/sh
# 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-session-fallback &
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

xsetroot -solid grey
vncconfig -iconic &
gnome-session &

gnome-panel &
gnome-settings-gaemon &
metacity &
nautilus &
伊谢尔伦伊谢尔伦2734 Tage vor1184

Antworte allen(0)Ich werde antworten

Keine Antwort
  • StornierenAntwort