模板:Ubuntu:Feisty/RemoteAccess

来自Ubuntu中文
Yexiaoxing留言 | 贡献2013年3月23日 (六) 16:34的版本 (已恢复1.202.39.53对话)的编辑至Long42001的最后一个修订版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航跳到搜索

远程登录

通过XDMCP 远程登录

什么是 XDMCP?

GNOME视窗能够同时支持几个不同的用户。不像只是复制当前的屏幕内容到一个终端的vncviewer那样,XDMCP允许几个不同的用户在同一时间登陆和运行不同的GNOME进程.所以如果你有一台运行Ubuntu的性能良好的电脑,其他电脑性能不好的用户可以登录进入你的电脑,并且运行在你电脑上能够使用的大型程序。

怎么开启XDMCP的功能

在性能良好的电脑上开启XDMCP,点击如下菜单

System -> Administration -> Login Window 

在Login Window首选项对话窗选择如下:

Remote Tab -> Style: Same as Local -> Close the dialog window -> Restart the PC
How to login from another PC running Ubuntu
1. Reboot the slow PC and stop at the login screen
2. Click Options at the lower left corner of the login screen
3. Select "Remote Login via XDMCP"
4. On the dialog window, type in the host name or ip of the fast computer you want to login to


Remote Desktop Sharing/Duplication via VNC

How to configure remote desktop (not secure)
Warning! Remote Desktop will only work if there's a GNOME login session
Leaving computer with an unattended GNOME login session is not secure
Use (System -> Lock Screen) and switch off the monitor when computer is left unattended
  • System -> Preferences -> Remote Desktop
  • Remote Desktop Preferences
Sharing ->
Allow other users to view your desktop (Checked)
Allow other users to control your desktop (Checked)
Security ->
Ask you for confirmation (Un-Checked)
Require the user to enter this password: (Checked)
Password: Specify the password
怎样远程连接 Ubuntu桌面
例如: 假定远程UBUNTU电脑已经配置好远程控制桌面
参考 #How to configure remote desktop (not secure)
远程电脑地址为: 192.168.0.1,使用下面的命令
vncviewer -fullscreen 192.168.0.1:0  
  • 退出控制
按 'F8' -> 退出远程显示
怎样使用windos 远程登录ubuntu 桌面
e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
Read #How to configure remote desktop (not secure)
Remote Ubuntu machine: 192.168.0.1
  • If you have a router remember to open the appropiate port. The default one is 5900
This process is called port forwarding port forwarding
  • Download DotNetVNC: Here or RealVNC Here
this is a free DotNet version that require the DotNet framework available from microsoft here
The RealVNC website was created and maintained by the original developers of VNC during their time at AT&T. RealVNC comes in Free, Personal, and Enterprise editions - the latter two costing money.
  • Open the VNC client you have chosen, and insert the connection string formatted like this <LINUX BOX IP><:DESKTOP NUMBER>|<::PORT>
In example use: 192.168.1.2:0 or 192.168.1.2::5900 to connect to desktop 0, to connect to desktop 1 use 192.168.1.2:1 or 192.168.1.2::5901 and so on
How to connect into remote Ubuntu desktop via OSX
e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
Read #How to configure remote desktop (not secure)
Remote Ubuntu machine: 192.168.0.1
  • If you have a router remember to open the appropiate port the default one is 5900
This process is called port forwarding port forwarding
  • Download ChickenOfTheVNC: Here
  • Open ChickenOfTheVNC, and insert the host (IP address of remote machine), the display number (0 is default and is port 5900) and the password.
In example use: Host: 192.168.0.1, Display 0, Password: password