薛堪豪的个人博客分享 http://blog.sciencenet.cn/u/bfax 兴趣:凝聚态物理,电化学

博文

远程登陆 Ubuntu 服务器

已有 2735 次阅读 2016-4-27 13:00 |个人分类:计算机|系统分类:科研笔记

Ubuntu 服务器不太容易设置 SSH 访问,比较好的方法是通过 xrdp 与 xfce 实现远程连接。

> sudo apt-get install xrdp
> sudo apt-get install vnc4server tightvncserver
> sudo apt-get install gnome-panel
> sudo apt-get install xubuntu-desktop
> echo xfce4-session > ~/.xsession
> sudo gedit /etc/xrdp/startwm.sh
在 ./etc/X11/Xsession 前一行插入
xfce4-session
> sudo service xrdp restart

> xfwm4-settings

选择"键盘"选项卡,清除下面的“切换同一应用程序的窗口”选项

> ifconfig

通过 ifconfig 获得当前服务器 IP(第一个 IPv4 的值,不是广播那个),然后通过 Windows 的远程桌面访问即可。



https://wap.sciencenet.cn/blog-365047-973124.html

上一篇:金属/半导体界面在 VASP 中计算不收敛的解决方案
下一篇:VASP 不同编译方法的性能测试
收藏 IP: 122.205.7.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-19 07:11

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部