- 浏览: 261368 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
aliang032:
php socket 编程建使用http://www.work ...
PHP Socket 编程 -
大秦布衣:
不错的教程 简明额要 不过要是完善百度的照片就更好了
Git入门教程 -
bravelinw:
这个问题网上有很多个版本,有的还弄得很深邃,还是lz的看到了问 ...
(leopard)MySQL #2002 - 服务器没有响应 -
sunnylocus:
很有感触,我也是刚刚做项目经理,沟通能力是做PM的基本要求,希 ...
面试了一位项目经理后我的感想 -
artoy:
看来,对技术人员也有与对销售人员相同的要求,
面试了一位项目经理后我的感想
http://fedoranews.org/contributors/rick_stout/freenx/
HOWTO setup Freenx on Fedora
by Rick Stout on Sep 15, 2004 (UPDATED 2006-07-13)
Introduction
Ever since I'd heard about NX, i was curious to see how it performed as a remote solution. I signed up for one of NOMACHINE's free test accounts, and was truly amazed by the performance of the connection. So here is the culmination of multiple sites worth of information, trial and error, and pure elbow grease, allowing the community to run Freenx. Once you've started using NX, you'll never go back to VNC.
Prerequisite: sshd must be running as a daemon on port 22 (This can be modified later.)
Let's do this...
The rpm takes care of the installation and setup, so there is no need to run "nxsetup".
Do this if you are running FC5:
# Make sure you are up-to-date
yum update
# Install FreeNX and all dependencies
yum install freenx
#SERVER SETUP IS DONE! The RPM takes care of the required setup.
Do this if you are running FC4 or earlier:
# Make sure you are up-to-date
yum update
# Install NX rpm dependencies
yum install expect nc
# Grab a Freenx package
# Use this package for FC2, FC3, FC4, and xorg based distributions
wget http://fedoranews.org/contributors/rick_stout/freenx/freenx-0.4.4-2.fdr.0.noarch.rpm
# Use this package for FC1, RH9, RHEL3 or XFree86 based distributions
# wget http://fedoranews.org/contributors/rick_stout/freenx/freenx-0.4.4-2.rh.0.noarch.rpm
# Next, grab an nx package
# This package was built on FC4
wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC4.1.i386.rpm
# This package was built on FC3
# wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC3.1.i386.rpm
# This package was built on FC2
# wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC2.1.i386.rpm
# Use this package if you are using FC1, RH9, RHEL3 or a Redhat compatible
# distribution using XFree86
# wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC1.1.i386.rpm
# Source rpm's
# wget http://fedoranews.org/contributors/rick_stout/freenx/freenx-0.4.4-2.fdr.0.src.rpm
# wget http://fedoranews.org/contributors/rick_stout/freenx/freenx-0.4.4-2.rh.0.src.rpm
# wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC4.1.src.rpm
# wget http://fedoranews.org/contributors/rick_stout/freenx/nx-1.5.0-4.FC1.1.src.rpm
# wget http://fedoranews.org/contributors/rick_stout/freenx/md5sum
# Install the RPM's
rpm -Uvh nx-1.5.0-4.FC4.1.i386.rpm
rpm -Uvh freenx-0.4.4-2.fdr.0.src.rpm
#SERVER SETUP IS DONE! The RPM takes care of the required setup.
It Needs a client too...
Next, download and install the NOMACHINE client on your client workstation. Using the 1.5.0 nx backend, you will need to use the 1.5.0 client from !M. I used the Win32 client (work computer to access home machine) from www.nomachine.org. Other platforms clients can be found here, as well as installation help. The most important part of the initial connection is the key file. This file, client.id_dsa.key, must be copied from the server and imported into the session of your client. Follow these steps to configure your client.
Enter a "Session" and "Host" name then click "Next".
Select "Unix", a Window Manager and a resolution. Make sure that "Enable SSL encryption on all traffic" is checked and click "Next". Check "Show the Advanced Configuration dialog" box and click "Finish".
Click "Key...", "Import", Select the key file and click "Open". This file, client.id_dsa.key can be found on the server either in the
/etc/nxserver/
or
/var/lib/nxserver/home/.ssh/
directories. Click "Save", "Save" and "Ok".
Note: If you created the connection icon, it will only prompt for username and password. Your first connection will give you an error about cache - This is normal. Voila! You're connected.
Hints, tricks and other...
Freenx is heavily dependent upon SSH. For testing purposes, you can use the client.id_dsa.key to ssh to your server as nx. You can copy this file to your client users .ssh directory. Replace {NXSERVER} with the name or ip address of your NX Server. For example, you should get something like this:
# This is to be done on the client machine, not the server
mv ~/.ssh/id_dsa ~/.ssh/id_dsa.bak
cp /usr/NX/share/client.id_dsa.key ~/.ssh/id_dsa
chmod 600 ~/.ssh/id_dsa
ssh nx@{NXSERVER}
HELLO NXSERVER - Version 1.4.0-02 OS_(GPL)
NX> 105 quit
quit
Quit
NX> 999 Bye
Connection to {NXSERVER} closed.
If you dont get a connection, use this guide to help you troubleshoot.
If you get an xkb error do this as root:(Thank you, Brad Sammut)
cd /usr/X11R6/lib/X11/xkb/rules
ln -sf xorg-it.lst xfree86-it.lst
ln -sf xorg.lst xfree86.lst
ln -sf xorg.xml xfree86.xml
# this last one may already exist
ln -sf xorg xfree86
There seems to be a bug in the handling of the gnome-session when "Gnome" is chosen for the window manager on FC3 and FC4.
If you are using Gnome, and you cannot get to your normal desktop, try selecting
1)'Unix' 2)'Custom' 3)'Settings' 4)'Run default X client script on server in the client configuration'.
Want some more information about freenx, in general? Try here or here.
If installing the Linux client from NoMachine gives an error looking for libXcomp.so.1.4.0-03, you can link it to an existing file:
ln -sf /usr/NX/lib/libXcomp.so.1.4.0 /usr/NX/lib/libXcomp.so.1.4.0-03
Freenx is extremely fast. You will be able to use much higher resolutions than previously used with VNC. Play around: You will be impressed.
Freenx does not need to be setup as a service or added to rc.local. NX uses no memory when not in use and you won't find it by doing a ps aux, because it is a shell that only runs when your client ssh's to your machine. By issuing:
/usr/bin/nxserver --stop
Freenx renames the authorized_keys2 file, making it impossible to logon as nx.
Suspend seems to work when resuming from the same client. Test it out, and let me know.
Uninstall? EASY!
# Remove the packages
rpm -e freenx nx
# The keys and configuration files are retained in /etc/nxserver
发表评论
-
使用Passenger在Dreamhost上面部署Rails应用
2009-09-06 20:15 0Wanstrath tweet 关于在Dreamh ... -
Fedora8 安装 VNC
2009-09-02 15:19 1344在服务器端(如192.168.0.2): 1. yum ... -
install xdmcp
2009-09-01 17:35 1189apt-get/yum install icewm apt ... -
linux下解压命令大全
2009-09-01 17:27 1026.tar 解包:tar xvf FileName.tar ... -
如何定制bash提示符?
2009-08-31 17:49 4120我们常用的bash提示符一般是这样的:[username@ho ... -
在Fedora 10下面配置SVN服务器
2009-08-21 18:24 1982在Fedora 10下面配置SVN服务器 subversio ... -
用telnet收发邮件
2009-08-21 02:13 2397以163邮箱为例→→→→→→→telnet收邮件 ... -
Fedora 6架设Sendmail邮件服务器 Fedora 8 通过
2009-08-21 01:01 2136Fedora 6架设Sendmail邮件服务器 (解决php ... -
XAMPP for Linux 的安装及配置
2009-08-20 12:55 4062XAMPP for Linux 的安装及配置 1. 下载xa ... -
编程获取Linux的cpu占用率和mem使用情况
2009-08-11 11:24 5376Linux下提供top、ps命令查看当前cpu、mem使用情况 ... -
查看linux服务器的系统信息
2009-08-10 16:14 1509新接手了几台linux的服 ... -
Fedora 11硬盘安装
2009-08-09 18:49 2941下载了Fedora 11 DVD ISO镜 ... -
如何在Linux中踢出用户
2009-08-09 15:28 6320如何在Linux中踢出用户 ... -
基于bsd watch监控用户操作记录
2009-08-09 14:35 1192基于bsd watch监控用户操作记录 前几日看到bs ... -
linux传统网络配置命令与ip高级路由命令
2009-08-09 13:41 1414经过一段时间的研究 ... -
Linux 添加用户(User)和用户组(Group)
2009-08-06 02:29 5258通过修改用户(User)和 ... -
在linux下定时执行PHP脚本
2009-08-05 10:18 1644在linux下定时执行PHP脚本(定 ... -
error while loading shared libraries: libstdc++.so.5: cannot open shared object
2009-08-04 20:49 4498error while loading shared libr ... -
Linux各常用目录简介及功能
2009-08-03 01:19 938目录树可以分为小的部 ... -
新手入门 图文安装Fedora Core 4.0教程(虽然旧,但是对新手还是可参考的)
2009-07-27 19:37 1459安装前的准备工作 要下载四张ISO,都是哪四张盘呢? ...
相关推荐
Linux操作系统远程桌面软件FreeNX-xxlinux_com
Ubuntu-FreeNX-AMI 通过 NX 协议支持远程桌面的 Amazon EC2 机器映像。 预期用例是支持可从任何计算机访问的云托管个人工作区。 地位 在职的: AMI 打包正确 安装了 FreeNX 服务器 不工作: 无法验证客户端连接 ...
FreeNX 是 NoMachine.com OSS NX 组件的免费服务器实现。 NX 允许在真正的慢速链路上使用 X 连接,如调制解调器或 ISDN。
FreeNX Sessions Administrator是一款开源软件,专门设计用于管理和监控FreeNX服务器上的远程桌面会话。FreeNX是一种高效、安全的远程访问技术,它允许用户通过网络连接到Linux或Unix系统,提供类似于本地桌面的体验...
文章《Develop and Test Your PHP Applications on the IBM cloud》为我们介绍了一个非常具体的实践案例,即如何利用IBM的云计算平台来改进PHP应用程序的开发与测试过程。 首先,文章提到了云计算对PHP应用开发者的...
1. 下载适合Windows系统的NX客户端软件包,如NoMachine或FreeNX。 2. 执行安装程序,按照向导提示完成安装过程。 3. 配置客户端设置,包括服务器地址、端口号、用户名和密码。 ### 连接Linux虚拟桌面 1. 在NX客户端...
如果之前安装过FreeNX或其他版本的NX,需要先卸载并清除相关文件夹和残留文件,以避免冲突。 进入安装阶段,按照nxclient、nxnode、nxserver的顺序安装下载的DEB文件,顺序非常重要,因为nxserver依赖前两者。你...
NxSpooler 是一个 Qt 实用程序,可帮助人们在使用 x2go 或 FreeNX 等会话连接到远程计算机时在他们的打印机中打印。 它还添加了一些非常基本且简单的客户端/服务器功能。 有关更多信息,请参阅 ...
- 软件选择:RDP(远程桌面协议)、PXE(预启动执行环境)和各种无盘系统软件,如Windows Terminal Services、Linux的NBD(Network Block Device)或FreeNX等。 - 客户端硬件:支持网络启动的硬件,以及足够的RAM...