我更新到 14.04 进行了一些测试,现在 VNC 已完成。我安装了 gnome-classic 看看是否有帮助,但没有。这是我的 xstartup:
!/bin/sh
Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
gnome-session --session=gnome-classic &
[ -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 -session=gnome-classic &
Run Code Online (Sandbox Code Playgroud)
几个小时以来,我一直在阅读我可以在互联网上找到的所有内容。
有人有适用于 14.01 的 xstartup 吗?
小智 5
我认为你能得到的最好的是基于https://medium.com/linux-operation-system/5e6fac849ea3的链接
它实际上没有“桌面”,而是使用 gnome-terminal 启动桌面应用程序,如 firefox、nautilus 或 google-chrome 等。顺便说一句,我安装的是 ubuntu-gnome 14.04 而不是 ubuntu 14.04。所以我不必安装 gnome-classical 或 -fallback ...等。祝你好运。