您的位置:首页 > 运维架构

Ubuntu13.10 通过XDMCP访问远程桌面 destop

2014-03-25 14:14 525 查看
通过xdmcp访问,需要在服务器开通lightdm服务,默认自带,但是没有提供。

目录/etc/lightdm/lightdm.conf.d有一些文件

10-ubuntu.conf  50-greeter-wrapper.conf  50-unity-greeter.conf  50-xserver-command.conf

应该都是例子吧。

需要在
/etc/lightdm/lightdm.conf
中编辑,如果没有就编辑一个新的

[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter
autologin-user=

[XDMCPServer]
enabled=true
port=177
#key=

[VNCServer]
enabled=true
port=5900
width=1920
height=1080
depth=16

重新启动 service lightdm restart 就可以生效了。



参考:

wiki:
http://askubuntu.com/questions/tagged/xdmcp http://askubuntu.com/questions/413386/multiple-users-over-vnc-lightdm http://blog.sina.com.cn/s/blog_436e594201013oqy.html
老外遇到的问题:

and this automatically opens 5900 and grants a new login screen to each vnc session.

However, upon logging in, all I get is an unusable desktop. Keyboard commands like
ctrl+alt+t
don't seem to work. I'm able to use the mouse however, but I don't get the unity launcher. When I right-click and goto
Change Desktop Background
, I notice that the window seems to lack the maximize, minimize, close icons as well.

I'm not an expert at Linux and am thus at a loss to better explain my predicament.

Any help would be greatly appreciated.

edit: I modified
greeter-session=lightdm-gtk-greeter
and used
GNOME
option instead of
Ubuntu
and was able to achieve the desired results.However, I've gotten really comfortable with Unity and would like to know if it is possible to achieve the same with Unity..
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: