配置NX远程桌面

上传人:飞****9 文档编号:131945424 上传时间:2020-05-11 格式:DOC 页数:16 大小:327.86KB
返回 下载 相关 举报
配置NX远程桌面_第1页
第1页 / 共16页
配置NX远程桌面_第2页
第2页 / 共16页
配置NX远程桌面_第3页
第3页 / 共16页
配置NX远程桌面_第4页
第4页 / 共16页
配置NX远程桌面_第5页
第5页 / 共16页
点击查看更多>>
资源描述

《配置NX远程桌面》由会员分享,可在线阅读,更多相关《配置NX远程桌面(16页珍藏版)》请在金锄头文库上搜索。

1、Remote Desktop to an Amazon EC2 Instanceby Jeff Hunter, Sr. Database AdministratorContents Introduction Add GNOME Desktop and X Window System Install NX Free Edition for Linux to Amazon EC2 Instance Install NX Client on Your Local Machine Log In to Remote Graphical Desktop using NX About the AuthorI

2、ntroductionIn most cases, the Linux servers I setup asAmazon EC2instances are used to host the Oracle database software and only require use of the operating system Command-Line Interface (CLI). This is beneficial because I only need register an Amazon Machine Image (AMI) with aMinimalorBasic Server

3、OS installation and can add only those required Linux packages needed to support the database. However, there are situations where I need to access a graphical desktop in order to install or run certain Graphical User Interface (GUI) applications.This guide provides the steps needed to add the GNOME

4、 Desktop to a Red Hat Enterprise Linux 6.2 AMI where the OS was installed without the X Window System. Although there are several options to enable a remote desktop on an EC2 instance, I prefer to useNX Free Edition (FreeNX).FreeNX is a program which allows users to run remote X11 sessions from clie

5、nts running on Windows, Linux, Mac OS X and Solaris platforms to servers running, at present, on Linux or Solaris.This guide assumes you have anAmazon Web Services accountand know how to create new EC2 instances from an AMI, key-pairs and security groups within theAWS Management Console.Add GNOME De

6、sktop and X Window SystemThe Red Hat Enterprise Linux 6.2 AMI, like most community AMIs, does not include the GNOME Desktop or X Window System software. In this section, the required GUI packages will be installed to the running instance usingyum.Install Desktop Packages# yum -y groupinstall Desktop

7、 Desktop Platform X Window System FontsYou can also install the following optional GUI packages.# yum -y groupinstall Graphical Administration Tools# yum -y groupinstall Internet Browser# yum -y groupinstall General Purpose Desktop# yum -y groupinstall Office Suite and Productivity# yum -y groupinst

8、all Graphics Creation ToolsWhen usingyum groupinstall, thegroupinstalloption only installsdefaultandmandatorypackages from the group. There are times when you also want to includeoptionalpackages within a group. I have not figured out (yet) how to control which package types to install (group packag

9、e policy) from the command-line usingyum. The only method I know of to also includeoptionalpackages is to edit the/etc/yum.conffile and add the following to themainsection:group_package_types=default mandatory optionalThe reason I mention this is because I wanted to install Terminal emulator for the

10、 X Window System (xterm) which is under the group Legacy X Window System compatibility.xtermhappens to be an optional package and did not get installed until I addedgroup_package_types=default mandatory optionalto/etc/yum.conf.# yum -y groupinstall Legacy X Window System compatibilityI did find a pl

11、ug-in foryumthat allows users to specify which package types within a package group should be installed when usingyum groupinstall.http:/ GNOMESince the server was previously running on CLI mode, we need to change the initialization process for the machine to boot up in GUI mode.Open/etc/inittabusin

12、g a text editor and change following line:id:3:initdefault:To:id:5:initdefault:After making the change, reboot the machine.# init 6Install NX Free Edition for Linux to Amazon EC2 InstanceIn this section, NX Free Edition for Linux - x86_64 will be installed on the EC2 instance.RHEL EC2 InstanceDownlo

13、ad and install the NX Free Edition for Linux package on the Amazon EC2 instance fromNoMachine. NX Free Edition for Linux - i386 NX Free Edition for Linux - x86_64Installation of NX Server for Linux requires the download and installation of three packages: client, node and server. The client is neede

14、d because it ships libraries used by the node. The node is needed because it ships tools needed by the server. Furthermore, the SSH server daemon (SSHD) needs to be up and running on each of the NX Node machines since NX relies on the mechanism provided by the SSH subsystem for handling user authent

15、ication.# rpm -i nxclient-3.5.0-7.x86_64.rpm# rpm -i nxnode-3.5.0-9.x86_64.rpm# rpm -i nxserver-3.5.0-11.x86_64.rpmIf you intend to support printing from the NX session, you need to set proper permissions on your IPP backend for IPP CUPS printing.# chmod 755 /usr/lib/cups/backend/ippThe NX service can be controlled by the command/usr/NX/bin/nxserver -status|-start|-stop|-restart. For example,rootip-10-29-162-247 # /usr/NX/bin/nxserver -statusNX 900 Connecting to server .NX 110 NX Server is running.NX 9

展开阅读全文
相关资源
相关搜索

当前位置:首页 > IT计算机/网络 > 其它相关文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号