- Xming
- NX technology
Xming
http://sourceforge.net/projects/xming/
NX technology: (NeatX, freenx)
http://freenx.berlios.de/
nxproxy <----------> nxagent
Neatx - an open source NX implementation created by Google
http://code.google.com/p/neatx/downloads/list
freenx 與 NX Free Edt 的分別
freenx 安裝 <--- no connection limits, GPL
NX Free Edition <--2 connection
NX Free Edition License
http://www.nomachine.com/ar/view.php?ar_id=AR06D00401
allowing 1-2 user sessions
basic functionalities
NX Free Edition 安裝
DEB version:
$ sudo dpkg -i nxclient_3.5.0-7_i386.deb
$ sudo dpkg -i nxnode_3.5.0-9_i386.deb
$ sudo dpkg -i nxserver_3.5.0-11_i386.deb
/bin/nxserver --status|--start|--stop|--restart.
freenx
client --> ssh --> server(nx-desktop , nx , nx-viewer agent)
Suspend/Resume Session
安裝
FreeNX Team PPA:
add-apt-repository ppa:freenx-team
You are about to add the following PPA to your system: FreeNX/NX packages More info: https://launchpad.net/~freenx-team/+archive/ppa Press [ENTER] to continue or ctrl-c to cancel adding it
- apt-get install python-software-properties
- apt-get update
- aptitude install freenx
安裝後會有以下的包
- freenx <-- 空穀
- freenx-server
- freenx-rdp <-- 空穀
- freenx-smb <-- /usr/bin/nxredir
- freenx-vnc <-- 空穀
設定:
/etc/nxserver
- node.conf
設定的套用次序:
nxloadconfig => node.conf => node.conf.user
Correct: A_SETTING="1"
/etc/nxagent/nxagent.keyboard
rules=xfree86
/usr/lib/nx/nxsetup --install
Application > "Run the following command": gnome-session --session=ubuntu-2d
nxserver <option>
--adduser <user>: Add a new user
--passwd <user>: Change password of <user>
--deluser <user>: Remove a user from nx
--listuser: List enabled users
--start: Start the nx server
--stop: Stop the nx server
--status: Show status of nx server
--restart: Restart the nx server. (start,stop)
--list [ user | sessionid ]: List running sessions of user or sessionid
--history [ user | sessionid | clear ]: Show history [ of user | sessionid ] or clear the history
--terminate <user | :display | sessionid>: Terminate the session pointed to by
sessionid or display, or all sessions of the specified user.
Use * for all sessions.
--force-terminate: Like terminate, but removes also session info.
--suspend <user | :display | sessionid>: Suspend the session pointed to by
sessionid or display, or all sessions of the specified user.
Use * for all sessions.
--cleanup: Terminates all running sessions. Useful after power-outage.
--broadcast <message>: Send a message to all users
--send <user | :display | sessionid> <message>: Send a message to the specified user or sessionid
======================================================================
nxserver --status
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
NX> 110 NX Server is stopped
NX> 999 Bye
nxserver --history
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0) NX> 127 Session list: Display Username Remote IP Session ID Date Status ------- --------------- --------------- -------------------------------- ------------------- ----------- 2001 vbox4 ???????? 5818EAFDB78BC962BFA4C8B039614A3C 2012-06-19 05:57:16 Failed 2001 vbox4 ???????? 76C6555978BE6E851B01BF64A6580EDE 2012-06-19 06:00:30 Finished 2000 tim ???????? 379279CEB9AA66126CA24C9E8CC62749 2012-06-19 06:03:10 Running NX> 999 Bye
nxserver --list
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
NX> 127 Sessions list:
Server Display Username Remote IP Session ID
------ ------- --------------- --------------- --------------------------------
NX> 999 Bye
nxserver --terminate tim
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
NX> 716 Terminating session DF78689E18A6831AD62125AA76D3E82E on user request.
NX> 1001 Bye.
NX> 999 Bye
=========================================
/usr/bin/startxfce4
/etc/xdg/xfce4/xinitrc
/usr/bin/xfce4-session
Options = New Virtual Desktop.
/usr/NX/bin/nxserver --restart
Client:
http://opennx.net/download.html
http://www.nomachine.com/select-package-client.php