Mem*_*mes 9 ssh vnc remote-desktop gnome tightvncserver
我有一台运行 Ubuntu Gnome 16.10 的家庭服务器。我安装了桌面环境以更好地配置我的服务器,我选择 Gnome 是因为它足够轻量级并且具有用于备份的 Google 驱动器集成(有点)。
我想通过 VNC 访问并具有相同的界面。我说的是这个。
我配置了 VNC,~/.vnc/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 & #this line has been added based on some comments found online, but no effect whatsoever.
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
Run Code Online (Sandbox Code Playgroud)
我可以使用 Putty 和 SSH 隧道从我的 Windows 机器完美连接,如解释here,但前景完全不是我想要的。是这样的:
我究竟做错了什么?
好吧,经过一番摸索,我发现远程访问我的电脑并获得“就像我坐在它前面一样”的最佳解决方案是安装 Teamviewer
该解决方案的优点是,现在我只需使用一个软件就可以从我的每一台 PC 访问我的所有其他 PC。
我知道,这不是仅使用开源软件来完成此任务的干净方法,但在我看来,这是最有效的方法。
归档时间: |
|
查看次数: |
22519 次 |
最近记录: |