使用 Ubuntu 9.10 x64 在 Linode 上安装 gnome - 远程 VNC/RDP

使用 Ubuntu 9.10 x64 在 Linode 上安装 gnome - 远程 VNC/RDP

我承认自己是 Linux 新手,一生中大部分时间都在 Windows 世界中生活和工作。我正在努力尝试将我的虚拟主机从 Windows 机器移至 Linode 实例,以尝试更好地学习 Linux,我偶尔使用当前 Windows VPS 的用途之一是通过 RDP 进入并浏览互联网。

我知道这可能不是最佳实践(无论是从性能还是安全性来看),并且大多数时候我都会从 shell 中学习,但偶尔我确实需要启动到 GUI。

因此,我希望在 Linode 上的 Ubuntu 安装中通过 SSH 登录后随意启动/停止 Windows X 和 Gnome(startx?gdm?),所以我尝试过:

  1. apt-get 安装 ubuntu 桌面
  2. 重启
  3. 启动

但是我遇到了一个错误,到目前为止,无论我用多少谷歌搜索都没有帮助我解决,我认为这与盒子没有头以及 X 需要一些我目前无法理解的配置有关:

root@local:~# startx
hostname: Unknown host
xauth:  creating new authority file /root/.Xauthority
xauth:  creating new authority file /root/.Xauthority
xauth: (argv):1:  bad display name "local.kieranbenton.com:0" in "list" command
xauth: (stdin):1:  bad display name "local.kieranbenton.com:0" in "add" command

X.Org X Server 1.6.4
Release Date: 2009-9-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server x86_64 Ubuntu
Current Operating System: Linux local.kieranbenton.com 2.6.31.5-x86_64-linode9 #1 SMP Mon Oct 26 19:35:25 UTC 2009 x86_64
Kernel command line: root=/dev/xvda xencons=tty console=tty1 console=hvc0 nosep nodevfs ramdisk_size=32768 ro
Build Date: 26 October 2009  05:19:56PM
xorg-server 2:1.6.4-2ubuntu4 (buildd@)
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec  2 15:50:23 2009
Primary device is not PCI
(==) Using default built-in configuration (21 lines)
(EE) open /dev/fb0: No such file or directory
(EE) No devices detected.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

ddxSigGiveUp: Closing log

有人能给我指点一下如何从这里开始并设置 VNC/RDP 吗?(最好使用 RDP?)。

谢谢。

答案1

Linux 上确实没有 RDP 服务器。不过 NX 是一种出色的免费且灵活的方式,可以运行持久的、快速地远程桌面。是一个完整的、逐步的设置指南。然后您可以使用 nomachine.com 的免费客户端连接到它。

答案2

很难找到吗?

无论如何,如果我是你,我会学会从命令行完成所有操作。这些技能以后会很有用。如果你需要的是独立的应用程序,那么这ssh -X是当务之急。

相关内容