diff --git a/le-multiterminal/README b/le-multiterminal/README new file mode 100644 index 0000000000000000000000000000000000000000..082a4aac696b8645e39771c2ba61e6e4a4aaf989 --- /dev/null +++ b/le-multiterminal/README @@ -0,0 +1,2 @@ +README +====== diff --git a/le-multiterminal/TODO b/le-multiterminal/TODO new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/le-multiterminal/VERSAO b/le-multiterminal/VERSAO new file mode 100644 index 0000000000000000000000000000000000000000..af0b7ddbffd5d5a877581ba8ba10deed158da14d --- /dev/null +++ b/le-multiterminal/VERSAO @@ -0,0 +1 @@ +1.0.6 diff --git a/le-multiterminal/gerar.sh b/le-multiterminal/gerar.sh new file mode 100755 index 0000000000000000000000000000000000000000..adf7235568c89ba0f7ffcd08345250c0bdc279d3 --- /dev/null +++ b/le-multiterminal/gerar.sh @@ -0,0 +1,62 @@ +#!/bin/bash +# gerar.sh +# Copyright (c) 2006 by Bruno Ribas <ribas@ufpr.br> + +DIRTMP=$(mktemp -d) +VERSAO=$(cat VERSAO) + +#arrumar versao +#$1 tipo de incremento +MAJOR=$(echo $VERSAO| cut -d'.' -f1) +MINOR=$(echo $VERSAO| cut -d'.' -f2) +REVISION=$(echo $VERSAO| cut -d'.' -f3) + +case $1 in + Minor) + ((MINOR++)) + REVISION=0 + ;; + Major) + ((MAJOR++)) + MINOR=0 + REVISION=0 + ;; + help) + echo "Uso: $0 Major|Minor|Revision" + echo ' Major - Altera versao Major' + echo ' Minor - Altera versao Minor' + exit + ;; + *) + ((REVISION++)) + ;; +esac + +VERSAO="${MAJOR}.${MINOR}.${REVISION}" +echo "$VERSAO" > VERSAO + + +#Compila a documentacao do pacote no diretorio doc/ +#cd doc/ +#hevea -text *.tex +#hevea -text *.tex +#cd ../ + +cp -r pacote $DIRTMP + +#Copia a documentacao compilada para dentro do pacote. +#cp doc/*.txt $DIRTMP/pacote/usr/share/doc/prd-* + +cd $DIRTMP +find . -name ".svn" -exec rm -rf {} \; &>/dev/null +sed -i -e "s/Version:/Version: $VERSAO/" pacote/DEBIAN/control + +fakeroot dpkg -b pacote . + +cd - + +cp $DIRTMP/*deb . +rm -rf $DIRTMP + + +# vim:tabstop=4:shiftwidth=4:encoding=iso-8859-1 diff --git a/le-multiterminal/pacote/DEBIAN/control b/le-multiterminal/pacote/DEBIAN/control new file mode 100644 index 0000000000000000000000000000000000000000..319966c6984e7882960e40dfaf85a84ac9d5c7f6 --- /dev/null +++ b/le-multiterminal/pacote/DEBIAN/control @@ -0,0 +1,9 @@ +Package: le-multiterminal +Version: +Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br> +Architecture: i386 +Section: main +Priority: important +Depends: libusb-v1, listpci, umx-mesa, umx-multimedia, umx-server, umx-storage, + umx-tusb, umx-utils +Description: Userful mutiseat solution for LE diff --git a/le-multiterminal/pacote/DEBIAN/postinst b/le-multiterminal/pacote/DEBIAN/postinst new file mode 100755 index 0000000000000000000000000000000000000000..f2e29c72be2d41705245bd4bf0016d6d43d39f77 --- /dev/null +++ b/le-multiterminal/pacote/DEBIAN/postinst @@ -0,0 +1,31 @@ +#!/bin/bash + +# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre +# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR +# +# This file is part of le-multiterminal +# +# le-multiterminal is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. + +# Install Userful multiseat solution +OLDDIR=$(pwd) + +cd /etc/le-multiterminal/userful-multiplier +/bin/bash ./installer.sh + +sed -i "s#CD/DVD_WHITELIST=on#CD/DVD_WHITELIST=off#g" /etc/userful/CD-whitelist + +cd ${OLDDIR} diff --git a/le-multiterminal/pacote/DEBIAN/prerm b/le-multiterminal/pacote/DEBIAN/prerm new file mode 100755 index 0000000000000000000000000000000000000000..e5e1d8b87c8fcf3ec55634ee6626914716d61d04 --- /dev/null +++ b/le-multiterminal/pacote/DEBIAN/prerm @@ -0,0 +1,29 @@ +#!/bin/bash + +# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre +# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR +# +# This file is part of le-multiterminal +# +# le-multiterminal is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. + +# Uninstall Userful multiseat solution +OLDDIR=$(pwd) + +cd /etc/le-multiterminal/userful-multiplier +/bin/bash ./uninstaller.sh + +cd ${OLDDIR} diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/License-Agreement.txt b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/License-Agreement.txt new file mode 100644 index 0000000000000000000000000000000000000000..d8c5df4ec5e230d83d7548f45018d97d59fa89c9 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/License-Agreement.txt @@ -0,0 +1,108 @@ +Userful Corporation + +End User License Agreement +=========================== + +Userful Corporation IS WILLING TO LICENSE THE SOFTWARE YOU ARE ABOUT TO USE ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS END USER LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. THIS IS A BINDING AGREEMENT BETWEEN YOU (THE "CUSTOMER") AND Userful Corporation. YOU MUST AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT IN ORDER TO USE THE SOFTWARE OR SUBSCRIBE (EITHER AS A PURCHASER OR FOR A TRIAL PERIOD) TO USERFUL SERVICES. BY PROCEEDING TO RUN THIS SOFTWARE, YOU ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY SELECTING THE "I AGREE" BUTTON AT THE BOTTOM OF THE AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE TERMS, SELECT THE "I DO NOT AGREE" BUTTON AT THE BOTTOM OF THE AGREEMENT AND THE PROGRAM WILL NOT RUN. + +1. DEFINITIONS +=============== +In this Agreement, +1.1. "Software" means the object code version of the computer software licensed by Customer under this Agreement. +1.2. "Documentation" means such manuals, documentation and any other supporting materials relating to the Licensed Software as are currently maintained by Userful and generally provided to its licensee. +1.3. "Products" means hardware, Software, documentation, accessories, supplies, parts and upgrades that are determined by Userful to be available from Userful upon receipt of Customer's order. +1.4. "Reseller" means a dealer Licensed by Userful to sell its products. +1.5. "Customer Agreement" means the agreement between the Customer and the Reseller setting out the type of License, Number of Terminals and License Fee for the service provided. +1.6. "Terminal" means any terminal (monitor combined with input devices such as keyboard, mouse, or touch screen) attached to a computer running the Software. +1.7. "License" means the Software and Support License or Evaluation License granted for the appropriate number of Terminals, License Fee and Term of Validity as set out in the accompanying Customer Agreement +1.8. "License Fee" means the fee or fees designated by Userful or the Reseller for Software and Support. Different License Fees apply depending on the type of License: number of Terminals: the duration of the License; and the nature of the support. +1.9. "Term of Validity" means the period set out in the accompanying Customer Agreement throughout which Customer may use the software either on the basis of an Evaluation License or a Software and Support License. + +2. LICENSE TERMS +================== +2.1. Software is owned and copyrighted by Userful and/or by third party suppliers. Customer's Software and Support License confers no title or ownership and is not a sale of any rights in the Software. Third party suppliers shall have the rights to protect its own proprietary rights to the Software in the event of any infringement. +2.2. Unless otherwise permitted by Userful, Customer may only make copies of the Software for archival purposes or when copying is an essential step in the authorized use of the Software on a backup device, provided that copies are used in no other manner and provided further that the use on the backup device is discontinued when the original or replacement device becomes operable. +2.3. Customer may not use more terminals than stipulated in the License, nor may the software be used if it is not within the Term of Validity of the most recent License or Support Agreement with the Customer. +2.4. Customer will not modify, disassemble or decompile the Software without Userful's prior written consent. Where Customer has other rights under statute, Customer will provide Userful with reasonably detailed information regarding any intended disassembly or decompilation. Customer will not decrypt the Software unless necessary for legitimate use of the Software. In addition Customer will take all reasonable steps to ensure that users of Userful's software in Customer's possession do none of the aforementioned. +2.5. The customer shall not: +2.5.1. Remove any product identification, copyright notices, or other notices or proprietary restrictions from the Software; +2.5.2. Disclose results of any benchmark tests of the Software to any third party without Userful's prior written approval +2.6. Userful may terminate Customer's License upon notice for failure to comply with any applicable License terms. +2.7. If Customer does not renew a license agreement with Userful by the termination date all Userful software must be immediately removed from the Customer's computers at the Customer's expense. + +3. LICENSE GRANT +================== +3.1. Subject to timely payment of the License Fee and the terms and conditions of this Agreement, Userful grants Customer a non-exclusive and non-transferable license to use the Software during the Term of Validity of the License in conformance with: +3.1.1. The terms set forth herein; +3.1.2. Use restrictions and authorizations for the Software specified in the Customer Agreement; +3.2. Many of the Software Programs included in Userful's software are distributed under the terms of agreements with Third Parties ("Third Party Agreements") that may expand or limit Customer's rights to use certain Software Programs as set forth in Section 2. Certain Software Programs may be licensed (or sublicensed) to Customer under the GNU General Public License and other similar open source license agreements ("OSLAs") which, among other rights, permit Customer to copy, modify and redistribute certain Software Programs, or portions thereof, and have access to the source code of certain Software Programs, or portions thereof. In addition, certain Software Programs, or portions thereof, may be licensed (or sublicensed) to Customer under terms stricter than those set forth in Section 2. Please visit and review www.userful.com/support/licenses for the on-line documentation that accompanies certain Software Programs, or portions thereof, for the applicable Third Party Agreements. To the extent any Third Party Agreements require that Userful provide rights to use, copy or modify a Software Program that are broader than the rights granted in Section 2, then such rights shall take precedence over the rights and restrictions granted in this Agreement solely for such Software Programs. +3.3. Unless the Customer is a Userful authorized reseller, Customer may not sublicense the Software unless otherwise agreed to by Userful in writing. + +4. LIMITED WARRANTY +===================== +4.1. Userful warrants that the Software will perform substantially in accordance with the material in the Licensed Product's Administrators Manual during the Term of Validity of the most recent License. The Support portion of the license guarantees to keep the software up-to-date and to replace the software in the event of an outage, in accordance with the timetable set out at http://www.userful.com/support/warranty +4.2. Userful's and its licensors' entire liability and Customer's exclusive remedy shall be, at Userful's option, either: +4.2.1. Return the prorated License Fees for the current period, or +4.2.2. Replacement of Software that does not meet Userful's Limited Warranty. + This Limited Warranty is void if failure of the Software has resulted from accident, abuse, or misapplications. +4.3. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, USERFUL AND ITS LICENSORS DISCLAIM ALL OTHER WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO THE SOFTWARE AND THE ACCOMPANYING ITEMS. + +5. FEES AND TAXES +===================== +5.1. All fees payable to Userful are due at the commencement of the License Period. Customer agrees to pay any sales, value-added or similar taxes imposed by applicable law that Userful must pay based on the services that Customer ordered. + +6. INDEMNIFICATION +===================== +6.1. Userful shall defend, at its sole discretion, or settle any action, claim or demand brought against Customer on the basis of infringement of any copyright, trademark, trade secret or patent (the "Intellectual property Rights") by the Software or use thereof. Userful shall pay any final judgment entered into against Customer in such action provided that Userful has the sole control of the defense and/or settlement and Customer promptly notifies in writing of such claim and provides all information known to the Customer relating thereto, and Customer cooperates with Userful in the defense and/or settlement. Should the Software become or in Userful's opinion may become the subject of infringement of any Intellectual Property Rights, Userful may, at its expense do one of the following: +6.1.1. Replace the Software or affected part with non-infringing programs; +6.1.2. Modify the Software or affected part to make it non-infringing; +6.1.3. Procure for Customer the right to use the Software; or +6.1.4. If none of the alternatives are commercially reasonable, Userful may refund the prorated License Fees received from Customer for the current Term of Validity. +6.2. Userful shall have no indemnification obligation to the extent a claim is based upon: +6.2.1. The combination, operation or use of the Software with any products or services not provided by Userful; or +6.2.2. The use of the Software in a manner not authorized by this Agreement. +6.3. THIS SECTION PROVIDES THE ENTIRE OBLIGATION OF USERFUL AND EXCLUSIVE REMEDY OF CUSTOMER WITH RESPECT TO THE INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS. + +7. Indemnification by Customer +================================== +7.1. Customer agrees that it shall fully indemnify and completely save harmless Userful and any of its directors, officers, employees, agents, representatives of and from any and all liabilities, claims, expenses, damages including reasonable legal fees and disbursements arising out of any claims or suits for damage or injury to person in connection with, directly or indirectly, in whole or in part, (i) any negligent act or omission of the Customer's employees, agents, contractors, directors, officers or any person for whom it has a legal responsibility or (ii) the failure of Customer to comply with any municipal, provincial or federal law or (iii) any act or omission which is, or can be determined to be, a breach of any term or condition of this Agreement. + +8. NON-DISCLOSURE +===================== +8.1. The Software and other proprietary information provided by Userful hereunder contain and constitute trade secrets, information and data proprietary to copyrighted by Userful. Customer shall use a reasonable degree of care to protect the confidentiality of the Software and shall not cause or permit such confidential information or data to be disclosed to third parties or duplicated except as permitted in this Agreement. Customer acknowledges and agrees that unauthorized disclosure, use or copying of the Software may cause Userful irreparable injury. Accordingly, in the event of any unauthorized disclosure, use or copying of the Software, Customer agrees that Userful shall have the right to seek injunctive or other equitable relief. Each party will not disclose or use any business and/or technical information of the other designated in writing or orally (and promptly confirmed in writing) as "Confidential" ("Confidential Information") without the prior written consent of the other party. Such restrictions do not extend to any item of information which +8.1.1. Is or becomes available in the public domain without the fault of the receiving party; +8.1.2. Is disclosed or made available to the receiving party by a third party without restriction and without breach of any relationship of confidentiality; +8.1.3. Is independently developed by the receiving party without access to the disclosing party's Confidential Information, +8.1.4. Is known to the recipient at the time of disclosure, or +8.1.5. Is produced in compliance with applicable law or court order, provided that the disclosing party is given reasonable notice of such law or order and an opportunity to attempt to preclude or limit such production. +8.2. Upon termination of this Agreement, each party shall upon request return all copies of Confidential Information received from the other party. + +9. LIMITATION OF LIABILITY +================================= +9.1. IN NO EVENT SHALL USERFUL OR ITS LICENSORS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION) ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE EVEN IF THE COMPANY OR ANY OF ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +9.2. Any action against Userful must be brought within eighteen (18) months after the cause of action arises. For purposes of this Section, "Userful" includes its directors, officers, employees, subcontractors, agents and suppliers. + +10. TERM AND TERMINATION +============================ +10.1. The Software and Support License is subject to renewal at the end of the License Period. Unless renewed under an extension of the Customer Agreement, the License to use the Software will terminate. +10.2. This Agreement may be terminated if either party fails to perform any of its duties or obligations hereunder and fails to substantially cure such default within ten (10) days after written notice is given to the defaulting party. Upon an event of default, the non-defaulting party may terminate this Agreement by providing written notice of termination to the defaulting party, reserving unto the non-defaulting party all other rights and remedies it may have under this Agreement. If Customer is in default, Userful reserves the right, in addition to all other rights and remedies it may have, to withhold further performance of its obligations under this Agreement and may repossess the Software and Documentation. +10.3. Upon termination of any license granted hereunder, Customer will promptly remove all Software from all memory locations, return all copies of the Software and Documentation to Userful, and execute and deliver to Userful a certificate stating that all copies of the Software have been removed and returned or destroyed. + +11. GENERAL +===================== +11.1. Customer may not assign any rights or obligations hereunder without prior written consent of Userful, which consent can be unreasonably withheld. +11.2. Customer who exports, re-exports or imports Userful Hardware and Licensed Software, technology or technical data purchased hereunder, assumes responsibility for complying with applicable laws and regulations and for obtaining required export and import authorizations. Userful may suspend performance if Customer is in violation of any applicable laws or regulations. +11.3. If any term or provision herein is determined to be illegal or unenforceable, the validity or enforceability of the remainder of the terms or provisions herein will remain in full force and effect +11.4. Except as specifically provided in Section 3.1.2, these Userful Software and Support License Terms supersede any previous communications, representations or agreements between the parties, whether oral or written, regarding transactions hereunder. Customer's additional or different terms and conditions will not apply. These Userful Software and Support License Terms may not be changed except by an amendment signed by an authorized representative of each party. + +12. GOVERNING LAW. +===================== +12.1. This Agreement shall be governed by and interpreted in accordance with the laws of Alberta, Canada, without reference to conflict of law principles. Customer and Userful agree to the exclusive jurisdiction of the courts located in Calgary, Alberta. + +13. PARTIAL INVALIDITY. +===================== +13.1. Both parties to this Agreement hereby acknowledge that neither of them intends to violate any public policy, statutory or common laws, rules, regulations, treaties, or decisions of any government agency or executive body of any country or community or association of countries. + +For inquiries please contact: Userful, Suite 200, 709 11th Ave S.W., Calgary, Alberta, T2R 0E3, Canada, 403-289-2177 + +Copyright (c) 2005-2010 Userful Corporation. All rights reserved. diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/README b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/README new file mode 100644 index 0000000000000000000000000000000000000000..2fc5d15ec7a6440239d939b5f52a2f74a1f1f637 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/README @@ -0,0 +1,202 @@ +Table of Contents + + * Introduction + + * License Agreement + + * Supported Linux Distributions + + * Requirements + + * Command Line Installation + + * Graphical Installation + + * Install Userful Multiplier with `Add/Remove tool' on Ubuntu system + +NOTE: + Download the latest version of: + + - Userful Multiplier: http://www2.userful.com/support/all-downloads/umx-download + - This Document: http://support.userful.com/wiki/index.php/Manuals/UMx/Readme + - ChangeLog: http://support.userful.com/wiki/index.php/ChangeLog/Userful_Multiplier + + +Introduction +============ + +Userful Multiplier (formerly Desktop Multiplier) is a set of standard Linux software +packages that extend the X Window System to support up to 10 fully independent and +concurrent workstations using a single computer box. This is accomplished by adding +standard video cards, USB keyboards and mice to a single PC system and installing +Userful's software. + + +License Aggreement +================== + +This product includes commercial software that is licensed not sold and is governed +by an End User License Agreement (EULA). By installing, copying or using this software +you acknowledge that you have read, understand, and agree to be bound by the terms +of this EULA. You can review the terms of this EULA either by visiting +http://userful.com/download/eula/ or by consulting the Userful-EULA.txt file included +with your download. + + +Supported Linux Distributions +============================= + + * Supported Linux Distros: + + - Ubuntu 6.10, 7.04, 7.10, 8.04, 8.10, 9.04 + + - Fedora 4, 6, 7, 8 + + - openSUSE 10.1, 10.2, 11.0 + + - Novell Desktop 9, 10, 11 + + - Debian 3.1, 4.0 + + - CentOS 4, 5 + + - Mandrake 2008.0 + + - Redhat Enterprise Linux 4, 5, 5Server + + - Freedows 2005 + + - Xandros 4.0 + + - Morphix 0.5-pre5 + + - Freespire 1.0.4 + + * Multistation Audio Available: + + - Fedora 8, SLED 10, openSuSE 11.0, Ubuntu 8.10, 9.04 + + * Multistation Storage Available: + + - Fedora 8, SLED 10, openSuSE 11.0, Ubuntu 8.10, 9.04 + + +Requirements +============ + +Prior to installing Userful Multiplier on your existing Linux system, you will need to: + + - Set up multiple user login accounts. (You will need at least one per station. Logging + in as the same user on several stations at once causes problems) + + - Check the supported Linux Distributions above to see if your Linux System is able + to support Userful Multiplier. + + - Add enough video cards and monitors to provide a video head for each station. + + - If you are using NVIDIA video cards, please install NVIDIA's proprietary driver to + support multi-head properly. + + - Prepare and connect enough keyboards for each station, placing one in front of each + monitor. We recommend using USB keyboards with an integrated USB hub to easily connect + each station's mouse, or powered USB hubs with regular USB keyboards and mice. + + - Connect VGA & USB extension cables as needed. Ensure no USB device has no more than + 15ft of cable between it and the nearest USB hub. + + - Gnome/GDM is the recommended desktop environment with Userful Multiplier. Although KDE + also works on most supported distributions. + + + +Command Line Installation +========================= + + 1. Start a terminal program. + + 2. Log in as root. + + $ su + + 3. If you haven't done so already, unzip Userful Multiplier zip file with + `unzip' command. + + $ unzip userful-multiplier-<version>.zip + + 4. `cd' to the newly created directory from the Userful Multiplier zip file. + + $ cd userful-multiplier + + 5. Run `installer.sh' as root + + $ ./installer.sh + + 6. Accept the End User License Agreement. + + 7. Reboot the machine as prompted. + + +Installing From Your Desktop +============================ + + 1. Log into the desktop as the root user. + + 2. Open a file browser and to where you saved the Userful Multiplier zip file. + + 3. Double-Click the zip file, then extract. + + 4. Go to the newly created directory. + + 5. Double-Click `installer.sh', then choose `Run in Terminal' button. + + * Unbuntu users can simply double click the `userful-multiplier-<version>.deb + file, and follow the instructions. + + 6. After the installation is complete, reboot the computer. + + +Install Userful Multiplier with `Add/Remove tool' on Ubuntu system +================================================================== + +For detailed instructions see the following link: +http://support.userful.com/wiki/index.php/Manuals/UMx/How_to_Install_on_Ubuntu + +Since Userful Multiplier is available from the Ubuntu Multiverse Repository, +Ubuntu users can easily install Userful Multiplier with the `Add/Remove' tool. + +This is the easiest -- and recommended -- way for Ubuntu users to install Userful +Multiplier. + + 1. Launch `Add/Remove tool' from the `Application' menu. + + 2. In the `Show' combobox, select `All available applications'. + + 3. Type in `userful' in the `Search' field. + + 4. Check `Userful' in the `Application' list. + + 5. Click on the `Apply Changes' button. + + 6. System will ask to confirm the action. Click Apply to download and install + Userful Multiplier. + + 7. After installation is complete, reboot the computer. + + +For More Information +==================== + + - To find more information about Userful Multiplier, please visit + http://userful.com/products/userful-multiplier + + - If you get any problem with Userful Multiplier, please try the following: + + * Read the detailed support documentation: + http://support.userful.com/wiki/index.php/Manuals/UMx/User_Guide + + * For more help or to contact Customer Service please visit + http://support.userful.com + + +Copyright (c) 2005-2010 Userful Corporation. All rights reserved. +(Updated 2009.4.10) diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/SUPPORTED-LINUX-VERSION b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/SUPPORTED-LINUX-VERSION new file mode 100644 index 0000000000000000000000000000000000000000..184559d17a35cc01a56895a20650faaa899ec005 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/SUPPORTED-LINUX-VERSION @@ -0,0 +1,42 @@ +# +# Supported Linux Distributions and versions: + +# +# RPM based: +# Fedora +FEDORA="2 3 4 6 7 8 10 11" + +# Novell Desktop +NOVELL="9 10 11" + +# SuSE +SUSE="9.1 9.3 10.1 10.2 10.3 11.0" + +# Mandrake/Mandriva +MANDRAKE="2008.0" + +# CentOS +CENTOS="4 5" + +# RHEL +REDHAT="4 4WS 4Server 5 5WS 5Server" + +# Freedows +FREEDOWS="2005" + +# +# Debian based: +# Xandros +XANDROS="3.0 4.0" + +# Dreamlinux +MORPHIX="0.5-pre5" + +# Ubuntu +UBUNTU="5.04 5.10 6.06 6.10 7.04 7.10 8.04 8.10 9.04 9.10 10.04" + +# Freespire +FREESPIRE="1.0.4" + +# Debian +DEBIAN="3.1 4.0 5.0 5.0.4" diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/docs/Userful-Multiplier-Manual.html b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/docs/Userful-Multiplier-Manual.html new file mode 100644 index 0000000000000000000000000000000000000000..27764bcf071a632b430e1170cf62bef9c9fd2e24 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/docs/Userful-Multiplier-Manual.html @@ -0,0 +1,2161 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head> + + + + <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Userful Multiplier Readme</title></head><body> +<h1> Userful Multiplier Readme</h1> +<hr> +<h1>Introduction +</h1> + +<p>Userful Multiplier® (formerly Desktop Multiplier) is a +set of standard Linux software packages that extend the X Window System +to support up to 10 fully independent and concurrent workstations using +a single computer box. This is accomplished by adding standard video +cards, USB keyboards and mice to a single PC system and installing +Userful's software. Userful Multiplier is compatible with all single +and dual-headed video cards supported by X.Org/XFree86 and has been +tested on most major 2.6 kernel Linux distributions (see <a href="#Supported_Linux_Distributions" title=""> +"Supported Linux Distributions"</a> below for details). +</p> + +<p>Userful Multiplier is delivered as a single zip file +containing either a .RPM or .DEB package and supports a variety of +Linux distributions. </p> + +<h4> Utilities package </h4> + +<p>This package includes programs, scripts and config files for +system configuration, keyboard/mouse assignment and device hot-plug +capabilities. Files are named: +</p> + +<ul> + + <li> <code>1box-utils-k26-<version>.<arch>.rpm</code> +(For RPM based systems) + </li> + + <li> <code>1box-utils-k26-<version>.<arch>.deb</code> +(For DEB based systems) + </li> + +</ul> + +<h4> Multi-station X +server package</h4> + +<p>This package contains the Userful Multi-Station X-Server, +which supports multiple simultaneous local users. Files are named: +</p> + +<ul> + + <li> <code>1box-server-xorg-<version>.<arch>.rpm</code> +(For RPM based systems) + </li> + + <li> <code>mx11r7-<version>.<arch>.rpm</code> +(For RPM based system) + </li> + + <li> <code>1box-server-xorg-<version>.<arch>.deb</code> +(For DEB based systems) + </li> + + <li> <code>mx11r7-<version>.<arch>.deb</code> +(For DEB based systems) + </li> + +</ul> + +<h4> Dual View +Functionality</h4> + +<p>Userful Multiplier's Dual View functionality enables each +station to support up to five users, with each user having an +individual desktop workspace that spans two monitors. You can configure +monitors to use Dual View during the Userful Multiplier installation +process. Note that the two monitors that display a Dual View desktop +must be connected to the same video card. +</p> + +<h1> Trial Version </h1> + +<p>Userful Multiplier will operate as a trial version until you +purchase an appropriate license for your Userful system. You may +purchase a multi-station license from your Userful representative or +from Userful.com – see the Licensing section below for +details. +</p> + +<p><b>Limitations of Trial Version:</b> The Userful +Multiplier trial software supports up to 10 concurrent stations +(depending on your specific hardware) and will typically display a +brief registration reminder on all attached screens every 20 minutes or +so. +</p> + +<h1> Requirements for +Userful Multiplier </h1> + +<h3> Hardware +Requirements </h3> + +<ul> + + <li> <b>Hard Disk</b> + <ul> + + <li> Installation: 35 MB + </li> + + <li> Running: 35 MB + </li> + + </ul> + + </li> + + <li> <b>Processor</b> + <ul> + + <li> 400 MHz processor or better + </li> + + </ul> + + </li> + + <li> <b>Memory</b> + <ul> + + <li> Minimum: 192 MB + </li> + + <li> Recommended: 256 MB for two stations + </li> + + <li> 64 MB for each additional station on multi-station +installations + </li> + + </ul> + + </li> + +</ul> + +<h3> Supported Linux +Distributions </h3> + +<p>Userful Multiplier supports most well-known Linux +distributions running kernel version 2.6 or greater. The following +Linux distributions are currently supported: +</p> + +<ul> + + <li> <b><a href="http://userful.com/download/dl?p=dm" class="external text" title="http://userful.com/download/dl?p=dm">RPM Based +Distributions</a></b> + <ul> + + <li> Fedora Core 2, 3, 4, 6, 7, 8 + </li> + + <li> SuSE 9.1, 9.3, 10.1, 10.2 + </li> + + <li> Novell Desktop (SLED) 9, 10 + </li> + + <li> Mandriva (Mandrake) 10.0, 10.1, 2008.0 + </li> + + <li> Red Hat Enterprise Linux WS 4 + </li> + + <li> CentOS 4 + </li> + + </ul> + + </li> + +</ul> + +<ul> + + <li> <b><a href="http://userful.com/download/dl?p=dm-deb" class="external text" title="http://userful.com/download/dl?p=dm-deb">DEB Based +Distributions</a></b> + <ul> + + <li> Ubuntu 5.04, 5.10, 6.06, 6.10, 7.04, 7.10, 8.04 + </li> + + <li> Kubuntu 6.10, 7.04 + </li> + + <li> Edubuntu 6.10 + </li> + + <li> Linspire 5.0 + </li> + + <li> Freespire 1.0.4 + </li> + + <li> Xandros 3.0, 4.0 + </li> + + <li> Debian 3.1, 4.0 + </li> + + <li> Dreamlinux 0.5-pre5 + </li> + + <li> SimplyMepis 6.5 + </li> + + <li> PioneerLinux + </li> + + </ul> + + </li> + +</ul> + +<p><br> + +<b>NOTE:</b> Userful Multiplier may work with other Linux +distributions that use the Linux 2.6 kernel, however distributions +other than those listed above are not officially supported by Userful +at this time. Instructions for installing Userful Multiplier on a +non-supported distribution are available at <a href="http://support.userful.ca/wiki/index.php/How_To/Port_Userful_Multiplier_to_New_Linux_Distros" title="How To/Port Userful Multiplier to New Linux Distros">How +To/Port Userful Multiplier to New Linux Distros</a>. Official +support for additional Linux distributions will be available in future +versions of this software. Please address specific requests for +supporting an additional Linux distribution via email to +partner@userful.com. +</p> + +<p><b>Note for Debian 3.1 (Sarge):</b> Debian Sarge +uses the Linux 2.4 kernel by default with new installations. You must +upgrade your Linux kernel to 2.6 before installing Userful Multiplier. +</p> + +<h1> The Control Panel </h1> + +<div style="text-align: left;"> +<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="2"> + + <tbody> + + <tr> + + <td style="vertical-align: top;"> + <p>This software comes with a graphical interface tool, <b>Userful +Control Panel</b>, to control various aspects of Userful +Multiplier. This Control Panel can be launched from the icon labeled +“Userful”. This icon can be found in the main menu +of most distributions. The actual location varies between +distributions, but is usually in “Accessories” or +“System Tools”. The Python Gtk and glade module is +required to use this interface. This module is available on most +distributions and is called "python-gtk" and "python-glade" +respectively. It is installed by default on Fedora Core, Ubuntu and +Mandrake. On some distributions, such as Novell Linux Desktop 9, the +module is only installed when the Gnome desktop is chosen as the +default desktop during installation. + </p> + + <ul> + + <li> The location of the menu entry varies depending on +your +distribution. + </li> + + </ul> + + <dl> + + <dd> + <ul> + + <li> <b>Desktop Server/Fedora/Redhat/Ubuntu:</b> +Applications > System Tools > Userful + </li> + + <li> <b>Suse:</b> Applications > +Utilities > More Programs > Userful + </li> + + <li> <b>NLD:</b> Applications > +Accessories > More > Userful + </li> + + </ul> + + </dd> + + </dl> + + <ul> + + <li> Click <code>Activate</code>: This will +take +you to a web page to get a license. + </li> + + <li> Note: If <code>Userful</code> does not +appear +as a graphical menu entry in the locations listed above, Userful +Control Panel also can be launched from the command line using: + <pre>$ userful debug -submit</pre> + + </li> + + </ul> + + </td> + + </tr> + + </tbody> +</table> + +<br> + +</div> + +<br> + +<h1> Additional Hardware +</h1> + +<p>Userful Multiplier supports the following optional hardware +components: +</p> + +<ul> + + <li> Maximum five dual head video cards + </li> + + <li> Up to 10 USB keyboards, mice and optional extension cables + </li> + + <li> 10 monitors and optional extension cables and adapters </li> + + <li> USB hubs to support devices (powered hubs are strongly +recommended) + </li> + +</ul> + +<h3> Choosing a Graphics +Card </h3> + +<p>Userful Multiplier is designed to support all single and +dual-headed video cards, supported by X.Org/XFree86. Any video card +combinations where you can start X in multi-headed mode (i.e. +multi-monitor, multi-display) should work with Userful Multiplier. +Xinerama extensions are not used, so any standard single-head or +multi-head video card should work. +</p> + +<p>We recommend disabling on-board video in the BIOS if your +motherboard includes an on-board video chipset. If the on-board video +is not disabled, boot messages will be displayed on that video output. +If no monitor is connected to the on-board video output, these boot +messages will not be visible. The on-board video may be able to support +a workstation depending on the model and revision of your motherboard. +</p> + +<p><b>Note: </b>Although heterogeneous (mixed) +combinations do often work, to ensure a simple and manageable computing +environment, we recommend using a consistent model and revision of +graphics cards and monitors for your Userful Multiplier system. We +suggest searching the following third-party database for heterogeneous +graphics card combinations that should work under Linux: </p> + +<ul> + + <li> <a href="http://www.realtimesoft.com/multimon/search.asp" class="external free" title="http://www.realtimesoft.com/multimon/search.asp">http://www.realtimesoft.com/multimon/search.asp</a> + </li> + +</ul> + +<p>Userful supports and recommends the following low cost single +chip, dual head chipsets, which are available as AGP, PCI or PCI-E +cards from a variety of manufacturers: +</p> + +<ul> + + <li> <b>ATI</b> + <ul> + + <li> RADEON 7000/7500/9000/9200/9250 series and X300/X550. + </li> + + </ul> + + </li> + + <li> <b>Matrox</b> (Matrox Proprietary Drivers +Required - see instructions below) + <ul> + + <li> G400/G450/G550 + </li> + + </ul> + + </li> + + <li> <b>NVIDIA</b> (nVidia Proprietary Drivers +Required - see instructions below) + <ul> + + <li> GeForce FX 4400/5200, 6600GT/7300GS + </li> + + <li> Quadro FX 500/600, NVS 280/285/400/440 + </li> + + <li> Riva TNT2 + </li> + + <li> GeForce4 MX 440 + </li> + + <li> GeForce2 MX/MX400 + </li> + + </ul> + + </li> + +</ul> + +<p>Typically a 10 station system with one monitor each can be +built using five dual head video cards. +</p> + +<p><b>Note:</b> The default "mga/nv" display drivers +included with X.Org/XFree86 do not provide adequate multi-head support. +To use dual head Matrox or NVIDIA video cards, refer to Appendix B and +C to install vendor's proprietary driver. +</p> + +<h3> Supported Video +Cards for Dual View </h3> + +<p>The following video cards have been successfully tested with +Dual View in our lab. Note that the Dual View is only supported on ATI +and NVIDIA cards at this time. If you require Dual View support for +specific ATI/NVIDIA cards not in the list, please contact us at: +1-866-USERFUL (873-7385). +</p> + +<ul> + + <li> ATI - Radeon 7000, 7500, 9200, 9250, X300, X550 + </li> + + <li> NVIDIA - GeForce MX440, FX5200, 6600 (PCIE) and Quadro FX +500/600 + </li> + +</ul> + +<h1> Installing Userful +Multiplier </h1> + +<h3> Requirements </h3> + +<p>Prior to installing Userful Multiplier on your existing Linux +system, you will need to add enough video cards and USB ports to +provide a video head for each station. We recommend using USB keyboards +with an integrated USB hub to easily connect each station's mouse (and +other USB devices) to minimize the number of devices connected to the +central system. If a USB hub is required, be sure to use a powered hub. +Non-powered hubs may not provide sufficient power for all connected +devices. Similarly, if you need to use extension cables ensure that the +distance between the keyboard or other USB device and the +computer/powered hub is not greater than 3 m (10 ft). +</p> + +<h3> Installation +Process </h3> + +<p>To install Userful Multiplier follow these steps: +</p> + +<p><b>Step 1:</b> Download the latest software from <code><a href="http://userful.com/download/" class="external free" title="http://userful.com/download/">http://userful.com/download/</a></code> +</p> + +<p><b>Step 2:</b> Position one USB keyboard and mouse +combination for each workstation. </p> + +<ul> + + <li> <i>(<b>Note:</b> </i> the +built-in system PS/2 keyboard and mouse connections can be used to <i>connect +one station.</i>) + </li> + + <li> Connect all cables to the back of the computer where you +have installed the Userful Multiplier software, including Ethernet, +monitors, USB keyboards and mice, printers, etc. + </li> + + <li> Power on all monitors and then turn on the multiplier +computer. + </li> + +</ul> + +<p><b>Step 3:</b> Unzip the demo software on the +target computer. +</p> + +<dl> + + <dd> + <pre>$ unzip Desktop-Multiplier.zip</pre> + + </dd> + +</dl> + +<p><b>Step 4:</b> Run the INSTALL script as "root". +</p> + +<dl> + + <dd> + <pre>$ bash INSTALL</pre> + + </dd> + +</dl> + +<ul> + + <li> The INSTALL script will <b>not</b> overwrite +existing X.Org/XFree86 configuration files. Optionally, you can install +the Userful Multiplier software manually. To install the Userful +Multiplier demo, run the following commands as "root": + </li> + +</ul> + +<ul> + + <li> For RPM based systems: + <pre>$ rpm -Uvh 1box-utils-k26-<version>.i386.rpm<br>$ rpm -Uvh 1box-server-xorg-<version>.i386.rpm<br></version></version></pre> + + </li> + +</ul> + +<ul> + + <li> For DEB package based systems: + <pre>$ dpkg -i 1box-utils-k26-<version>.i386.deb<br>$ dpkg -i 1box-server-xorg-<version>.i386.deb<br></version></version></pre> + + </li> + +</ul> + +<p>After the Userful Multiplier demo software installation has +completed, you will need to reboot the computer to begin the automated +configuration process and enable your additional stations. +</p> + +<p>Uninstalling Userful Multiplier software from your system +should fully restore the original system configuration. See +Uninstallation Procedure below for details. +</p> + +<h3> Installing on +Linspire </h3> + +<p>Userful Multiplier software is currently not compatible with +LDM (the default display manager in Linspire Linux). Because Linspire +does not provide any display management packages other than LDM, you +will need to install the GDM package from the standard Debian +repository before installing Userful Multiplier software on your +Linspire system. +</p> + +<p><b>Installing GDM on Linspire:</b> +</p> + +<p><b>Step 1</b>: Uncomment the last two lines in the +<code>/etc/apt/sources.list</code> file to install packages +from the standard Debian distribution. </p> + +<p><b>Step 2</b>: Update the package index file. +</p> + +<dl> + + <dd> + <pre>$ apt-get update</pre> + + </dd> + +</dl> + +<p><b>Step 3</b>: Install GDM package. +</p> + +<dl> + + <dd> + <pre>$ apt-get install gdm</pre> + + </dd> + +</dl> + +<p><b>Step 4</b>: Continue with the normal +installation process as described above under "Installation Process". +</p> + +<p><b>Note:</b> Be sure to create a Guest user before +installing Userful Multiplier as it disables the root login. You can +also refer to your OS guide for enabling root login. +</p> + +<p>The next time the computer boots after installing the +software, the Userful Multiplier system will automatically detect your +video cards. After it detects your video cards, you will be promoted to +assign monitors for use with Userful Multiplier's Dual View +functionality. An on-screen wizard will guide you through the process +and generate the required multi-user configuration files, after which +the system may reboot for the changes to take effect. +</p> + +<h3> Installing on +Freespire </h3> + +<p>Userful Multiplier software is currently not compatible with +LDM (the default display manager in Linspire Linux). You will need to +install the GDM package before installing Userful Multiplier software +on your Freespire system. +</p> + +<p><b>Installing GDM on Freespire:</b> +</p> + +<p><b>Step 1</b>: Update the package index file. +</p> + +<dl> + + <dd> + <pre>$ apt-get update</pre> + + </dd> + +</dl> + +<p><b>Step 2</b>: Install GDM package. +</p> + +<dl> + + <dd> + <pre>$ apt-get install gdm</pre> + + </dd> + +</dl> + +<p><b>Step 3</b>: Continue with the normal +installation process as described above, under the heading +"Installation Process". +</p> + +<p>The next time the computer boots after installing the +software, the Userful Multiplier system will automatically detect your +video cards. After it detects your video cards, you will be promoted to +assign monitors for use with Userful Multiplier's Dual View +functionality. An on-screen wizard will guide you through the process +and generate the required multi-user configuration files, after which +the system may reboot for the changes to take effect. +</p> + +<h3> Recommended BIOS +settings </h3> + +<ul> + + <li> Enable all USB ports + </li> + + <li> Enable Legacy USB support. (Sometimes called "USB keyboard +support"), otherwise only the PS/2 keyboard will work during the Linux +boot process.* Disable unnecessary integrated peripherals. Installing +extra video cards increases strain on the PCI bus. Disabling any +unneeded devices (e.g., serial ports, parallel ports, etc.,) in the +BIOS can improve performance and compatibility. + </li> + + <li> Disable on-board video (see notes above) + </li> + +</ul> + +<h3> Setting Screen +Resolution </h3> + +<p>The first time Userful Multiplier starts, a text mode +configuration tool enables you to set screen resolutions. If you need +to change the screen resolutions at a later time, delete the +/etc/X11/userful.Mxorg.conf file and restart X. The text mode +configuration tool will once again activate, enabling you to set a new +screen resolution, and create a new userful.Mxorg.conf file. Userful +Multiplier supports resolutions of 640x480, 800x600, 1024x768 and +1280x1024. +</p> + +<h3> Assigning keyboards +and mice </h3> + +<p>Once the system has started, each workstation display will +prompt you to press a function key (F-1 through F-10) on the keyboard +in front of the monitor in order to link the correct keyboard to the +specific monitor. Both a keyboard and a mouse are required in order to +create a station. If the mouse is plugged into the USB keyboard (via an +integrated hub in the keyboard) the mouse will be automatically +assigned along with the keyboard when you press the correct function +key. If you have the mouse plugged into a separate USB port, you will +be prompted to press a button on the mouse in order to link it with the +correct monitor and keyboard combination. +</p> + +<p>After setting up mice and keyboards, you may login to your +desktop normally. </p> + +<p>You may reassign keyboards and mice at any point by simply +pressing the Ctrl-Alt-Break key combination or re-connecting the device +by unplugging and re-connecting it to the USB port while the system is +running. The assignment screen will automatically appear on top of your +current desktop. No work will be lost, simply press the correct F-key +and return to your desktop. +</p> + +<p><b>Note: </b>You can identify unassigned +keyboards by examining their LEDs. The LEDs on a unassigned keyboard +will blink until the keyboard is assigned to a station. </p> + +<p><b>Warning:</b> Logging in concurrently to more +than one station as the same user is not advised. It can cause +unintended consequences to your system (e.g. corruption of your user +settings). Most Linux distributions will warn you if you attempt to +login as the same user on more than one station simultaneously. The +screen will display a warning message such as "this user is already +currently logged-in to the system". +</p> + +<br> + +<h1> Touch Screen +Support and Calibration </h1> + +<h3> Supported +TouchScreen Devices </h3> + +<ul> + + <li> MicroTouch (3M) USB TouchScreen + <ul> + + <li> Vendor ID: 0x0596, Product ID: 0x0001 + </li> + + </ul> + + </li> + + <li> Elo TouchSystems TouchScreen + <ul> + + <li> Vendor ID: 0x04e7, Product ID: 0x0020 + </li> + + <li> Vendor ID: 0x04e7, Product ID: 0x0050 + </li> + + </ul> + + </li> + +</ul> + +<p><b>Note:</b> If your touchscreen device is not in +this list, it may still work. You need to edit the config file <code>/etc/X11/userful.Nxorg.conf</code>. +</p> + +<h3> Calibration </h3> + +<p>The touch screen calibration wizard assumes all touch screens +connected to the computer are of the same make and model. +</p> + +<p>Before starting the calibration procedure, all touch screens +must be connected to the computer and powered on. If touch screens will +not be used for all stations, make sure that a touch screen is +connected to the first video head. The touch screen calibration tool +will use the touch screen connected to the first video head as the +basis for configuring all other touch screens connected to the +computer. +</p> + +<p>Refer to the main Desktop Multiplier readme to identify the +location of the first video head on the computer. +</p> + +<p>On the first boot after installing Desktop Multiplier, you +will be prompted to press <code>F1</code> on the first +video head to start the calibration procedure. Only an "X" icon is +displayed on the other heads. </p> + +<p>When you are prompted to press <code>F1</code>, +press the <code>F1</code> key on your keyboard and touch +the screen connected to the first head. This will link the keyboard and +touch screen to the first video head. +</p> + +<h4> Step 1 of 3: +(Calibrate Screen Size)</h4> + +<p>In this step, touch the screen and drag your finger around the +outermost edges of the screen. +</p> + +<p>Keep dragging your finger around the edges of the screen until +the "Min" and "Max" value on the screen stop changing. +</p> + +<h4> Step 2 of 3: (Align +Touch Points)</h4> + +<p>This step fine-tunes the touch screen. Touch the red square as +it appears in each of the 9 key points on the screen. +</p> + +<h4> Step 3 of 3: (Verify +Calibration)</h4> + +<p>This step verifies the current calibration. Touch the screen +and drag your finger to confirm that the pointer follows your finger. +</p> + +<ul> + + <li> Press <code>Y</code> on your keyboard to +accept current calibration, or </li> + + <li> Press <code>N</code> if the cursor does not +follow your finger. + </li> + +</ul> + +<h4> Horizontal (X-axis) +Test (Optional)</h4> + +<p>Drag your finger horizontally across the screen. +</p> + +<ul> + + <li> Press <code>Y</code> on your keyboard if the +pointer follows your finger, or </li> + + <li> Press <code>N</code> to flip the X-axis. + </li> + +</ul> + +<h4> Vertical (Y-axis) +Test (Optional)</h4> + +<p>Drag your finger vertically up and down the screen. +</p> + +<ul> + + <li> Press <code>Y</code> on your keyboard if the +pointer follows your finger, or </li> + + <li> Press <code>N</code> to flip the Y-axis. + </li> + +</ul> + +<p>This concludes the touch-screen calibration process. If you +wish to +recalibrate the touch screens at a later date, you may do so by +deleting +the <code>/etc/X11/userful.Mxorg.conf</code> file. +</p> + +<h1> Licensing Userful +Multiplier </h1> + +<p>To enable the full version of Userful Multiplier, you need to +purchase a valid license for the desired number of stations on each +computer that you wish to use the software on. This may be done through +an automated registration process by clicking the <code>Userful</code> +menu choice (typically located in the <code>Applications +> System Tools</code> menu tree) and following the +instructions, or by contacting your Userful Authorized Partner who can +assist you with your purchase and optionally send you an Activation +Code or License Key via email. +</p> + +<h2> FAQs On License Keys +& Activation Codes</h2> + +<p><b>Q: What if I want to increase the number of stations +in my license key?</b> +</p> + +<ul> + + <li> <b>A:</b> The Licensing System keeps a record +of the number of stations assigned/allowed for your hardware. Should +you need to add an extra station simply contact your Userful Authorized +Partner who will increase the number of stations available to you on +the Licensing System for this hardware. Provided the initial key you +have was purchased and was issued by an Authorized Partner, you can +increase the number of stations simply by paying the difference between +your initial purchase price and the current price for the full number +of seats. After this you simply re-download the license key and it will +then have the correct number of stations. + </li> + +</ul> + +<p><b>Q: How do I get a new license key?</b> +</p> + +<ul> + + <li> <b>A:</b> If Userful support tells you to +re-download the license key, you can do this at any time. + </li> + +</ul> + +<dl> + + <dd> Once you receive your emailed license, you must then +manually copy the purchased license file <code>##:##:##:##:##:##.1box.info</code> +or just <code>1box.info</code> into the <code>/etc/X11</code> +folder on your Linux system and restart the computer. </dd> + +</dl> + +<dl> + + <dd> <b>Note: </b> This license file is typically +unique to the specific system it is deployed on and will not work on +any other system. For other licensing scenarios and options please +contact your Userful Authorized Partner or a Userful representative. + </dd> + +</dl> + +<h1> Using Userful +Multiplier </h1> + +<h3> Special Key +Combinations </h3> + +<p>Two useful key combinations are available to users: +</p> + +<ul> + + <li> <b>Ctrl-Alt-Backspace</b> + </li> + +</ul> + +<dl> + + <dd> This key combination resets the current station, returning +it to the login screen. + </dd> + +</dl> + +<ul> + + <li> <b>Ctrl-Alt-Break</b> + </li> + +</ul> + +<dl> + + <dd> Pressing this key combination on a keyboard unlinks the +keyboard (and any connected mice) from the station to which it was +assigned. Once the link is broken, the station to which it was formerly +assigned will prompt for the assignment of a keyboard. + </dd> + +</dl> + +<h3> Toggling Between +Regular X and Multi-Station X </h3> + +<p>You can toggle between the regular X and multi-station X. This +is useful if you for example want to have a single user with multiple +monitors during the day, then multiple users each with thier own +monitor at night. You can do this graphically by toggling the checkbox +in <a href="#The_Control_Panel" title=""> the +Control Panel</a> or manually by updating <code>/etc/sysconfig/xtype</code>, +Set the “XTYPE” to “MULTI” or +“SINGLE” to enable multi-station X, or regular X, +respectively. The change will take effect from the next reboot. +</p> + +<ul> + + <li> <b>For multi-station X:</b> + <pre>XTYPE=MULTI</pre> + + </li> + + <li> <b>For regular X: </b> + <pre>XTYPE=SINGLE</pre> + + </li> + +</ul> + +<h3> Blacklist for Input +Devices </h3> + +<p>You can make unwanted input devices stop working with Userful +Multiplier by adding them to the blacklist file <code>input-blacklist</code>. +Any devices listed in this file will be ignored by Userful Multiplier. </p> + +<ul> + + <li> <b>File Path:</b> <code>/etc/userful/input-blacklist</code> + </li> + + <li> <b>Entry Format:</b> <code>Vendor_ID +Product_ID Device_type "Description"</code> + </li> + + <li> <b>Example:</b> You might add a line that +looks like this: + <pre>05D5 6782 2 "Super Gate Technology, built-in mouse"</pre> + + </li> + + <li> <b>Comments:</b> A line starting with <code>#</code> +is treated as a comment. For example: + <pre># This is a comment</pre> + + </li> + +</ul> + +<h1> Multimedia and +Storage Devices Support </h1> + +<p><b>Note</b>: You need extra packages to support +multimedia and storage devices with Userful Multiplier. Please contact +your Userful account representative to get the extra packages. +</p> + +<p>Multimedia and storage devices can be assigned to a station +and operated independently with Userful Multiplier by installing extra +packages provided by Userful. Storage devices can optionally be shared +by all stations. +</p> + +<p>Supported multimedia devices currently include audio devices, +and supported storage devices include floppy, optical drives and flash +memory. +</p> + +<table style="border: 1px solid rgb(170, 170, 170); margin: 1em 1em 1em 0pt; background: rgb(249, 249, 249) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; border-collapse: collapse;" border="1" cellpadding="4" cellspacing="0"> + + <tbody> + + <tr> + + <th> Distro</th> + + <th> Multimedia Devices </th> + + <th> Storage Devices + </th> + + </tr> + + <tr> + + <td> Ubuntu 6.06, 6.10 + </td> + + <th> Yes + </th> + + <th> -- + </th> + + </tr> + + <tr> + + <td> Fedora 4 + </td> + + <th> Yes + </th> + + <th> -- + </th> + + </tr> + + <tr> + + <td> Fedora 6 + </td> + + <th> Yes + </th> + + <th> Yes + </th> + + </tr> + + <tr> + + <td> openSuSE 10.1 + </td> + + <th> Yes + </th> + + <th> Yes + </th> + + </tr> + + <tr> + + <td> SLED 10 + </td> + + <th> Yes + </th> + + <th> Yes + </th> + + </tr> + + </tbody> +</table> + +<br> + +<h1> Uninstall Procedure +</h1> + +<p>To uninstall the Userful Multiplier software, run the +UNINSTALL script as "root" +</p> + +<pre>$ bash UNINSTALL </pre> + +<p>Optionally, you can uninstall the Userful Multiplier software +manually. To manually uninstall Userful Multiplier, run the following +commands as "root". +</p> + +<p><b>For RPM based systems:</b> +</p> + +<pre>$ rpm -e 1box-utils-k26<br>$ rpm -e 1box-server-xorg<br></pre> + +<p><b>For DEB package based systems:</b> +</p> + +<pre>$ dpkg -r 1box-utils-k26<br>$ dpkg -r 1box-server-xorg<br></pre> + +<p>After uninstalling Userful Multiplier, you will need to reboot +the computer to return to the previous single-user Linux system +configuration. +</p> + +<h1> Known Limitations </h1> + +<p>(Inherent to simultaneous multi-station systems.) +</p> + +<h3> Blank screen saver +recommended </h3> + +<p>Some graphical screen savers can consume 99% of CPU resources. +Since Userful Multiplier software is a multi-user system and other +users may be working, we highly recommend using only a blank screen or +a very simple screen saver. +</p> + +<h3> Homogeneous +graphics chipsets recommended </h3> + +<p>While it is possible to support a heterogeneous mix of video +chipsets within a single computer box, for example by mixing ATI, +NVIDIA and Matrox cards, such a configuration is not recommended as it +is not possible for us to directly test and support all possible +combinations. Using multiple video cards and monitors that do not share +all the same characteristics and X drivers creates additional and +unnecessary complexity. Therefore, we recommend keeping your evaluation +and production environments as simple as possible and using a single +graphics chipset for all video cards within the Useful Multiplier +computer. +</p> + +<h3> 3D Acceleration not +supported on multiple video cards </h3> + +<p>Using multiple and/or dual-headed video cards in Linux +prevents software such as video games from using 3D acceleration +properly. This is not a Userful Multiplier specific issue, but a +limitation of the Direct Rendering Infrastructure (DRI) within the +current X-server system. XFree86 does not support DRI acceleration on +multiple video cards. XFree86 extensions not dependent on DRI should +work, for example 2D acceleration is supported. +</p> + +<h3> VT switching </h3> + +<p>Switching between virtual terminals in X (<code>pressing +Ctrl-Alt-F1</code>) is disabled by default in Userful's Userful +Multiplier multi-station system. This limitation prevents a user +interfering with users working on other stations. </p> + +<h3> Reboot and shutdown +permissions </h3> + +<p>Users should typically not have permission to shutdown or +reboot a shared computer as this could interrupt other users. The +display of "shutdown" and "reboot" options to the user and their +functionality are controlled by the specific desktop environment's +logout dialog and greeter. Examples follow: +</p> + +<ul> + + <li> Logout dialog: Gnome offers only the "logout" option, +however KDE presents reboot and shutdown options. However, in KDE, +reboot or shutdown only takes effect after all users have logged out. + </li> + +</ul> + +<ul> + + <li> Greeter: Both KDM and GDM offer shutdown and reboot +options. With Userful Multiplier, GDM will ignore the shutdown request, +KDM behaves as above (shuts down after everyone has logged out). + </li> + +</ul> + +<h3> RADEON 7000 with +SMP kernel </h3> + +<p>Certain combinations of Linux distributions and motherboards +have known issues with multiple RADEON 7000 cards using the 2.6 SMP +(Symmetric Multi-Processing) Linux Kernel. If you are using SMP with +RADEON 7000 and encounter problems, we recommend switching to a non SMP +kernel. This is a bug with the RADEON driver and is not specific to +Userful's software. +</p> + +<h3> Boot messages only +display on the primary video display </h3> + +<p>BIOS and Linux boot messages will only display on the primary +video adapter. On some dual head cards this is two monitors, but for +the most part it will only display on a single monitor. It is important +to connect a monitor to this primary head to display these messages. On +motherboards with on-board video (video hardware built into the +motherboard), typically the BIOS will be set to use the on-board video +head by default. We generally recommend that +motherboard/main-board/on-board video be disabled in the BIOS for +Userful Multiplier systems. +</p> + +<h3> CPU architecture +support </h3> + +<p>This binary distribution only supports the x86 architecture. +Contact us if you need support for additional architectures. +</p> + +<h3> Multimedia keys on +keyboards are not supported </h3> + +<p>Utilities that enable multimedia keys in Linux may not be +reliable when multiple keyboards are connected to the system. +</p> + +<h3> Additional keyboard +map support </h3> + +<p>The kernel layout map for individual keyboards is ignored by +Userful Multiplier. Hence the X configuration and/or keyboard mappings +created by hardware detection and configuration tools such as Kudzu are +ignored. At the greeter screen, all keyboards are mapped to the default +system language which is usually the language you selected when +installing Linux. Most greeters allow login language selection and most +desktop sessions (Gnome, KDE, etc) have tools to change keyboard +layouts. Using a greeter to change language and keyboard layout +selections behaves as expected. +</p> + +<h3> XVidMode extension +support </h3> + +<p>Single-chip dual-head ATI video cards are not compatible with +the XVidMode extension. XVidMode extension is disabled on ATI video +cards by default when using Userful Multiplier. +</p> + +<h3> Unstable USB 2 +support in Linux Kernel </h3> + +<p>We recommend disabling USB 2 support (sometimes referred to as +“Enhanced USB” or “High Speed +USB”) in the BIOS since the current USB 2 Kernel module is +unstable under some circumstances. USB 2 devices may be used in Userful +Multiplier, but only at USB 1 speeds. +</p> + +<h3> Monitors should +remain connected to dual head NVIDIA cards (can lead to X crash or +dropped output from 2nd head)</h3> + +<p>Ensure a monitor is connected to each video head before +turning on the computer, and optionally that the monitors are turned +on. Some NVIDIA cards will not display to the second head if there is +no monitor connected at boot time. Sometimes, disconnecting the 2nd +monitor can even cause X to crash. +</p> + +<h3> System instability +with NVIDIA driver </h3> + +<p>There is a known issue regarding system instability using +NVIDIA video drivers with kernel 2.6.11-rc3 or lower. If you experience +random reboot or kernel panics using the NVIDIA driver, please ensure +that your kernel version is 2.6.11-rc3 or higher. +</p> + +<h3> Kernel virtual +address space exhaustion on the X86 platform with multiple NVIDIA cards +</h3> + +<p>On X86 systems and AMD64/EM64T systems using X86 kernels, only +4GB of virtual address space are available, which the Linux kernel +typically partitions such that user processes are allocated 3GB, the +kernel itself 1GB. Part of the kernel's share is used to create a +direct mapping of system memory (RAM). Depending on how much system +memory is installed, the kernel virtual address space remaining for +other uses varies in size and may be as small as 128MB, if 1GB of +system memory (or more) are installed. By default, the kernel reserves +a minimum of 128MB. +</p> + +<p>The kernel virtual address space still available after the +creation of the direct system memory mapping is used by both the kernel +and by drivers to map I/O resources, and for some memory allocations. +Depending on the number of consumers and their respective requirements, +the Linux kernel's virtual address space may be exhausted. Newer Linux +kernels print an error message of the form shown below when this +happens: +</p> + +<pre>allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.<br></pre> + +<p>The NVIDIA kernel module requires portions of the kernel's +virtual address space for each GPU and for certain memory allocations. +If no more than 128MB are available to the kernel and device drivers at +boot time, the NVIDIA kernel module may be unable to initialize all +GPUs, or fail memory allocations. This is not usually a problem with +only 1 or 2 GPUs, however depending on the number of other drivers and +their usage patterns, it can be; it is likely to be a problem with 3 or +more GPUs. +</p> + +<p>Possible solutions for this problem include: +</p> + +<ul> + + <li> If available, the 'vmalloc' kernel parameter can be used +to increase the size of the kernel virtual address space reserved by +the Linux kernel (the default is 128MB). It is recommended to raise +this value in increments to find the best balance between the size of +the kernel virtual address space made available and the size of the +direct system memory mapping. You can achieve this by passing <code>'vmalloc=192M', +'vmalloc=256MB', ...,</code> to the kernel and checking if the +above error message continues to be printed. + <pre> title Kernel Title<br>uppermem 524288<br>kernel (hdX,Y)/boot/vmlinuz...<br></pre> + + </li> + +</ul> + +<dl> + + <dd>Please also note that the 'vmalloc' kernel parameter only +exists on Linux 2.6.9 and later kernels. On older kernels, the amount +of system memory used by the kernel can be reduced with the 'mem' +kernel parameter, which also reduces the size of the direct mapping and +thus increases the size of the kernel virtual address space available. +For example, 'mem=512M' instructs the kernel to ignore all but the +first 512MB of system memory. Although it is undesirable to reduce the +amount of usable system memory, this approach can be used to check if +initialization problems are caused by kernel virtual address space +exhaustion. + </dd> + +</dl> + +<ul> + + <li> In some cases, disabling frame buffer drivers such as +vesafb can help, as such drivers may attempt to map all or a large part +of the installed graphics cards' video memory into the kernel's virtual +address space, which rapidly consumes this resource. You can disable +the vesafb frame buffer driver by passing these parameters to the +kernel: <code>'video=vesa:off vga=normal'</code>. + </li> + +</ul> + +<ul> + + <li> Some Linux kernels can be configured with alternate +address space layouts (e.g. 2.8GB:1.2GB, 2GB:2GB, etc.). This option +can be used to avoid exhaustion of the kernel virtual address space +without reducing the size of the direct system memory mapping. Some +Linux distributors also provide kernels that use seperate 4GB address +spaces for user processes and the kernel. Such Linux kernels provide +sufficient kernel virtual address space on typical systems. + </li> + +</ul> + +<ul> + + <li> If your system is equipped with an X86-64 (AMD64/EM64T) +processor, it is recommended that you switch to a 64-bit Linux +kernel/distribution. Due to the significantly larger address space +provided by the X86-64 processors' addressing capabilities, X86-64 +kernels will not run out of kernel virtual address space in the +foreseeable future. + </li> + +</ul> + +<h1> Known Issues (to be +addressed in future releases) </h1> + +<h3> Both keyboard and +mouse are required for station assignment </h3> + +<p>Currently it is not possible to link <i>just</i> +a mouse to a screen. Hence, currently a keyboard is required even for +touch-screen or mouse-only kiosks. Mouse-only assignment will be +supported in a future release. Keyboard-only stations are currently +possible, as the mouse can be unplugged after a station has been +assigned without unlinking the keyboard (e.g., without the "press F1" +overlay re-appearing). +</p> + +<h3> No support for +third-party X configuration file editing tools </h3> + +<p>Userful Multiplier software uses a default screen resolution +of 1024 x 768 pixels at a standard color depth of 16 bits for all +stations. Lower resolutions are automatically used for monitors that do +not support this level of resolution. This default configuration may be +changed by manually editing the Userful Multiplier X config +file(/etc/X11/userful.Mxorg.conf for both X.Org and XFree86 based +systems). Only edit config files if you fully understand what you are +doing. Userful does not provide support related to user-edited X config +files. This config file is automatically re-generated whenever changes +are made to the graphics cards, hence if you add or remove graphics +cards, you will need to re-apply your customizations. +</p> + +<p><b>Note: </b>Some dual-head video cards do not +support using different resolutions on each head. It is recommended to +use the same resolution and color depth settings for all stations on +your Userful Multiplier system. </p> + +<h3> DVI Support </h3> + +<p>The default Userful Multiplier configuration will set all +outputs of a video card to VGA. A DVI-to-VGA adapter will be required +for using DVI ports with the default configuration. DVI connections are +also supported if you are using either <b>ATI Radeon cards</b> +or <b>NVIDIA cards</b> by changing the <code>/etc/X11/userful.Mxorg.conf</code> +manually. +</p> + +<ul> + + <li>To use DVI connections in your ATI Radeon cards, follow the +instructions below: + <ol> + + <li> Open <code>/etc/X11/userful.Mxorg.conf</code> +with a text editor. + </li> + + <li> In every "Device" section of the file, change + <pre>Option "MonitorLayout" "CRT, CRT"</pre> + +to + <pre>Option "MonitorLayout" "TMDS, TMDS"</pre> + + </li> + + <li> Save and close the file. + </li> + + <li> On the next reboot, both DVI and VGA ports will be +enabled. + </li> + + </ol> + + </li> + +</ul> + +<ul> + + <li>To use dual-head and DVI connections on your NVIDIA card, +NVIDIA's proprietary driver should be installed first. See the +information about installing NVIDIA drivers in <b>Appendix C</b> +of this document. Follow the instructions below to enable DVI +connection(s): + <ol> + + <li> Open <code>/etc/X11/userful.Mxorg.conf</code> +with a text editor. + </li> + + <li> In every "Device" section of the file, change + <pre>Option "ConnectedMonitor" "CRT,CRT"</pre> + +to + <pre>Option "ConnectedMonitor" "CRT,DFP"</pre> + + </li> + + <li> Save and close the file. + </li> + + <li> On the next reboot, both DVI and VGA ports will be +enabled. + </li> + + </ol> + + </li> + +</ul> + +<h3> Monitors on Dual +View stations must be connected to the same video card </h3> + +<p>Both monitors that form a Dual View station must be connected +to ports on the same video card. This is a limitation with some +chipsets which may be addressed with workarounds in drivers in a future +release. +</p> + +<h3> No support for +XineramaInfo in NVIDIA Dual View </h3> + +<p>XineramaInfo is not supported in the NVIDIA Dual View +configuration. Without this support, X will treat two screens as a +single big screen, which may cause some unintended results, such as: +</p> + +<ul> + + <li> Showing login messages at the center of display (half on +the left screen and the other half on the right screen). + </li> + + <li> Maximizing a window over two screens. + </li> + +</ul> + +<h3> Virtualization </h3> + +<p>Some X Server operations have not yet been fully +"virtualized". This means not all aspects of X's functionality work the +same in a multi-user environment as they would in a single user +environment. The X Resize and Rotate extension (RandR) which allows +users to change monitor resolutions has been disabled. Display power +management system (DPMS) is not currently supported. And the Gnome +screen magnifier does not yet work. +</p> + +<h3> Mandrake's display +manager, MDKDM, does not work </h3> + +<p>Userful Multiplier is currently not compatible with MDKDM (the +default display manager in Mandrake Linux). The Userful Multiplier +installer will disable MDKDM, and enable another supported Display +Manager (e.g. GDM, KDM or XDM). +</p> + +<h3> Linspire/Freespire's display manager, ldm, does not work </h3> + +<p>Userful Multiplier is currently not compatible with ldm (the +default display manager in Linspire/Freespire Linux). The Userful +Multiplier installer will disable ldm, and enable another supported +Display Manager (GDM). +</p> + +<h3> Debian-based +systems only support keyboards with English-language layouts </h3> + +<p>Keyboards layouts for other languages are not supported by +Userful Multiplier under Debian at this time. +</p> + +<h3> X stability issues +using multiple Dual View configurations </h3> + +<p>If you are using more than two graphics cards and configure +them as Dual View, the X server may crash at the end of the startup +procedure. This is caused by incorrect probing of the RAM size for the +graphics cards. In this case, you will need to manually specify the +correct RAM size of your graphics card by adding a +“VideoRam” line to the device section of the <code>/etc/X11/userful.Mxorg.conf</code> +file. +</p> + +For example, if the RAM size of the graphics card is 16 Megabytes, add +following line into the device section in <code>/etc/X11/userful.Mxog.conf</code>: +<pre>VideoRam 16384</pre> + +<h3> KDM login screen +doesn't appear on the center of display in Kubuntu 6.06 and 7.04 </h3> + +<p>This is not a functional problem. The KDM login screen appears +a little to the right, below center, when a user logs out of a session. +</p> + +<h3> Mouse problem with +VNC connection </h3> + +<p>The mouse doesn't work with VNC and Userful Multiplier at this +time. +</p> + +<h3> Administrative +tasks don't work on Ubuntu 8.04 </h3> + +<p><b>PolicyKit/Consolekit</b> has been integrated +into the administrative user interfaces on Ubuntu 8.04. Although +PolicyKit/Consolekit allows fine-grained control over user permissions +and enhances security, it is in the early stages of development and +doesn't work well in a multi-seat environment. For example, <code>users-admin</code>, +Users Administration Tool, doesn't work with its default policy. To +give the administrator the authorization for administrative tasks, the +following policy setting for the administrator needs be added into <code>/etc/PolicyKit/PolicyKit.conf</code>: +</p> + +<pre> <match user="name_of_admin_user"><br><return result="yes"/><br></match><br></pre> + +<p><b>name_of_admin_user</b> should be the login name +of the administrator. Please refer to <a href="http://hal.freedesktop.org/docs/PolicyKit/PolicyKit.conf.5.html" class="external free" title="http://hal.freedesktop.org/docs/PolicyKit/PolicyKit.conf.5.html">http://hal.freedesktop.org/docs/PolicyKit/PolicyKit.conf.5.html</a> +for more information on <b>PolicyKit.conf</b>. +</p> + +<h1> Technical Support </h1> + +<h3> Reporting a Bug Via +the Control Panel</h3> + +<div class="floatright"><span></span> +<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="2"> + + <tbody> + + <tr> + + <td style="vertical-align: top;"> + <p>There is a <code>Report Bug</code> button +at the +bottom of the <a href="#The_Control_Panel" title=""> +Control Panel</a>. This is the best way to send this information +to Userful support staff. + </p> + + <p>If you have any questions or problems please contact us: + </p> + + <ul> + + <li> <a href="http://userful.com/support/issue" class="external free" title="http://userful.com/support/issue">http://userful.com/support/issue</a> + </li> + + <li> Voice: (403) 289-2177 ext. 2 + </li> + + <li> Fax: (403) 206-7010 + </li> + + <li> e-mail: <a href="mailto:support@userful.com" class="external text" title="mailto:support@userful.com">support@userful.com</a> + </li> + + </ul> + + <p>To get help quickly, it is important to be as specific +as +possible about your problem. + </p> + + <p>Be sure to include the following information: </p> + + <ul> + + <li> Operating system: (ex: Fedora Core 2) </li> + + <li> Version numbers of 1box-utils-k26 and +1box-server-xorg +packages installed + </li> + + <li> Video card: The make and model of your VGA video +card(s), +along with the total number of video ports installed on your system. + </li> + + <li> Detailed description of your problem or question + </li> + + <li> Computer information: CPU type/speed, motherboard +make/model, and installed memory + </li> + + <li> Any kernel or X, or X.Org/XFree86 configuration file +changes you have made + </li> + + </ul> + + </td> + + </tr> + + </tbody> +</table> + +<span></span></div> + +<br> + +<h3> Reporting a Bug Via +the Command Line</h3> + +Sometimes the GUI (Graphical User Interface) is not available for some +reason. In this case, debug info can also be submitted by opening a +terminal, switching to root, and running the command line version of +the program like this: +<pre>$ userful debug -submit</pre> + +<h1> Copyrights, +Licenses and Trademarks </h1> + +<p>Userful Multiplier is commercial software and contains +proprietary, patent-pending intellectual property. See the <b>Userful-EULA.txt</b> +file for full terms of the license agreement. +</p> + +<h3> Trademarks </h3> + +<p>Userful®, Userful Multiplier®, and Userful +Desktop® are a registered trademarks of Userful Corporation. </p> + +<p>Desktop Server™, 1-Box™, Turn 1 PC into +Ten™, Manage & Multiply your Desktops™ are +trademarks of Userful Corporation +</p> + +<p>NVIDIA® is a trademark of NVIDIA Corporation. +Intel® is a trademark of Intel Corporation. AMD® and +ATI® are trademarks of AMD Inc. Matrox® is a trademark +of Matrox Electronic Systems Ltd. X.Org is a trademark of X.Org +Foundation. XFree86 is a trademark of The XFree86 Project, Inc. X +Window System, and Xinerama are trademarks of the Open Group. Linspire +is a trademark of Linspire Inc. Linux is a registered trademark of +Linus Torvalds. All other third-party trademarks are the property of +their respective owners. +</p> + +<h3> Software Copyright +and Permissions Notice </h3> + +<p><small><small> +<a href="http://support.userful.ca/wiki/index.php/Copyright" title="Copyright">Copyright</a> +© 2002-2007, Userful Corporation. All rights reserved. +</small></small></p> + +<p>This software includes X Window System source code licensed +under the MIT X +Window System License, <a href="http://www.x.org/Downloads_terms.html" class="external free" title="http://www.x.org/Downloads_terms.html">http://www.x.org/Downloads_terms.html</a> +</p> + +<h3> Disclaimer </h3> + +<p>Userful trial software comes without warranty or guarantee. By +using this software, you acknowledge that Userful Corporation is not +responsible for any damage resulting from its use. +<br> + +<br> + +</p> + +<p>THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR +ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +<br> + +<br> + +</p> + +<p>INFORMATION IN THIS DOCUMENT IS PROVIDED ON AN “AS +IS” BASIS WITHOUT WARRANTY. THE ENTIRE RISK IS ASSUMED BY +YOU. WE HAVE NO LIABILITY FOR DAMAGES. WE ARE NOT RESPONSIBLE FOR +CLAIMS BY A THIRD PARTY. OUR MAXIMUM LIABILITY SHALL NOT EXCEED THE +AMOUNT PAID BY YOU FOR THE PRODUCT. +</p> + +<h1> Appendices </h1> + +<h2> Appendix A: Key +config files updated during DM installation and first bootup </h2> + +<p>During the installation and first bootup, Userful Multiplier +creates it's own X config file and updates startup procedure and the +config file of Display Manager. +</p> + +<h4> Startup Procedure </h4> + +<p>Userful Multiplier updates <code>/etc/inittab</code> +to start Userful's Multi-X in the end of the startup. For the Linux +distros using <code>Upstart</code> instead of <code>inittab</code> +like Ubuntu, DM adds a new task, <code>dm-start</code>, +into <code>/etc/event.d</code> directory. +</p> + +<h4> dm.conf </h4> + +<p><code>dm.conf</code> is the main configuration of +userful Multiplier located at <code>/etc/userful</code> +directory. Please see the file for more information. +</p> + +<h4> X config file for +DM </h4> + +<p>Userful Multiplier starts Userful's Multi-X instead of normal +Xorg for it's X server. Multi-X uses <code>/etc/X11/userful.Mxorg.conf</code> +as the config file. </p> + +<h4> gdm.conf for GDM </h4> + +<p>Userful Multiplier updates gdm.conf to support multiple +stations from a single Multi-X server. Instead of handling the real X +server, Userful Multiplier updates gdm.conf so that GDM uses <code>Login +Server</code> for each station. The <code>Login Server</code> +is a dummy X server that Userful developed for Userful Multiplier. +</p> + +<h2> Appendix B: +Installing Matrox's proprietary driver </h2> + +<p>Support for the second head on Matrox cards requires Matrox's +proprietary driver. Please follow the instructions below to install the +driver with Userful Multiplier: +</p> + +<ol> + + <li> Install Userful Multiplier if you have not already done +so. + </li> + + <li> Download Matrox's proprietary driver for your card from <a href="http://www.matrox.com/graphics/en/corpo/support/drivers/driverList.php?list=5" class="external free" title="http://www.matrox.com/graphics/en/corpo/support/drivers/driverList.php?list=5">http://www.matrox.com/graphics/en/corpo/support/drivers/driverList.php?list=5</a> + </li> + + <li> Open a terminal program. + </li> + + <li> Extract the downloaded file: + <pre>$ tar xvfz <file name></pre> + + </li> + + <li> Change directory to the newly created directory: + <pre>$ cd <directory name></pre> + + </li> + + <li> Run Userful's install script: + <pre>$ userful driver -install matrox</pre> + + </li> + + <li> Reboot the system. + </li> + +</ol> + +<h2> Appendix C: +Installing NVIDIA's proprietary driver </h2> + +<p>To support dual-head properly on NVIDIA cards, NVIDIA's +proprietary driver should be used instead of the built-in <b>nv</b> +driver. The correct NVIDIA driver for each GPU chipset can be found at <a href="http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/README/appendix-a.html" class="external free" title="http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/README/appendix-a.html">http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/README/appendix-a.html</a> +. </p> + +<p>There are two methods to install the NVIDIA driver and kernel +module: +</p> + +<ol> + + <li> <b>Easy Install with package manager</b> +(Recommended Approach)-- Major Linux vendors such as openSUSE, Fedora +and Ubuntu provide pre-compiled packages and easy methods to install +the NVIDIA driver and kernel module on their distros. (Please see the +below links) + </li> + + <li> <b>Recompiling the NVIDIA kernel module</b> +-- download the NVIDIA INSTALLER and follow the instructions at <a href="http://www.nvidia.com/object/unix.html" class="external free" title="http://www.nvidia.com/object/unix.html">http://www.nvidia.com/object/unix.html</a> +. + </li> + +</ol> + +<h4> Fedora Core 6 </h4> + +<p><a href="http://www.fedorafaq.org/fc6/#nvidia" class="external free" title="http://www.fedorafaq.org/fc6/#nvidia">http://www.fedorafaq.org/fc6/#nvidia</a> +</p> + +<h4> Fedora 8</h4> + +<p><a href="http://www.fedorafaq.org/#nvidia" class="external free" title="http://www.fedorafaq.org/#nvidia">http://www.fedorafaq.org/#nvidia</a> +</p> + +<h4> openSUSE and SLED </h4> + +<p><a href="http://en.opensuse.org/Nvidia" class="external free" title="http://en.opensuse.org/Nvidia">http://en.opensuse.org/Nvidia</a> +</p> + +<h4> Ubuntu 7.04 </h4> + +<p><a href="http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_setup_nVidia_drivers_in_7.04" class="external free" title="http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_setup_nVidia_drivers_in_7.04">http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_setup_nVidia_drivers_in_7.04</a> +</p> + +<h4> Ubuntu 7.10</h4> + +<p><a href="http://ubuntuguide.org/wiki/Ubuntu:Gutsy#NVidia_Driver" class="external free" title="http://ubuntuguide.org/wiki/Ubuntu:Gutsy#NVidia_Driver">http://ubuntuguide.org/wiki/Ubuntu:Gutsy#NVidia_Driver</a> +</p> + +<h4> Ubuntu 8.04</h4> + +<p><a href="http://easylinux.info/wiki/Ubuntu:Hardy#Installation_of_ATI_and_nVidia_Graphics_drivers" class="external free" title="http://easylinux.info/wiki/Ubuntu:Hardy#Installation_of_ATI_and_nVidia_Graphics_drivers">http://easylinux.info/wiki/Ubuntu:Hardy#Installation_of_ATI_and_nVidia_Graphics_drivers</a> +</p> + +<h2> Appendix D: The +Userful Command Line Tool </h2> + +<p>There are a lot of commands related to Userful Multipler. +Since each command has a different name and usage, it may be hard to +find the right command for a task. Here is some brief documentation for +the <b>Userful Command Line</b> tool which combines all +commands into a single interface. The command will be updated and +extended as needed and the documentation will also be available as a +Linux man page. (The man page for this tool is not yet available.) +</p> + +<pre>NAME + + userful - Userful command line tool + + +SYNOPSIS + + userful command [command_opts] [command_args] + + +DESCRIPTION + + Userful Multiplier is a set of software that extend the X Window System + to support up to 10 fully independent and concurrent workstations using + a single computer box. + + The userful program is a command line tool to use the various Desktop + Multiplier commands from the shell. It can be used for: + + - Creation of X config + - Controlling of Video cards and input devices + - Handling of debug information + - Getting/displaying license + - Handling of general settings + + +COMMAND SUMMARY + + The userful program provides a variety of commands, each of which has + different options and arguments. + + xconfig - Handling X config file + + SYNOPSIS + userful xconfig [OPTION] + + OPTIONS: + -h - Print help message + -gen - Generate an X config file for Desktop + Multiplier + -show - Display the X config file + -remove - Remove the X config file + + video - Video cards control + + SYNOPSIS + userful video [OPTION] + + OPTIONS: + -h - Print help message + -show - Probe and display all video cards + -blacklist [opt] [arg] - Maniplate blacklist + -whitelist [opt] [arg] - Maniplate whitelist + + input - Input devices control + + SYNOPSIS + userful input [OPTION] + + OPTIONS: + -h - Print help message + -reset - Unlink the assignment of all input + devices + -static - Enable/disable static config type + + debug - Creating/submitting debug info + + SYNOPSIS + userful debug [OPTION] + + OPTIONS: + -h - Print help message + -submit - Submit debug information to Userful + Support + + license - Getting/displaying license + + SYNOPSIS + Not implemented yet + + driver - Handling video drivers (Only one fuction for now: Installing + Matrox driver) + + SYNOPSIS + userful driver [OPTION] + + OPTIONS: + -h - Print help message + -install matrox - Install Matrox driver + + multistation - Toggling between multistation and singlestation + + SYNOPSIS + userful multistation [OPTION] + + OPTIONS: + -h - Print help message + -enable - Enable multistation + -disable - Disable multistation (Enable + singlestation) + + ctrlaltbreak - Enable/disable Ctrl-Alt-Break functionality. (Default: + Enabled) + + SYNOPSIS + userful ctrlaltbreak [OPTION] + + OPTIONS: + -h - Print this help message + -enable - Enable Ctrl-Alt-Break functionality + -disable - Disable Ctrl-Alt-Break functionality +</pre> + +<h2> Appendix E: PAM +configuration </h2> + +Due to security reasons, Userful Multiplier updates the permission and +ownership of X sockets. When a session starts, the ownership of current +X socket needs to be assigned to the current login user. This can be +achieved by adding a new <code>required</code> line into +the end of the PAM configuration of current Display Manager as follow: +<pre>session required pam_xconsole.so</pre> + +<p>Userful wrote <code>pam_xconsole</code> PAM +module for this purpose and the PAM configuration of current Display +Manager can be found in <code>/etc/pam.d/</code> directory +like <code>gdm</code> and <code>kdm</code>, +for <b>GdM</b> and <b>KDM</b>, respectively. +</p> + +</body></html> diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/installer.sh b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/installer.sh new file mode 100755 index 0000000000000000000000000000000000000000..093d8892ff62c436373b28bd7a8d111e01c3a381 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/installer.sh @@ -0,0 +1,266 @@ +#!/bin/bash +# +# installer.sh +# +# Userful Multiplier installer +# +# Copyright (c) 2005-2010 Userful Corporation. All rights reserved. +# +# Jason Kim <jason@userful.com> + +## +## Find Linux TYPE +## +function check_os_info() +{ + if [ -e /etc/fedora-release ] || [ -e /etc/mandrake-release ] || \ + [ -e /etc/SuSE-release ] || [ -e /etc/redhat-release ]; then + OSTYPE="rpm" + + elif [ -e /etc/xandros-deskktop-version ] || [ -e /etc/morphix_version ] || \ + [ -e /etc/freespire-release ] || [ -e /etc/linspire-release ] || \ + [ -e /etc/debian_version ]; then + OSTYPE="deb" + + elif [ -e /etc/lsb-release ]; then + source /etc/lsb-release + OSTYPE=$(echo $DISTRIB_ID | tr "[A-Z" "[a-z]") + + # Check Linux Educacional + if [ "$OSTYPE" == "linux educacional" ]; then + OSTYPE=ubuntu + fi + + else + # Unsupported OS type + # Should exit + OSTYPE=unsupported + + fi +} +# Check system type (also in userful-bash-lib.sh) +function Check_System_Type() +{ + case $(uname -m) in + x86_64|ia64) + echo "lib64" + ;; + *) + echo "lib" + ;; + esac +} +## +## Check nVidia Kernel Module and nVidia X driver +## (also in userful-bash-lib.sh) +function Check_nVidia_Driver() +{ + # Check machine type + LIB=$(Check_System_Type) + + # Check nVidia kernel module and driver + # Each distro has different way to install nvidia driver and use different files. + # FC:yum, SUSE:Yast, Ubuntu:Restricted Devices Manager and Synaptic + # TODO: + # - There might be a better way to check nvidia kernel module and drvier for every distros. + # - Each distro installs the nVidia kernel module and driver on different directory with dirrent name. + # - /lib is used for Kernel module instead of /lib64 in x86_64 SLED 10.1 system. + # - Need to check the path in other distributions. + + # Check nVidia Kernel Module + #if [ -f /lib/modules/$(uname -r)/extra/nvidia/nvidia.ko -o \ + # -f /lib/modules/$(uname -r)/updates/nvidia.ko -o \ + # -f /lib/modules/$(uname -r)/updates/dkms/nvidia.ko -o \ + # -f /lib/modules/$(uname -r)/weak-updates/nvidia.ko -o \ + # -f /lib/modules/$(uname -r)/kernel/drivers/video/nvidia/nvidia.ko -o \ + # -f /lib/modules/$(uname -r)/kernel/drivers/video/nvidia.ko -o \ + # -f /lib/modules/$(uname -r)/volatile/nvidia.ko -o \ + # -f /var/lib/dkms/nvidia-current/kernel-$(uname -r)-i586/module/nvidia-current.ko.gz -o \ + # -f /var/lib/dkms/nvidia/kernel-$(uname -r)-i686/module/nvidia.ko -o \ + # -f /etc/modprobe.d/nvidia-kernel-nkc ]; then + + ## + ## Check nVidia Kernel Module and nVidia X driver + modprobe -q nvidia + if lsmod | grep -q "^nvidia"; then + + # Check nVidia driver + if [ -f /usr/$LIB/xorg/modules/drivers/nvidia_drv.o ] && \ + [ ! -L /usr/$LIB/xorg/modules/drivers/nvidia_drv.o ]; then + echo "true" + elif [ -f /usr/$LIB/xorg/modules/drivers/nvidia_drv.so ] && \ + [ ! -L /usr/$LIB/xorg/modules/drivers/nvidia_drv.so ]; then + echo "true" + elif [ -f /usr/$LIB/xorg/modules/drivers/nvidia_drv.so ] && \ + [ -f /usr/$LIB/nvidia-current/xorg/nvidia_drv.so ]; then + echo "true" + elif [ -f /usr/$LIB/xorg/modules/updates/drivers/nvidia_drv.o ] && \ + [ ! -L /usr/$LIB/xorg/modules/updates/drivers/nvidia_drv.o ]; then + echo "true" + elif [ -f /usr/$LIB/xorg/modules/updates/drivers/nvidia_drv.so ] && \ + [ ! -L /usr/$LIB/xorg/modules/updates/drivers/nvidia_drv.so ]; then + echo "true" + elif [ -f /usr/$LIB/xorg/modules/drivers/nvidia-current/nvidia_drv.so ] && \ + [ ! -L /usr/$LIB/xorg/modules/drivers/nvidia-current/nvidia_drv.so ]; then + echo "true" + elif [ -f /usr/X11R6/$LIB/modules/drivers/nvidia_drv.o ] && \ + [ ! -L /usr/X11R6/$LIB/modules/drivers/nvidia_drv.o ]; then + echo "true" + elif [ -f /usr/X11R6/$LIB/modules/drivers/nvidia_drv.so ] && \ + [ ! -L /usr/X11R6/$LIB/modules/drivers/nvidia_drv.so ]; then + echo "true" + elif [ -f /usr/X11R6/$LIB/modules/updates/drivers/nvidia_drv.o ] && \ + [ ! -L /usr/X11R6/$LIB/modules/updates/drivers/nvidia_drv.o ]; then + echo "true" + elif [ -f /usr/X11R6/$LIB/modules/updates/drivers/nvidia_drv.so ] && \ + [ ! -L /usr/X11R6/$LIB/modules/updates/drivers/nvidia_drv.so ]; then + echo "true" + else + echo "false" + fi + + else + # nVidia kernel module NOT exists. Return "false" + echo "false" + fi +} + +## +## Exit from installer.sh +## +function exit_installer() +{ + #read -s -p "Please enter any key to exit from \`installer.sh'" + exit 1 +} + +## +## Install UMx +## +function install_umx() +{ + pushd ./packages > /dev/null + bash ./INSTALL +} + +#------------------- +# Script start here +#------------------- + +## +## Check root +if [ ! -r /proc/kmsg ]; then + echo + echo "You must be root to install Userful Multiplier" + echo + echo "To change root user in a terminal, type \`su -' command." + echo "If you install Userful Multiplier in graphical mode, please log on as root." + echo + #exit_installer +fi + +## +## Check working directory +if [ ! -d ./packages ]; then + echo + echo "Please \`cd' to the newly created directory from Userful Multiplier zip file" + echo "before you run \`installer.sh'" + echo + exit_installer +fi + + +## +## Check for Nvidia cards, if they exist, check for nvidia drivers, if no nvidia drivers, prompt to install +## +if lspci | grep -iq nvidia ; then + + DRIVER_RESULT=$(Check_nVidia_Driver) + + if [ "$DRIVER_RESULT" == false ] ; then + echo "You appear to have one or more NVIDIA graphic cards installed," + echo "but you do not have the NVIDIA driver installed. Userful multiplier" + echo "will not work on every video output. Please see the user guide" + echo "for more information." + echo -n "Do you still want to install [y/N]? " + #read ANS + ANS=y + if [ "$ANS" != y ] && [ "$ANS" != Y ] ; then + exit_installer + fi + fi +fi + +## +## Find Linux type. +if [ -e ./new-distro.conf ]; then + + source ./new-distro.conf + if [ x"$PACKAGE_TYPE" == x ]; then + echo + echo "Please set PACKAGE_TYPE in new-distro.conf" + exit_installer + else + echo + echo "Testing Userful Multiplier on a new Linux Distro..." + #read -s -p "Please enter any key to continue.." + + if [ -d /etc/userful ]; then + cp -f ./new-distro.conf /etc/userful + else + mkdir /etc/userful + cp -f ./new-distro.conf /etc/userful + fi + OSTYPE=$PACKAGE_TYPE + fi + +else + check_os_info +fi + +## - deb packages should be available for Debian based linux +## - Ububuntu can also use ubuntu package. +## - rpm packages should be available for RPM based linux +PKG_TYPE=$(cat ./packages/PKG_TYPE) + +if [ "$OSTYPE" == "rpm" ]; then + if [ "$PKG_TYPE" == "rpm" ]; then + install_umx + else + echo "You have wrong version of Userful Multiplier." + echo "Please install \`$OSTYPE' version on your system." + exit_installer + fi + +elif [ "$OSTYPE" == "deb" ]; then + if [ "$PKG_TYPE" == "deb" ]; then + install_umx + else + echo "You have wrong version of Userful Multiplier." + echo "Please install \`$OSTYPE' version on your system." + exit_installer + fi + +elif [ "$OSTYPE" == "ubuntu" ]; then + if [ "$PKG_TYPE" == "deb" ]; then + install_umx + elif [ "$PKG_TYPE" == "ubuntu" ]; then + # run gdebi + pushd ./packages > /dev/null + gdebi *.deb + else + echo "You have wrong version of Userful Multiplier." + echo "Please install \`$OSTYPE' version on your system." + exit_installer + fi + +else + # Unsupported OS type + echo "Unsupported Linux system." + + echo "Please use one of the following Linux version to use Userful Multiplier." + echo + cat ./packages/userful-supported-distros + exit_installer +fi + diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/1Box.info.trial b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/1Box.info.trial new file mode 100644 index 0000000000000000000000000000000000000000..e1e4931494a879c1dae07d830f67a3f5e97370f8 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/1Box.info.trial @@ -0,0 +1,2 @@ +��α��X)��a�\ c�)Cqq5��mc�Ez-���@�bωRh�����q���-K�qJh��9K�Q���E�~�Lݚ������tGԝ�+�)B��"��Ql��<Y"��6���Qr��_�p;������A�NV�m7NB.߶�HԻ�݅��L��@��):n���E�n$�$��ee^��L�bNB����}?�X�?t��l��)������ +���E�>m�����V(3�A9�.u� \ No newline at end of file diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/DM-VERSION b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/DM-VERSION new file mode 100644 index 0000000000000000000000000000000000000000..0ace7326f1adb9856e299ec30efff80b60349dbc --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/DM-VERSION @@ -0,0 +1 @@ +3918-20110302121007 diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/INSTALL b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..eee6b215c40b5be2229af1991224d00847d4237d --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/INSTALL @@ -0,0 +1,935 @@ +#!/bin/bash +# +# Install script for Userful Multiplier +# +# Copyright (c) 2005-2010 Userful Corporation. All rights reserved. +# +# Jason Kim <jason@userful.com> +# + +PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin +DPKG=$(which dpkg 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null); +RPM=$(which rpm 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null); +#DIALOG=$(which dialog 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null); +DIALOG="" +#WGET=$(which wget 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null); +WGET="" + +NEW_DISTRO_CONFIG="/etc/userful/new-distro.conf" +MX_NAME=umx-server + +# Color +RED='\E[31m' +GREEN='\E[32m' +YELLOW='\E[33m' +BLUE='\E[34m' + +BACKTITLE="Userful Multiplier" +TRUE=1 +FALSE=0 + +function initialize() +{ + [[ -e /tmp/DM-VERSION ]] && rm -f /tmp/DM-VERSION + [[ -e /tmp/DM64-VERSION ]] && rm -f /tmp/DM64-VERSION +} + +function check_latest() +{ + ## XXX + ## Don't check the latest version. + return + + wget -O /tmp/$DM_VERSION http://www3.userful.com/dm/$DM_VERSION > /dev/null 2>&1 + + if [[ -e /tmp/$DM_VERSION ]] && [[ -e ./$DM_VERSION ]]; then + DM_REMOTE_VERSION=`cat /tmp/$DM_VERSION` + DM_LOCAL_VERSION=`cat ./$DM_VERSION` + else + # Can't check the latest version. $DM_VERSION missing + return + fi + + if [[ -n "$DM_REMOTE_VERSION" ]] && [[ -n "$DM_LOCAL_VERSION" ]]; then + + # Available version from Userful download server + REMOTE_VERSION=`echo "$DM_REMOTE_VERSION" | awk -F'-' -- '{print $1}'` + REMOTE_VER_MAJOR=`echo "$REMOTE_VERSION" | awk -F'.' -- '{print $1}'` + REMOTE_VER_MINOR=`echo "$REMOTE_VERSION" | awk -F'.' -- '{print $2}'` + if [[ "x$REMOTE_VER_MINOR" == "x" ]]; then + REMOTE_VER_MINOR=0 + fi + + REMOTE_RELEASE=`echo "$DM_REMOTE_VERSION" | awk -F'-' -- '{print $2}'` + REMOTE_REL_MAJOR=`echo "$REMOTE_RELEASE" | awk -F'.' -- '{print $1}'` + REMOTE_REL_MINOR=`echo "$REMOTE_RELEASE" | awk -F'.' -- '{print $2}'` + if [[ "x$REMOTE_REL_MINOR" == "x" ]]; then + REMOTE_REL_MINOR=0 + fi + + # Current downloaded version + LOCAL_VERSION=`echo "$DM_LOCAL_VERSION" | awk -F'-' -- '{print $1}'` + LOCAL_VER_MAJOR=`echo "$LOCAL_VERSION" | awk -F'.' -- '{print $1}'` + LOCAL_VER_MINOR=`echo "$LOCAL_VERSION" | awk -F'.' -- '{print $2}'` + if [[ "x$LOCAL_VER_MINOR" == "x" ]]; then + LOCAL_VER_MINOR=0 + fi + + LOCAL_RELEASE=`echo "$DM_LOCAL_VERSION" | awk -F'-' -- '{print $2}'` + LOCAL_REL_MAJOR=`echo "$LOCAL_RELEASE" | awk -F'.' -- '{print $1}'` + LOCAL_REL_MINOR=`echo "$LOCAL_RELEASE" | awk -F'.' -- '{print $2}'` + if [[ "x$LOCAL_REL_MINOR" == "x" ]]; then + LOCAL_REL_MINOR=0 + fi + + #echo $DM_REMOTE_VERSION $REMOTE_VER_MAJOR $REMOTE_VER_MINOR $REMOTE_REL_MAJOR $REMOTE_REL_MINOR + #echo $DM_LOCAL_VERSION $LOCAL_VER_MAJOR $LOCAL_VER_MINOR $LOCAL_REL_MAJOR $LOCAL_REL_MINOR + + if [[ $REMOTE_VER_MAJOR -gt $LOCAL_VER_MAJOR ]]; then + DOWNLOAD="yes" + elif [[ $REMOTE_VER_MAJOR -eq $LOCAL_VER_MAJOR ]] && [[ $REMOTE_VER_MINOR -gt $LOCAL_VER_MINOR ]]; then + DOWNLOAD="yes" + elif [[ $REMOTE_VER_MAJOR -eq $LOCAL_VER_MAJOR ]] && [[ $REMOTE_VER_MINOR -eq $LOCAL_VER_MINOR ]] && \ + [[ $REMOTE_REL_MAJOR -gt $LOCAL_REL_MAJOR ]];then + DOWNLOAD="yes" + elif [[ $REMOTE_VER_MAJOR -eq $LOCAL_VER_MAJOR ]] && [[ $REMOTE_VER_MINOR -eq $LOCAL_VER_MINOR ]] && \ + [[ $REMOTE_REL_MAJOR -eq $LOCAL_REL_MAJOR ]] && [[ $REMOTE_REL_MINOR -gt $LOCAL_REL_MINOR ]]; then + DOWNLOAD="yes" + else + # Local DM is same or newer than Remote version + DOWNLOAD="no" + + # Continue to install the current version + return + fi + else + # Can't check the latest version. DM-VERSION missing. DM-VERSION is empty + return + fi + + if [[ "$DOWNLOAD" == "yes" ]]; then + if [[ "$BASE_SYSTEM" == "RPM" ]]; then + if [[ -e ./DM64-VERSION ]]; then + PKG_NAME="Desktop-Multiplier-x86_64.zip" + else + PKG_NAME="Desktop-Multiplier.zip" + fi + + elif [[ "$BASE_SYSTEM" == "DEB" ]]; then + PKG_NAME="Desktop-Multiplier-deb.zip" + fi + + if [[ -n "$DIALOG" ]]; then + $DIALOG --backtitle "$BACKTITLE" --title "Installing Userful Multiplier v$DM_LOCAL_VERSION" --yesno "\nUserful Multiplier v$DM_REMOTE_VERSION is available.\n\nDo you want to download and install the new version ?" 8 70 + DIALOG_EXIT_CODE=$? + if [[ $DIALOG_EXIT_CODE = 0 ]]; then + # press "yes" + echo "Downloading..." + + wget -O /tmp/$PKG_NAME http://www3.userful.com/dm/$PKG_NAME + RET=$? + + if [[ $RET -eq 0 ]]; then + #Download Succeed. + $DIALOG --backtitle "$BACKTITLE" --title "Download Success" --msgbox "\nUserful Multiplier v$DM_REMOTE_VERSION has been successfully downloaded and saved.\n\n /tmp/$PKG_NAME\n\nPlease unzip the new version and install again." 10 80 + # Exit from this INSTALL program. + exit 0 + else + #Download Failed. + $DIALOG --backtitle "$BACKTITLE" --title "Download Failed" --yesno "Downloading of Userful Multiplier has failed.\n\nDo you want to continue and install the current version of Userful Multiplier(v$DM_LOCAL_VERSION)?" 8 70 + DIALOG_EXIT_CODE=$? + if [[ $DIALOG_EXIT_CODE = 0 ]]; then + return + else + exit 1 + fi + fi + else + # Press "no" + return + fi + else + echo "=====================================================" + echo " Checking the latest version of Userful Multiplier" + echo "=====================================================" + echo "You have a older version of Userful Multiplier (v$DM_LOCAL_VERSION) and v$DM_REMOTE_VERSION is available." + INPUT= + while [[ "$INPUT" != "y" ]] && [[ "$INPUT" != "n" ]] + do + echo + echo -n "Do you want download and install the newer version? [y/n]" + #read -n 1 INPUT + INPUT=y + done + echo "" + + if [[ "$INPUT" == "y" ]]; then + echo "Downloading..." + + wget -O /tmp/$PKG_NAME http://www3.userful.com/dm/$PKG_NAME + RET=$? + + if [[ $RET = 0 ]]; then + echo "Userful Multiplier v$DM_REMOTE_VERSION has been successfully downloaded at /tmp/$PKG_NAME" + echo "Please unzip the new version and install again." + echo + exit 0 + else + echo "ERROR: Downloading of Userful Multiplier has failed." + + INPUT= + while [[ "$INPUT" != "y" ]] && [[ "$INPUT" != "n" ]] + do + echo + echo -n "Do you want to continue and install the current version of Userful Multiplier (v$DM_LOCAL_VERSION)? [y/n]" + #read -n 1 INPUT + INPUT=y + done + + if [[ "$INPUT" == "y" ]]; then + return + else + exit 1 + fi + fi + else + # typed "n" + return + fi + fi + fi +} + +# DM currently support following Linux Distributions: +# RPM based: Fedora, Mandriva, openSUSE, SLED, CentOS, Redhat +# BEB based: Xandros, Morphix, Ubuntu, Freespire +function find_os_info() +{ + if [[ -n "$DPKG" ]]; then + # DEBIAN based Linux Distro + BASE_SYSTEM=DEB + + if [[ -e /etc/xandros-desktop-version ]]; then + OSNAME=xandros + OSVER=`grep "^Version" /etc/xandros-desktop-version | awk '{printf $5}'` + elif [ -f /etc/morphix_version ]; then # Dreamlinux + OSNAME=morphix + OSVER=`cat /etc/morphix_version` + elif [ -f /etc/lsb-release ]; then ## Ubuntu + source /etc/lsb-release + OSNAME=`echo $DISTRIB_ID | tr "[A-Z]" "[a-z]"` + OSVER=$DISTRIB_RELEASE + + # Check Linux Educacional + if [ "$OSNAME" == "linux educacional" ]; then + OSNAME=ubuntu + if [ "$OSVER" == "3.0" ]; then + OSVER=8.04 + elif [ "$OSVER" == "4.0" ]; then + OSVER=10.04 + fi + fi + + # Ubuntu 8.10 uses umx-server instead of mx11r7 + if [ "$OSNAME" == "ubuntu" -a "$OSVER" == "8.04" ]; then + MX_NAME=mx11r7 + fi + + elif [ -f /etc/freespire-version ]; then # Freespire + OSNAME=freespire + OSVER=`grep "^Version:" /etc/freespire-version | awk '{printf $2}'` + elif [ -f /etc/linspire-version ]; then # Linpire + OSNAME=linspire + OSVER=0 + elif [ -f /etc/debian_version ]; then # Debian 3.1 Sarge + OSNAME=debian + OSVER=`cat /etc/debian_version` + else + $DPKG -s simplymepis > /dev/null 2>&1 + if [ $? == 0 ]; then + OSNAME=mepis + OSVER=0 + else + OSNAME=unsupported + OSVER=unsupported + fi + fi + + elif [[ -n "$RPM" ]]; then + # RPM based Linux Distro + BASE_SYSTEM=RPM + + if [ -e /etc/fedora-release ]; then # Fedora, Freedows + if [ -e /etc/freedows-release ]; then # Freedows + OSNAME=freedows + else + OSNAME=fedora + fi + OSVER=`$RPM -qf --qf %{VERSION} /etc/fedora-release` + + # Fedora 10 uses umx-server instead of mx11r7 + if [ "$OSNAME" == "fedora" -a "$OSVER" == "8" ]; then + MX_NAME=mx11r7 + fi + + elif [ -f /etc/mandrake-release ]; then + OSNAME=mandrake + OSVER=`$RPM -qf --qf %{VERSION} /etc/mandrake-release` + + elif [ -e /etc/SuSE-release ]; then + if [ -e /etc/novell-release ]; then # Novell Desktop + OSNAME=novell + elif [ -e /etc/sun-release ]; then # Sun Java Desktop + OSNAME=jds + else # SuSE + OSNAME=suse + fi + OSVER=`$RPM -qf --qf %{VERSION} /etc/SuSE-release` + + ## TODO: + ## Use umx-server for Novell 10 (testing) + if [ "$OSNAME" == "novell" -a "$OSVER" == "9" ]; then + MX_NAME=mx11r7 + fi + + elif [ -f /etc/redhat-release ]; then # CentOS, RHEL + OSNAME=`$RPM -qf --qf %{NAME} /etc/redhat-release` + OSNAME=${OSNAME%-release} + OSVER=`$RPM -qf --qf %{VERSION} /etc/redhat-release` + + else + OSNAME=unsupported + OSVER=unsupported + fi + fi +} + +# Test new Linux distro. +function test_new_distro() +{ + SUPPORTED_OS=$TRUE + SUPPORTED_VER="$OSVER" + + return $SUPPORTED_OS +} + +# Check supported Linux system for the base DM, Multimedia and Storage. +# $1: file name +function check_supported_os() +{ + if ! grep -i "^$OSNAME" $1 > /dev/null 2>&1; then + # Current Linux system is not supported. + return $FALSE + fi + + source $1 + + case "$OSNAME" in + fedora) + SUPPORTED_VER=$FEDORA + ;; + novell) + SUPPORTED_VER=$NOVELL + ;; + suse) + SUPPORTED_VER=$SUSE + ;; + centos) + SUPPORTED_VER=$CENTOS + ;; + redhat) + SUPPORTED_VER=$REDHAT + ;; + mandrake) + SUPPORTED_VER=$MANDRAKE + ;; + freedows) + SUPPORTED_VER=$FREEDOWS + ;; + xandros) + SUPPORTED_VER=$XANDROS + ;; + morphix) + SUPPORTED_VER=$MORPHIX + ;; + ubuntu) + SUPPORTED_VER=$UBUNTU + ;; + freespire) + SUPPORTED_VER=$FREESPIRE + ;; + debian) + SUPPORTED_VER=$DEBIAN + ;; + *) + SUPPORTED_OS=$FALSE + ;; + esac + + if [[ -z "$SUPPORTED_VER" ]] || [[ "$SUPPORTED_VER" == "none" ]]; then + SUPPORTED_OS=$FALSE + + else + for V in $SUPPORTED_VER; do + # V: supported os version, OSVER: current os version + if [[ "$V" == "$OSVER" ]]; then + SUPPORTED_OS=$TRUE + break + fi + done + fi + + return $SUPPORTED_OS +} + +function check_extra_pkg() +{ + # Check multimedia support on current system + SUPPORTED_OS=$FALSE + SUPPORTED_VER="none" + check_supported_os multimedia-supported-distros + if [[ $? -eq $TRUE ]]; then + PKG_LIST="$PKG_LIST umx-multimedia" + PKG_CNT=$(($PKG_CNT+1)) + fi + + # Check Storage support on current system + SUPPORTED_OS=$FALSE + SUPPORTED_VER="none" + check_supported_os storage-supported-distros + if [[ $? -eq $TRUE ]]; then + PKG_LIST="$PKG_LIST umx-storage" + PKG_CNT=$(($PKG_CNT+1)) + fi +} + +function pre_uninstall() +{ + # For the backward compatibility, include multiuser-* packages.. + local pkg_list="multiuser-device-assignment multiuser-audio-fc4 multiuser-removable-storage multistation-devices-storage multistation-devices-multimedia listpci 1box-server-xorg mx11r7 umx-server umx-multimedia umx-storage libusb-v1 umx-mesa umx-tusb 1box-utils-k26 umx-utils" + # five packages to uninstall + local pkg_cnt=`echo $pkg_list | wc -w` + PKG_PROGRESS=$((100/$pkg_cnt)) + PROGRESS=0 + + if [[ -n "$DIALOG" ]]; then + + { for PKG in $pkg_list; do + uninstall_package "$PKG" + PROGRESS=$(($PROGRESS+$PKG_PROGRESS)) + echo $PROGRESS + done + echo 100; } | $DIALOG --backtitle "$BACKTITLE" --guage "Uninstalling Userful Multiplier... " 6 70 0 + + else + echo "Uninstalling packages...." + echo + for PKG in $pkg_list; do + uninstall_package "$PKG" + PROGRESS=$(($PROGRESS+$PKG_PROGRESS)) + echo -n "$PROGRESS% " + done + echo -n "100%" + fi + + echo + echo "Done...." + echo +} + +function install_pkg() +{ + + echo "All packages should be already installed." + return 0 + + local pkg_list=$1 + local pkg_cnt=$2 + + PKG_PROGRESS=$((100/$pkg_cnt)) + PROGRESS=0 + + if [[ -n "$DIALOG" ]]; then + + { for PKG in $pkg_list; + do + install_package "$PKG" + PROGRESS=$(($PROGRESS+$PKG_PROGRESS)) + echo $PROGRESS + done + + echo 100; } | $DIALOG --backtitle "$BACKTITLE" --guage "Installing Userful Multiplier... " 6 70 0 + + else + + echo "Installing packages...." + echo + for PKG in $pkg_list; do + install_package "$PKG" + PROGRESS=$(($PROGRESS+$PKG_PROGRESS)) + echo -n "$PROGRESS% " + done + echo -n "100%" + + echo + echo "Done...." + echo + fi +} + +function eula_accepted() +{ + PKG_LIST="listpci 1box-server-xorg libusb-v1 umx-mesa umx-tusb $MX_NAME" + PKG_CNT=`echo $PKG_LIST | wc -w` + + if [[ -e ./multimedia-supported-distros ]] && [[ -e ./storage-supported-distros ]]; then + check_extra_pkg + fi + + install_pkg "$PKG_LIST" "$PKG_CNT" +} + +function eula_declined() +{ + if [[ "$BASE_SYSTEM" == "RPM" ]]; then + $RPM -e umx-utils > /dev/null 2>&1 + elif [[ "$BASE_SYSTEM" == "DEB" ]]; then + $DPKG -r umx-utils > /dev/null 2>&1 + fi + + echo "User Agreement has been declined." + echo -e "Please run \"bash INSTALL\" again to install Userful Multiplier." + exit 1 +} + +function uninstall_package() { + local PACKAGE=$1 + if [[ "$BASE_SYSTEM" == "RPM" ]]; then + $RPM -q --quiet $PACKAGE + if [[ $? -eq 0 ]]; then + $RPM -e $PACKAGE > /dev/null 2>&1 + return $? + fi + return 0 + elif [[ "$BASE_SYSTEM" == "DEB" ]]; then + $DPKG -s $PACKAGE > /dev/null 2>&1 + if [[ $? -eq 0 ]]; then + $DPKG -r $PACKAGE > /dev/null 2>&1 + return $? + fi + return 0 + fi + return 1 +} + +function install_package() { + + echo "All packages should be already installed." + return 0 + + local PACKAGE=$1 + # Find the current PKG file + local INSTALL_PKG=`ls $PACKAGE-* 2> /dev/null | tail -n 1 2> /dev/null` + if [[ -n "$INSTALL_PKG" ]]; then + if [[ "$BASE_SYSTEM" == "RPM" ]]; then + $RPM -Uvh --quiet $INSTALL_PKG > /dev/null 2>&1 + return $? + elif [[ "$BASE_SYSTEM" == "DEB" ]]; then + $DPKG -i $INSTALL_PKG > /dev/null 2>&1 + return $? + fi + fi + return 1 +} + +#------------------------ +# Start Script from here +#------------------------ +################# +# Initial Title # +################# +if [[ -z "$DIALOG" ]]; then + clear + echo "=====================================" + echo " Userful Multiplier Install Script " + echo "=====================================" +fi + +####################### +# Check root permission +####################### +if [ ! -r /proc/kmsg ]; then + if [[ -n "$DIALOG" ]]; then + $DIALOG --backtitle "$BACKTITLE" --title "Installing Userful Multiplier" --msgbox "\nYou must be logged in as root to install Userful Multiplier" 6 70 + else + echo "-----------------------------------------------------------" + echo " Error: You must be logged in as Root to run this program." + echo "-----------------------------------------------------------" + echo "" + fi + exit 1 +fi + +## +# Find OS information +## +if [ -e $NEW_DISTRO_CONFIG ]; then + # Get OSNAME and OSVER + source $NEW_DISTRO_CONFIG + + # Multi-X server to install + MX_NAME=umx-server + + if [[ -n "$DPKG" ]]; then + # DEBIAN based Linux Distro + BASE_SYSTEM=DEB + elif [[ -n "$RPM" ]]; then + # RPM based Linux Distro + BASE_SYSTEM=RPM + fi + +else + find_os_info +fi + +########################################################### +# Check architecture +# +# Note: +# 64bit version is only available for RPM based currently +########################################################### +ARCH_MISMATCH=$FALSE + +## +## Get package arch +if [ "$BASE_SYSTEM" == "RPM" ]; then + PKG_ARCH=$(rpm -qp --qf %{ARCH} umx-utils-*) +elif [ "$BASE_SYSTEM" == "DEB" ]; then + PKG_ARCH=$(dpkg-deb -f umx-utils-* Architecture) +fi + +# Get system arch +ARCH=$(uname -m) + +if [ "$ARCH" == "x86_64" -o "$ARCH" == "ia64" -o "$ARCH" == "amd64" ]; then + # 64 bit OS + if [ "$PKG_ARCH" != "x86_64" -a "$PKG_ARCH" != "amd64" ]; then + ARCH_MISMATCH=$TRUE + fi + +else + # 32 bit OS + if [ "$PKG_ARCH" != "i386" -a "$PKG_ARCH" != "i586" -a "$PKG_ARCH" != "i686" ]; then + ARCH_MISMATCH=$TRUE + fi +fi + +if [ "$ARCH_MISMATCH" == "$TRUE" ]; then + if [[ -n "$DIALOG" ]]; then + $DIALOG --backtitle "$BACKTITLE" --title "Installing Userful Multiplier" --msgbox "\nYou are installing $PKG_ARCH version of Desktop Multiplier on $ARCH system.\n\nPlease download the correct version and install again." 12 100 + else + echo "------------------------------------------------------------------------------------" + echo "WARNING: You are installing $PKG_ARCH version of Desktop Multiplier on $ARCH system" + echo "WARNING: Please download the correct version and insatll again." + echo "------------------------------------------------------------------------------------" + echo "" + fi + #exit 1 +fi + +################### +# Initial Greeting +################### +if [[ -n "$DIALOG" ]]; then + $DIALOG --backtitle "$BACKTITLE" --title "WELCOME" --msgbox "\nThank you for installing Userful Multiplier.\n\nUserful Multiplier is a software add-on that allows your Linux opterating system to support up to 10 independent users. Please find more information about Userful Multiplier at:\n\nhttp://support.userful.com/wiki/index.php/Readme/Desktop_Multiplier" 12 100 + +else + echo "Thank you for installing Userful Multiplier." + echo + echo -e "Userful Multiplier is a software add-on that allows your Linux\nopterating system to support up to 10 independent users.\n\nPlease find more information about Userful Multiplier at:\n\nhttp://support.userful.com/wiki/index.php/Readme/Desktop_Multiplier" + echo + + #echo -n "Press any key to continue.." + #read -s -n 1 TMP +fi + +## +# Change Working Directory +## +CURRDIR=${0%`basename $0`} +if [ -n "$CURRDIR" ]; then + pushd $CURRDIR >> /dev/null +fi + +#################### +## Check EULA first. +#################### +clear +#more -d Userful-EULA.txt +cat Userful-EULA.txt + +INPUT="" +while [ "$INPUT" != "y" -a "$INPUT" != "n" ]; +do + echo + echo "Do you accept the terms of this license? [y/n]" + #read -n 1 INPUT + INPUT=y +done + +if [ "$INPUT" != "y" ]; then + echo + echo + echo "End User License Agreement has been declined." + exit 1 +fi + +## +# Do some initializing work +## +initialize + +################################################# +# Check the latest version of Destkop Multiplier +# Download new version if available. +################################################# +if [[ -n "$WGET" ]]; then + if [[ -e ./DM-VERSION ]]; then + DM_VERSION=DM-VERSION + check_latest + elif [[ -e ./DM64-VERSION ]]; then + DM_VERSION=DM64-VERSION + check_latest + fi +fi + +################### +# Install BASE DM # +################### + +## +# Check whether the current Linux system supports Userful Multiplier +## +SUPPORTED_OS=$FALSE +SUPPORTED_VER="none" + +if [ -e $NEW_DISTRO_CONFIG ]; then + test_new_distro +else + check_supported_os userful-supported-distros +fi + +if [[ $? -eq $FALSE ]]; then + + ## + # Userful Multiplier doesn't support current Linux system + ## + + if [[ -n "$DIALOG" ]]; then + $DIALOG --backtitle "$BACKTITLE" --title "Unsupported Linux System" --yesno "\nUserful Multiplier install script does not currently support your Linux system. To install Userful Multiplier manualy, please follow the detailed instructions at:\nhttp://www.userful.com/products/dm-config\n\nDo you want to proceed and configure your system manually?" 0 0 + + DIALOG_EXIT_CODE=$? + if [[ $DIALOG_EXIT_CODE -ne 0 ]]; then + #Press "no" + exit 1 + fi + + else + echo + echo -e "Error: The Userful Multiplier install script does not currently\nsupport your Linux distribution. To install Userful Multiplier\nmanually, please follow the detailed installation instructions at:\nhttp://www.userful.com/products/dm-config" + echo + + INPUT="" + while [[ "$INPUT" != "y" ]] && [[ "$INPUT" != "n" ]] + do + echo + echo -n "Do you want to proceed and configure your system manually? [y/n]" + #read -n 1 INPUT + INPUT=n + done + + if [ "$INPUT" = "n" ]; then + # Press "n" + exit 1 + fi + fi +fi + +## +# Check any previous DM installed +## +if [[ -e /opt/userful/bin/MXsetup ]]; then + ## + # DM has been installed already. + ## + + # Check previouse version of DM, then prompt uninstalling message. + if [[ -n "$DIALOG" ]]; then + $DIALOG --backtitle "$BACKTITLE" --title "Uninstall previouse Userful Multiplier" --yesno "\nUserful Multiplier is already installed in your system.\n\nDo you want to uninstall it first?" 8 60 + + DIALOG_EXIT_CODE=$? + if [[ $DIALOG_EXIT_CODE -eq 0 ]]; then + pre_uninstall + fi + + else + ## Uninstall previous Multiplier + INPUT="" + #while [[ "$INPUT" != "y" ]] && [[ "$INPUT" != "n" ]] + #do + # echo + # echo -n "\nUserful Multiplier is already installed in your system. Do you want to uninstall it first? [y/n]" + # read -n 1 INPUT + #done + + INPUT="y" + if [ "$INPUT" = "y" ]; then + # Press "y" + echo + echo + echo "======================================" + echo " Uninstalling pre-installed version " + echo "======================================" + + pre_uninstall + fi + fi +fi + +## +# Installation +## +if [[ -z "$DIALOG" ]]; then + echo "" + echo "=================================" + echo " Installing Userful Multiplier " + echo "=================================" +fi + +## +# Copy trial license key if exist. +## +if [[ -f 1Box.info.trial ]]; then + cp -f 1Box.info.trial /etc/X11/ +fi + + +## +## umx-utils doesn't chekc eula anymore... +## Check EULA first. EULA is part of umx-utils install procedure. +## +if [[ "$BASE_SYSTEM" == "RPM" ]]; then + # Install umx-utils package and check EULA + $RPM -Uvh `ls umx-utils-* | tail -n 1` > /dev/null 2>&1 +elif [[ "$BASE_SYSTEM" == "DEB" ]]; then + echo "umx-utils should be already installed." + #$DPKG -i `ls umx-utils-*.deb | tail -n 1` > /dev/null 2>&1 +else + echo "Only support RPM or DEB based system." + exit 1 +fi +if [ "$?" -ne 0 ]; then + echo "Failed to install umx-utils package." + exit 1 +fi +# find User's agreement +E1=`cat /opt/userful/bin/installvalue 2>> /dev/null` + +rm -f /opt/userful/bin/installvalue + +if [[ "$E1" = "0" ]]; then #Accepted + eula_accepted + +elif [[ "$E1" = "1" ]]; then #Declined + eula_declined + +elif [ "$E1" = "2" ]; then # Need to run text eula + + /opt/userful/bin/MXsetup + + E2=`cat /opt/userful/bin/installvalue` + rm -f /opt/userful/bin/installvalue + + if [ "$E2" = "0" ]; then # Accept EULA + eula_accepted + + elif [ "$E2" = "1" ]; then # Decline + eula_declined + fi +elif [ "$E1" = "3" ]; then # installation was failed + uninstall_package "umx-utils" + echo "Failed to install umx-utils package." + exit 1 +fi + +########################################### +# Check old config file. userful.Mxorg.conf +########################################### +if [[ -e /etc/X11/userful.Mxorg.conf ]]; then + if [[ -n "$DIALOG" ]]; then + $DIALOG --backtitle "$BACKTITLE" --title "Checking old config file" --yesno "\nSystem already has the configuration file of Multi-X server. Do you want to delete the old configuration file?\n\nWe recommend to delete it, so that Userful Multiplier will generate a new one on the next bootup." 10 70 + DIALOG_EXIT_CODE=$? + if [[ $DIALOG_EXIT_CODE = 0 ]]; then + # press "yes" + cp -f /etc/X11/userful.Mxorg.conf /etc/X11/userful.Mxorg.conf.bak + rm -f /etc/X11/userful.Mxorg.conf + fi + else + echo "============================" + echo " Checking old config file " + echo "============================" + + echo "System already has the configuration file of Multi-X server." + echo "It is recommended to delete the old config file, so that Userful Multiplier will generate a new one on the next bootup." + echo + + INPUT="" + while [ "$INPUT" != "y" -a "$INPUT" != "n" ]; + do + echo -n "Do you want to delete the old configration file? [y/n]" + #read -n 1 INPUT + INPUT=y + done + + if [ "$INPUT" = "y" ]; then + cp -f /etc/X11/userful.Mxorg.conf /etc/X11/userful.Mxorg.conf.bak + rm -f /etc/X11/userful.Mxorg.conf + fi + echo + fi +fi + +############ +# Finalize # +############ +if [[ -n "$DIALOG" ]]; then + $DIALOG --backtitle "$BACKTITLE" --title "Installation Completed" --yesno "\nInstallation of Userful Multiplier v$DM_LOCAL_VERSION has finished.\n\nDo you want to reboot system now?" 8 70 + DIALOG_EXIT_CODE=$? + if [[ $DIALOG_EXIT_CODE = 0 ]]; then + # press "yes" + sync;sync; + reboot;reboot + fi + +else + echo "==========================" + echo " Installation completed " + echo "==========================" + + echo "Please reboot the system to enable Userful Multipler." + + INPUT="" + while [ "$INPUT" != "y" -a "$INPUT" != "n" ]; + do + #echo "Do you want to reboot system now? [y/n]" + #read -n 1 INPUT + echo "You need to reboot the system for the changes to take effect." + INPUT="n" + done + + if [ "$INPUT" = "y" ]; then + sync;sync; + reboot;reboot + fi +fi + diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/PKG_TYPE b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/PKG_TYPE new file mode 100644 index 0000000000000000000000000000000000000000..e619f9ccdd61603fe0dd8e61a580c287710b6a47 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/PKG_TYPE @@ -0,0 +1 @@ +deb diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/UNINSTALL b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/UNINSTALL new file mode 100644 index 0000000000000000000000000000000000000000..c252e04a2a9366a100253d6c4b11ac0c93fb7861 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/UNINSTALL @@ -0,0 +1,125 @@ +#!/bin/bash +# +# Uninstall script for Userful Multiplier +# +# Copyright (c) 2005-2010 Userful Corporation. All rights reserved. +# +# Jason Kim <jason@userful.com> +# + +PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin +DPKG=$(which dpkg 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null); +RPM=$(which rpm 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null); +DIALOG=$(which dialog 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null); + +# Color +RED='\E[31m' +GREEN='\E[32m' +YELLOW='\E[33m' +BLUE='\E[34m' + +BACKTITLE="Userful Multiplier provided by Userful" +TRUE=1 +FALSE=0 + +####################### +# Check root permission +####################### +if [ ! -r /proc/kmsg ]; then + if [[ -n "$DIALOG" ]]; then + $DIALOG --backtitle "$BACKTITLE" --title "Uninstalling Userful Multiplier" --msgbox "\nYou must be logged in as root to run this program." 6 70 + else + echo "---------------------------------------------------------" + echo -e "$RED\033[1mERROR\033[0m: \033[1mYou must be logged in as Root to run this program.\033[0m" + echo "---------------------------------------------------------" + echo "" + fi + exit 1 +fi + +if [[ -n "$DIALOG" ]]; then + $DIALOG --backtitle "$BACKTITLE" --title "Uninstall Userful Multiplier" --yesno "\nDo you really want to uninstall Userful Multiplier?" 7 60 + DIALOG_EXIT_CODE=$? + if [[ $DIALOG_EXIT_CODE -ne 0 ]]; then + # Press "no" + exit 0 + fi + +else + clear + echo -e $GREEN"\033[1m" + echo "=======================================" + echo " Userful Multiplier Uninstall Script" + echo "=======================================" + echo -e $GREEN"\033[0m" + + INPUT= + while [[ "$INPUT" != "y" ]] && [[ "$INPUT" != "n" ]] + do + echo + echo -en "\033[1mDo you really want to uninstall Userful Multiplier?\033[0m $RED\033[1m[y/n]\033[0m" + read -n 1 INPUT + done + if [[ "$INPUT" == "n" ]]; then + # Press "n" + exit 0 + fi + +fi + +# Check the base system +if [[ -n "$DPKG" ]]; then + BASE_SYSTEM=DEB +elif [[ -n "$RPM" ]]; then + BASE_SYSTEM=RPM +fi + + +################ +# Uninstall DM # +################ +PKG_LIST="multiuser-device-assignment multiuser-audio-fc4 multiuser-removable-storage multistation-devices-storage multistation-devices-multimedia listpci 1box-server-xorg mx11r7 umx-server umx-multimedia umx-storage libusb-v1 umx-mesa umx-tusb 1box-utils-k26 umx-utils" + +PKG_CNT=`echo $PKG_LIST | wc -w` +PKG_PROGRESS=$((100/$PKG_CNT)) +PROGRESS=0 + +echo +echo -e "$BLUE\033[1mUninstalling Userful Multiplier....\033[0m" + +if [[ -n "$DIALOG" ]]; then + + { for PKG in $PKG_LIST; + do + if [[ "$BASE_SYSTEM" == "RPM" ]]; then + $RPM -q --quiet $PKG + if [[ $? -eq 0 ]]; then + $RPM -e $PKG + fi + + elif [[ "$BASE_SYSTEM" == "DEB" ]]; then + $DPKG -r $PKG > /dev/null 2>&1 + fi + + PROGRESS=$(($PROGRESS+$PKG_PROGRESS)) + echo $PROGRESS + done + echo 100; } | $DIALOG --backtitle "$BACKTITLE" --guage "Uninstalling Userful Multiplier... " 6 70 0 + +else + for PKG in $PKG_LIST; do + if [[ "$BASE_SYSTEM" == "RPM" ]]; then + $RPM -q --quiet $PKG + if [[ $? -eq 0 ]]; then + $RPM -e $PKG + fi + + elif [[ "$BASE_SYSTEM" == "DEB" ]]; then + $DPKG -r $PKG > /dev/null 2>&1 + fi + done +fi + +echo +echo -e "$BLUE\033[1mDone....\033[0m" +echo diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/Userful-EULA.txt b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/Userful-EULA.txt new file mode 100644 index 0000000000000000000000000000000000000000..d8c5df4ec5e230d83d7548f45018d97d59fa89c9 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/Userful-EULA.txt @@ -0,0 +1,108 @@ +Userful Corporation + +End User License Agreement +=========================== + +Userful Corporation IS WILLING TO LICENSE THE SOFTWARE YOU ARE ABOUT TO USE ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS END USER LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. THIS IS A BINDING AGREEMENT BETWEEN YOU (THE "CUSTOMER") AND Userful Corporation. YOU MUST AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT IN ORDER TO USE THE SOFTWARE OR SUBSCRIBE (EITHER AS A PURCHASER OR FOR A TRIAL PERIOD) TO USERFUL SERVICES. BY PROCEEDING TO RUN THIS SOFTWARE, YOU ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY SELECTING THE "I AGREE" BUTTON AT THE BOTTOM OF THE AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE TERMS, SELECT THE "I DO NOT AGREE" BUTTON AT THE BOTTOM OF THE AGREEMENT AND THE PROGRAM WILL NOT RUN. + +1. DEFINITIONS +=============== +In this Agreement, +1.1. "Software" means the object code version of the computer software licensed by Customer under this Agreement. +1.2. "Documentation" means such manuals, documentation and any other supporting materials relating to the Licensed Software as are currently maintained by Userful and generally provided to its licensee. +1.3. "Products" means hardware, Software, documentation, accessories, supplies, parts and upgrades that are determined by Userful to be available from Userful upon receipt of Customer's order. +1.4. "Reseller" means a dealer Licensed by Userful to sell its products. +1.5. "Customer Agreement" means the agreement between the Customer and the Reseller setting out the type of License, Number of Terminals and License Fee for the service provided. +1.6. "Terminal" means any terminal (monitor combined with input devices such as keyboard, mouse, or touch screen) attached to a computer running the Software. +1.7. "License" means the Software and Support License or Evaluation License granted for the appropriate number of Terminals, License Fee and Term of Validity as set out in the accompanying Customer Agreement +1.8. "License Fee" means the fee or fees designated by Userful or the Reseller for Software and Support. Different License Fees apply depending on the type of License: number of Terminals: the duration of the License; and the nature of the support. +1.9. "Term of Validity" means the period set out in the accompanying Customer Agreement throughout which Customer may use the software either on the basis of an Evaluation License or a Software and Support License. + +2. LICENSE TERMS +================== +2.1. Software is owned and copyrighted by Userful and/or by third party suppliers. Customer's Software and Support License confers no title or ownership and is not a sale of any rights in the Software. Third party suppliers shall have the rights to protect its own proprietary rights to the Software in the event of any infringement. +2.2. Unless otherwise permitted by Userful, Customer may only make copies of the Software for archival purposes or when copying is an essential step in the authorized use of the Software on a backup device, provided that copies are used in no other manner and provided further that the use on the backup device is discontinued when the original or replacement device becomes operable. +2.3. Customer may not use more terminals than stipulated in the License, nor may the software be used if it is not within the Term of Validity of the most recent License or Support Agreement with the Customer. +2.4. Customer will not modify, disassemble or decompile the Software without Userful's prior written consent. Where Customer has other rights under statute, Customer will provide Userful with reasonably detailed information regarding any intended disassembly or decompilation. Customer will not decrypt the Software unless necessary for legitimate use of the Software. In addition Customer will take all reasonable steps to ensure that users of Userful's software in Customer's possession do none of the aforementioned. +2.5. The customer shall not: +2.5.1. Remove any product identification, copyright notices, or other notices or proprietary restrictions from the Software; +2.5.2. Disclose results of any benchmark tests of the Software to any third party without Userful's prior written approval +2.6. Userful may terminate Customer's License upon notice for failure to comply with any applicable License terms. +2.7. If Customer does not renew a license agreement with Userful by the termination date all Userful software must be immediately removed from the Customer's computers at the Customer's expense. + +3. LICENSE GRANT +================== +3.1. Subject to timely payment of the License Fee and the terms and conditions of this Agreement, Userful grants Customer a non-exclusive and non-transferable license to use the Software during the Term of Validity of the License in conformance with: +3.1.1. The terms set forth herein; +3.1.2. Use restrictions and authorizations for the Software specified in the Customer Agreement; +3.2. Many of the Software Programs included in Userful's software are distributed under the terms of agreements with Third Parties ("Third Party Agreements") that may expand or limit Customer's rights to use certain Software Programs as set forth in Section 2. Certain Software Programs may be licensed (or sublicensed) to Customer under the GNU General Public License and other similar open source license agreements ("OSLAs") which, among other rights, permit Customer to copy, modify and redistribute certain Software Programs, or portions thereof, and have access to the source code of certain Software Programs, or portions thereof. In addition, certain Software Programs, or portions thereof, may be licensed (or sublicensed) to Customer under terms stricter than those set forth in Section 2. Please visit and review www.userful.com/support/licenses for the on-line documentation that accompanies certain Software Programs, or portions thereof, for the applicable Third Party Agreements. To the extent any Third Party Agreements require that Userful provide rights to use, copy or modify a Software Program that are broader than the rights granted in Section 2, then such rights shall take precedence over the rights and restrictions granted in this Agreement solely for such Software Programs. +3.3. Unless the Customer is a Userful authorized reseller, Customer may not sublicense the Software unless otherwise agreed to by Userful in writing. + +4. LIMITED WARRANTY +===================== +4.1. Userful warrants that the Software will perform substantially in accordance with the material in the Licensed Product's Administrators Manual during the Term of Validity of the most recent License. The Support portion of the license guarantees to keep the software up-to-date and to replace the software in the event of an outage, in accordance with the timetable set out at http://www.userful.com/support/warranty +4.2. Userful's and its licensors' entire liability and Customer's exclusive remedy shall be, at Userful's option, either: +4.2.1. Return the prorated License Fees for the current period, or +4.2.2. Replacement of Software that does not meet Userful's Limited Warranty. + This Limited Warranty is void if failure of the Software has resulted from accident, abuse, or misapplications. +4.3. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, USERFUL AND ITS LICENSORS DISCLAIM ALL OTHER WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO THE SOFTWARE AND THE ACCOMPANYING ITEMS. + +5. FEES AND TAXES +===================== +5.1. All fees payable to Userful are due at the commencement of the License Period. Customer agrees to pay any sales, value-added or similar taxes imposed by applicable law that Userful must pay based on the services that Customer ordered. + +6. INDEMNIFICATION +===================== +6.1. Userful shall defend, at its sole discretion, or settle any action, claim or demand brought against Customer on the basis of infringement of any copyright, trademark, trade secret or patent (the "Intellectual property Rights") by the Software or use thereof. Userful shall pay any final judgment entered into against Customer in such action provided that Userful has the sole control of the defense and/or settlement and Customer promptly notifies in writing of such claim and provides all information known to the Customer relating thereto, and Customer cooperates with Userful in the defense and/or settlement. Should the Software become or in Userful's opinion may become the subject of infringement of any Intellectual Property Rights, Userful may, at its expense do one of the following: +6.1.1. Replace the Software or affected part with non-infringing programs; +6.1.2. Modify the Software or affected part to make it non-infringing; +6.1.3. Procure for Customer the right to use the Software; or +6.1.4. If none of the alternatives are commercially reasonable, Userful may refund the prorated License Fees received from Customer for the current Term of Validity. +6.2. Userful shall have no indemnification obligation to the extent a claim is based upon: +6.2.1. The combination, operation or use of the Software with any products or services not provided by Userful; or +6.2.2. The use of the Software in a manner not authorized by this Agreement. +6.3. THIS SECTION PROVIDES THE ENTIRE OBLIGATION OF USERFUL AND EXCLUSIVE REMEDY OF CUSTOMER WITH RESPECT TO THE INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS. + +7. Indemnification by Customer +================================== +7.1. Customer agrees that it shall fully indemnify and completely save harmless Userful and any of its directors, officers, employees, agents, representatives of and from any and all liabilities, claims, expenses, damages including reasonable legal fees and disbursements arising out of any claims or suits for damage or injury to person in connection with, directly or indirectly, in whole or in part, (i) any negligent act or omission of the Customer's employees, agents, contractors, directors, officers or any person for whom it has a legal responsibility or (ii) the failure of Customer to comply with any municipal, provincial or federal law or (iii) any act or omission which is, or can be determined to be, a breach of any term or condition of this Agreement. + +8. NON-DISCLOSURE +===================== +8.1. The Software and other proprietary information provided by Userful hereunder contain and constitute trade secrets, information and data proprietary to copyrighted by Userful. Customer shall use a reasonable degree of care to protect the confidentiality of the Software and shall not cause or permit such confidential information or data to be disclosed to third parties or duplicated except as permitted in this Agreement. Customer acknowledges and agrees that unauthorized disclosure, use or copying of the Software may cause Userful irreparable injury. Accordingly, in the event of any unauthorized disclosure, use or copying of the Software, Customer agrees that Userful shall have the right to seek injunctive or other equitable relief. Each party will not disclose or use any business and/or technical information of the other designated in writing or orally (and promptly confirmed in writing) as "Confidential" ("Confidential Information") without the prior written consent of the other party. Such restrictions do not extend to any item of information which +8.1.1. Is or becomes available in the public domain without the fault of the receiving party; +8.1.2. Is disclosed or made available to the receiving party by a third party without restriction and without breach of any relationship of confidentiality; +8.1.3. Is independently developed by the receiving party without access to the disclosing party's Confidential Information, +8.1.4. Is known to the recipient at the time of disclosure, or +8.1.5. Is produced in compliance with applicable law or court order, provided that the disclosing party is given reasonable notice of such law or order and an opportunity to attempt to preclude or limit such production. +8.2. Upon termination of this Agreement, each party shall upon request return all copies of Confidential Information received from the other party. + +9. LIMITATION OF LIABILITY +================================= +9.1. IN NO EVENT SHALL USERFUL OR ITS LICENSORS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION) ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE EVEN IF THE COMPANY OR ANY OF ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +9.2. Any action against Userful must be brought within eighteen (18) months after the cause of action arises. For purposes of this Section, "Userful" includes its directors, officers, employees, subcontractors, agents and suppliers. + +10. TERM AND TERMINATION +============================ +10.1. The Software and Support License is subject to renewal at the end of the License Period. Unless renewed under an extension of the Customer Agreement, the License to use the Software will terminate. +10.2. This Agreement may be terminated if either party fails to perform any of its duties or obligations hereunder and fails to substantially cure such default within ten (10) days after written notice is given to the defaulting party. Upon an event of default, the non-defaulting party may terminate this Agreement by providing written notice of termination to the defaulting party, reserving unto the non-defaulting party all other rights and remedies it may have under this Agreement. If Customer is in default, Userful reserves the right, in addition to all other rights and remedies it may have, to withhold further performance of its obligations under this Agreement and may repossess the Software and Documentation. +10.3. Upon termination of any license granted hereunder, Customer will promptly remove all Software from all memory locations, return all copies of the Software and Documentation to Userful, and execute and deliver to Userful a certificate stating that all copies of the Software have been removed and returned or destroyed. + +11. GENERAL +===================== +11.1. Customer may not assign any rights or obligations hereunder without prior written consent of Userful, which consent can be unreasonably withheld. +11.2. Customer who exports, re-exports or imports Userful Hardware and Licensed Software, technology or technical data purchased hereunder, assumes responsibility for complying with applicable laws and regulations and for obtaining required export and import authorizations. Userful may suspend performance if Customer is in violation of any applicable laws or regulations. +11.3. If any term or provision herein is determined to be illegal or unenforceable, the validity or enforceability of the remainder of the terms or provisions herein will remain in full force and effect +11.4. Except as specifically provided in Section 3.1.2, these Userful Software and Support License Terms supersede any previous communications, representations or agreements between the parties, whether oral or written, regarding transactions hereunder. Customer's additional or different terms and conditions will not apply. These Userful Software and Support License Terms may not be changed except by an amendment signed by an authorized representative of each party. + +12. GOVERNING LAW. +===================== +12.1. This Agreement shall be governed by and interpreted in accordance with the laws of Alberta, Canada, without reference to conflict of law principles. Customer and Userful agree to the exclusive jurisdiction of the courts located in Calgary, Alberta. + +13. PARTIAL INVALIDITY. +===================== +13.1. Both parties to this Agreement hereby acknowledge that neither of them intends to violate any public policy, statutory or common laws, rules, regulations, treaties, or decisions of any government agency or executive body of any country or community or association of countries. + +For inquiries please contact: Userful, Suite 200, 709 11th Ave S.W., Calgary, Alberta, T2R 0E3, Canada, 403-289-2177 + +Copyright (c) 2005-2010 Userful Corporation. All rights reserved. diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/libusb-v1-1.0.6-2.i386.deb b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/libusb-v1-1.0.6-2.i386.deb new file mode 100644 index 0000000000000000000000000000000000000000..b97ffdc1c0565d8711b9081a2cd36749cb0f9f4c Binary files /dev/null and b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/libusb-v1-1.0.6-2.i386.deb differ diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/listpci-0.1-1.i386.deb b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/listpci-0.1-1.i386.deb new file mode 100644 index 0000000000000000000000000000000000000000..276ed0d5ec5943f1669641d7c90c44ada6b1f195 Binary files /dev/null and b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/listpci-0.1-1.i386.deb differ diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/multimedia-supported-distros b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/multimedia-supported-distros new file mode 100644 index 0000000000000000000000000000000000000000..993946cbdd5140bb03ef93e5b0f40444d336bad2 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/multimedia-supported-distros @@ -0,0 +1,35 @@ +# +# Multistaiton Sound Supported Linux: + +# Fedora Core +FEDORA="8 10 11" + +# Novell Desktop +NOVELL="10 11" + +# SuSE +SUSE="11.0" + +# Mandrake/Mandriva +#MANDRAKE="" + +# CentOS +#CENTOS="" + +# Freedows +#FREEDOWS="" + +# Xandros +#XANDROS="" + +# Dreamlinux +#MORPHIX="" + +# Ubuntu +UBUNTU="8.04 8.10 9.04 9.10 10.04" + +# Freespire +#FREESPIRE="" + +# Debian +DEBIAN="5.0 5.0.4" diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/storage-supported-distros b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/storage-supported-distros new file mode 100644 index 0000000000000000000000000000000000000000..5a6197871739e5bf5775ce42549432840b8aa168 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/storage-supported-distros @@ -0,0 +1,35 @@ +# +# Multistaiton Sound Supported Linux: + +# Fedora +FEDORA="8 10 11" + +# Novell Desktop +NOVELL="10 11" + +# SuSE +SUSE="11.0" + +# Mandrake/Mandriva +#MANDRAKE="" + +# CentOS +#CENTOS="" + +# Freedows +#FREEDOWS="" + +# Xandros +#XANDROS="" + +# Dreamlinux +#MORPHIX="" + +# Ubuntu +UBUNTU="8.04 8.10 9.04 9.10 10.04" + +# Freespire +#FREESPIRE="" + +# Debian +DEBIAN="5.0 5.0.4" diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-mesa-7.2-3.i386.deb b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-mesa-7.2-3.i386.deb new file mode 100644 index 0000000000000000000000000000000000000000..5caf6e974e28a9c5665cd366d144ae38917f5ace Binary files /dev/null and b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-mesa-7.2-3.i386.deb differ diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-multimedia-146-20110302121135.i386.deb b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-multimedia-146-20110302121135.i386.deb new file mode 100644 index 0000000000000000000000000000000000000000..5579888224e87d0516ed70dc7c8331442d266acd Binary files /dev/null and b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-multimedia-146-20110302121135.i386.deb differ diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-server-153-201102081325.i386.deb b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-server-153-201102081325.i386.deb new file mode 100644 index 0000000000000000000000000000000000000000..f3c665afb9082cdf09d06c6247cd1de8c555a5dd Binary files /dev/null and b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-server-153-201102081325.i386.deb differ diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-storage-139-20110302121137.i386.deb b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-storage-139-20110302121137.i386.deb new file mode 100644 index 0000000000000000000000000000000000000000..cc6b5ecafc306050150df4dfca0833aa5c832b65 Binary files /dev/null and b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-storage-139-20110302121137.i386.deb differ diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-tusb-1.0-3.i386.deb b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-tusb-1.0-3.i386.deb new file mode 100644 index 0000000000000000000000000000000000000000..7b016f3db3fc34ec02b8c07a9ed4a6cdf3787af4 Binary files /dev/null and b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-tusb-1.0-3.i386.deb differ diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-utils-3918-20110302121007.i386.deb b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-utils-3918-20110302121007.i386.deb new file mode 100644 index 0000000000000000000000000000000000000000..3235390cfba4ede9e57a6fbc777986945c762805 Binary files /dev/null and b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/umx-utils-3918-20110302121007.i386.deb differ diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/userful-supported-distros b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/userful-supported-distros new file mode 100644 index 0000000000000000000000000000000000000000..184559d17a35cc01a56895a20650faaa899ec005 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/packages/userful-supported-distros @@ -0,0 +1,42 @@ +# +# Supported Linux Distributions and versions: + +# +# RPM based: +# Fedora +FEDORA="2 3 4 6 7 8 10 11" + +# Novell Desktop +NOVELL="9 10 11" + +# SuSE +SUSE="9.1 9.3 10.1 10.2 10.3 11.0" + +# Mandrake/Mandriva +MANDRAKE="2008.0" + +# CentOS +CENTOS="4 5" + +# RHEL +REDHAT="4 4WS 4Server 5 5WS 5Server" + +# Freedows +FREEDOWS="2005" + +# +# Debian based: +# Xandros +XANDROS="3.0 4.0" + +# Dreamlinux +MORPHIX="0.5-pre5" + +# Ubuntu +UBUNTU="5.04 5.10 6.06 6.10 7.04 7.10 8.04 8.10 9.04 9.10 10.04" + +# Freespire +FREESPIRE="1.0.4" + +# Debian +DEBIAN="3.1 4.0 5.0 5.0.4" diff --git a/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/uninstaller.sh b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/uninstaller.sh new file mode 100755 index 0000000000000000000000000000000000000000..a036a590596731dc430fa59c9f40060cdec5b3a6 --- /dev/null +++ b/le-multiterminal/pacote/etc/le-multiterminal/userful-multiplier/uninstaller.sh @@ -0,0 +1,159 @@ +#!/bin/bash +# +# uninstaller.sh +# +# Userful Multiplier installer +# +# Copyright (c) 2005-2010 Userful Corporation. All rights reserved. +# +# Jason Kim <jason@userful.com> + +DPKG=$(which dpkg 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null); +RPM=$(which rpm 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null); +#DIALOG=$(which dialog 2>/dev/null | sed 's|^[^/]*||' 2>/dev/null); +DIALOG="" + +## List of packages to uninstall +PKG_LIST="multiuser-device-assignment multiuser-audio-fc4 multiuser-removable-storage multistation-devices-storage multistation-devices-multimedia listpci 1box-server-xorg mx11r7 umx-server umx-multimedia umx-storage umx-mesa umx-tusb umx-utils desktop-multiplier" +PKG_CNT=13 +PKG_PROGRESS=$((100/$PKG_CNT)) +PROGRESS=0 + +## +## Find Linux TYPE +## +function check_os_info() +{ + if [ -e /etc/fedora-release ] || [ -e /etc/mandrake-release ] || \ + [ -e /etc/SuSE-release ] || [ -e /etc/redhat-release ]; then + OSTYPE="rpm" + + elif [ -e /etc/xandros-deskktop-version ] || [ -e /etc/morphix_version ] || \ + [ -e /etc/freespire-release ] || [ -e /etc/linspire-release ] || \ + [ -e /etc/debian_version ]; then + OSTYPE="deb" + + elif [ -e /etc/lsb-release ]; then + source /etc/lsb-release + OSTYPE=$(echo $DISTRIB_ID | tr "[A-Z" "[a-z]") + + # Check Linux Educacional + if [ "$OSTYPE" == "linux educacional" ]; then + OSTYPE=ubuntu + fi + + else + # Unsupported OS type + # Should exit + OSTYPE=unsupported + + fi +} + +## +## Exit from installer.sh +## +function exit_uninstaller() +{ + #read -s -p "Please enter any key to exit from \`uninstaller.sh'" + echo "" + exit 1 +} + +## +## uninstall UMx +## +function uninstall_umx() +{ + if [[ -n "$DIALOG" ]]; then + + { for PKG in $PKG_LIST; do + + if [ "$OSTYPE" == "rpm" ]; then + $RPM -q --quiet $PKG + if [[ $? -eq 0 ]]; then + $RPM -e $PKG > /dev/null 2>&1 + fi + elif [ "$OSTYPE" == "deb" ] || [ "$OSTYPE" == "ubuntu" ]; then + $DPKG -r $PKG > /dev/null 2>&1 + fi + + PROGRESS=$(($PROGRESS+$PKG_PROGRESS)) + echo $PROGRESS + done + echo 100; } | $DIALOG --backtitle "$BACKTITLE" --guage "Uninstalling Userful Multiplier... " 6 70 0 + + else + echo -e "Uninstalling packages...." + for PKG in $PKG_LIST; do + + if [ "$OSTYPE" == "rpm" ]; then + $RPM -q --quiet $PKG + if [[ $? -eq 0 ]]; then + $RPM -e $PKG > /dev/null 2>&1 + fi + + elif [ "$OSTYPE" == "deb" ] || [ "$OSTYPE" == "ubuntu" ]; then + $DPKG -r $PKG > /dev/null 2>&1 + fi + PROGRESS=$(($PROGRESS+$PKG_PROGRESS)) + echo -n "$PROGRESS% " + done + echo -n "100%" + fi + + echo; echo + #read -s -p "Done... Please enter any key to exit from \`uninstaller.sh" + +} + +#------------------- +# Script start here +#------------------- + +## +## Check root +if [ ! -r /proc/kmsg ]; then + echo + echo "You must be root to uninstall Userful Multiplier" + echo + echo "To change root user in a terminal, type \`su -' command." + echo "If you uninstall Userful Multiplier in graphical mode, please log on as root." + echo + #exit_uninstaller +fi + +if [ ! -e /opt/userful/bin/MXsetup ]; then + echo + echo "Userful Multiplier is not installed on your system." + echo + exit_uninstaller +fi + +## +## Find Linux type. +if [ -e ./new-distro.conf ]; then + source ./new-distro.conf + + if [ x"$PACKAGE_TYPE" != x ]; then + OSTYPE=$PACKAGE_TYPE + fi +else + check_os_info +fi + +echo + +## Uninstall packages based on the OS Type +if [ "$OSTYPE" == "rpm" ] || [ "$OSTYPE" == "deb" ] || [ "$OSTYPE" == "ubuntu" ]; then + + uninstall_umx + echo "" +else + # Shouldn't reach here + # Unsupported OS type + echo "Unsupported Linux system." + echo "UMx uninstaller.sh" + exit_uninstaller +fi +