Connect Mac OS X with Linux Server
来源:互联网 发布:多益网络手游有哪些 编辑:程序博客网 时间:2024/04/30 06:15
There are many ways to connect Mac OS X with Linux by command line. However, connecting them with GUI is not so easy. I tried two ways, but none of them work perfectly and each of them has both advantages and disadvantages.The first way I tried was VNC.Chicken of the VNC was said to be the best VNC client under Mac OS X, unfortunately, I haven't make it work, even follow the tips of webpage Using VNC on Mac OS X. I used realvnc. The first step is to configure ssh. I followed the tips on webpage Connecting to Remote Linux Desktop via SSH with X11 Forwarding. In the Linux server, after installing openssh, edit the file
/etc/ssh/ssh_config
and make sureForwardAgent yesForwardX11 yesForwardX11Trusted yesThen edit
/etc/ssh/sshd_config
and make sureX11Forwarding yes.In the terminal of Mac OS X, enter command "
ssh -L 5901:localhost:5900 <login>@<LinuxServer>
". 5901 is the port number to be used by RealVNC, and 5900 is the port number of the VNC in Linux. For details about this command, refer toSSH Port Forwarding on Mac OS X. Then start RealVNC, enter "localhost:5901
" and your VNC password.RealVNC works reliably, but the quality of GUI is not good and sometimes responds slowly.The other method is also based on ssh, therefore the ssh should also be configured in the Linux side. The only difference is X11 should be installed in Mac OS X. The above ssh command can also be used. Or just use "ssh -X <login>@<LinuxServer>". After login to Linux in terminal, run command "gnome-session
"(this requires Gnome be installed in Linux server). In this way, remote Linux programs runs as local Mac applications. For more info, please refer toConnecting to Remote Linux Desktop via SSH with X11 Forwarding.
- Connect Mac OS X with Linux Server
- MAC OS X connect server
- Mac OS X:Finder菜单中的Connect to Server选项禁止和打开
- Getting StartED with Mac OS X Leopard
- (Mac OS X)pip install with socks5
- Installing JBoss Application Server 7.1 on Mac OS X with Eclipse Integration
- Mac OS X Server 安装与应用
- [Linux] Can not connect to X server
- 连接Mac OS X或Linux操作系统
- MAC OS X下的Linux环境
- Cannot connect to X server :0.0 with a Qt application
- Mac OS X - Modify an Installation with Scripts(1)
- Mac OS X - Modify an Installation with Scripts(2)
- Mac OS X - Modify an Installation with Scripts(3)
- Mac OS X - Modify an Installation with Scripts(4)
- Mac OS X - Modify an Installation with Scripts(5)
- How to Do Everything with Mac OS X Panther
- MeeGo SDK on Mac OS X with VirtualBox
- SQLite快速入门教程(第四集)总共五集_小布老师
- 中移动13.6亿入股科大讯飞 助力国产语音对抗Siri
- 《黑龙江省基础测绘“十二五”规划》印发
- SQLite快速入门教程(第五集)总共五集_小布老师
- 异常处理
- Connect Mac OS X with Linux Server
- 学生管理系统之查询窗体
- 微软新Logo:时隔25年后再次更换
- 基于Aviator的注解驱动验证框架
- 2005 自定义控件 ASCX
- C++文件操作函数详解
- 大势所趋话开源——中国开源现状分析
- 《Unix & Linux 大学教程》 - 第五、六章 学习笔记
- XMPP协议的原理介绍