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

来源:互联网 发布:免费自动发货软件 编辑:程序博客网 时间:2024/06/01 21:15

通过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=ubuntugreeter-session=unity-greeterautologin-user=[XDMCPServer]enabled=trueport=177#key=[VNCServer]enabled=trueport=5900width=1920height=1080depth=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 likectrl+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 gotoChange 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 usedGNOME 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..


0 0
原创粉丝点击