[HOW TO] set default program in Ubuntu?

In this article I will show you how to set default program in Ubuntu?

1. Go as below:
$sudo vi /usr/share/applications/default.list

2. Then you change as you want.
Example you must be changed the OpenOffice is default:

Original file:

[Default Applications]
application/csv=wps-office-wps.desktop
application/excel=wps-office-wps.desktop

application/ogg=rhythmbox.desktop
application/oxps=evince.desktop
application/pdf=evince.desktop
application/postscript=evince.desktop
application/tab-separated-values=libreoffice-calc.desktop
application/vnd.lotus-1-2-3=libreoffice-calc.desktop
application/vnd.ms-xpsdocument=evince.desktop
application/vnd.rn-realmedia=totem.desktop
application/vnd.sun.xml.base=libreoffice-base.desktop
application/vnd.sun.xml.calc=libreoffice-calc.desktop
application/vnd.sun.xml.calc.template=libreoffice-calc.desktop
application/vnd.sun.xml.draw=libreoffice-draw.desktop
application/vnd.sun.xml.draw.template=libreoffice-draw.desktop
application/vnd.sun.xml.math=libreoffice-math.desktop
application/vnd.sun.xml.writer=libreoffice-writer.desktop
application/vnd.sun.xml.writer.template=libreoffice-writer.desktop
application/vnd.sun.xml.writer.global=libreoffice-writer.desktop
application/vnd.oasis.opendocument.database=libreoffice-base.desktop
application/vnd.oasis.opendocument.formula=libreoffice-math.desktop
application/vnd.oasis.opendocument.graphics=libreoffice-draw.desktop
application/vnd.oasis.opendocument.graphics-template=libreoffice-draw.desktop


Now you change follow:
[Default Applications]
application/csv=libreoffice-calc.desktop
application/excel=libreoffice-calc.desktop

application/ogg=rhythmbox.desktop
application/oxps=evince.desktop
application/pdf=evince.desktop
application/postscript=evince.desktop
application/tab-separated-values=libreoffice-calc.desktop
application/vnd.lotus-1-2-3=libreoffice-calc.desktop
application/vnd.ms-xpsdocument=evince.desktop
application/vnd.rn-realmedia=totem.desktop
application/vnd.sun.xml.base=libreoffice-base.desktop
application/vnd.sun.xml.calc=libreoffice-calc.desktop
application/vnd.sun.xml.calc.template=libreoffice-calc.desktop
application/vnd.sun.xml.draw=libreoffice-draw.desktop
application/vnd.sun.xml.draw.template=libreoffice-draw.desktop
application/vnd.sun.xml.math=libreoffice-math.desktop
application/vnd.sun.xml.writer=libreoffice-writer.desktop
application/vnd.sun.xml.writer.template=libreoffice-writer.desktop
application/vnd.sun.xml.writer.global=libreoffice-writer.desktop
application/vnd.oasis.opendocument.database=libreoffice-base.desktop
application/vnd.oasis.opendocument.formula=libreoffice-math.desktop
application/vnd.oasis.opendocument.graphics=libreoffice-draw.desktop
application/vnd.oasis.opendocument.graphics-template=libreoffice-draw.desktop




[HOW TO] fix Error were found while checking the disk drive for /.

In my company, we use the Linux as primary OS.

Sometimes user get the problem and they do not know what's happen?

Here I show the example.

Tomorrow user start the computer and get the error:
Error were found while checking the disk drive for /.
Press F to attempt to fix the errors, I to ignore, S to skip mounting, or M for manual recovery.

How to fix?

$sudo vi /boot/grub/grub.cfg

Now find the line similar to change: ro rootflags=sync to rw rootflags=sync

linux /boot/vmlinuz-3.13.0-24-generic root=UUID=[bunch-of-numbers] loop=/ubuntu/disks/root.disk ro rootflags=sync quiet splash

Save and reboot.

 
 
 

[HOW TO] solving .dmrc and $HOME permission error

Hello Everybody,

The last week, co-worker told me that her PC can not logging. It got the pop-up at screen logging:

User's $HOME/.dmrc file is being ignored. THis prevents the default session and language from being saved. File should be owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writeable by other users.

1. What is the .dmrc file?
The .dmrc is an intialization file which the system checks during session logon. Specifically, gnome checks the file for any specific language or session information it has not located elsewhere. While often the file is blank exceept for the basic header data, it may contain a specific language to use at session startup. Below is an example. The plain text is the default entry, the bold text is what would be added to begin the session with a specific language.

2. What does it mean?
The system detected an error in the ownership and/or permissions of the $HOME folder or the .dmrc file. You will still be able to gain access to your user account and have administrative (sudo) rights if you are in the admin group.

3. How to fix?

a .dmrc file should be owned by user.
$sudo chown username /home/username/.dmrc

b. set 644 permission
$sudo chmod 644 /home/username/.dmrc

noted: when this command is run that you may get a message "unable to access /home/user/.gvfs This is not a problem and references the .gvfs is a virtual file system.
umount /home/username/.gvfs
rm -r /home/username/.gvfs

c.
$sudo chown username /home/username

d. And must not be writable by other:
$sudo chmod 755 /home/username



[HOW TO] use cron on Synology NAS

Morning Guys,

Today I show you how to set the cron on Synology NAS.
Basically Synology OS have core OS is unix. Thus it's the same about core service - I think so.

Unlike Linux based system, you do not use "crontab -e/ -l on the Synology NAS.

You must go as below:

$sudo -i

$nano /etc/crontab

Here you can edit the cron

$synoservice -restart crond

To restart the cron

Also you can run the task under the username myuser as below:


#min    hour            mday    month   wday    who     command
30      0,6,12,18       *       *       *       root    /bin/su -c "/var/services/homes/myuser/apps/flexget.sh" myuser
 
Thank you, 
 
 Reference: http://www.multigesture.net/articles/how-to-use-cron-on-a-synology-nas/ 

[HOW TO] install Citrix Reciver in Ubuntu?

Morning,

Do you know citrix receiver (ica client)?

In this article, I show you how to install the citrix receiver in Ubuntu?

Firstly you come Citrix official to download the version x64 for Ubuntu 64-bit or x86 for Ubuntu 32-bit.

Here I use the icaclient_13.0.0.256735_amd64.deb. Dpkg command will help you install as below:

ho-pc-nvhviet tmp # dpkg -i icaclient_13.0.0.256735_amd64.deb
(Reading database ... 177430 files and directories currently installed.)
Preparing to unpack icaclient_13.0.0.256735_amd64.deb ...
Unpacking icaclient (13.0.0.256735) over (13.0.0.256735) ...
dpkg: dependency problems prevent configuration of icaclient:
 icaclient depends on libc6-i386 (>= 2.7-1); however:
  Package libc6-i386 is not installed.
 icaclient depends on lib32z1; however:
  Package lib32z1 is not installed.
 icaclient depends on nspluginwrapper; however:
  Package nspluginwrapper is not installed.

dpkg: error processing package icaclient (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Errors were encountered while processing:
 icaclient


What the fuck? oh it alerts it can not get the dependencies. You must go to the internet to download them. My company has Cyberoam as firewall. Thus I must authenticate.

Done! now try it.

I use the apt-get -f install to automatically download miss dependencies.

ho-pc-nvhviet tmp # apt-get -f install
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  lib32z1 libc6-i386 nspluginviewer:i386 nspluginwrapper
The following NEW packages will be installed:
  lib32z1 libc6-i386 nspluginviewer:i386 nspluginwrapper
0 upgraded, 4 newly installed, 0 to remove and 42 not upgraded.
1 not fully installed or removed.
Need to get 2.465 kB of archives.
After this operation, 10,6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-i386 amd64 2.19-0ubuntu6.3 [2.205 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main lib32z1 amd64 1:1.2.8.dfsg-1ubuntu1 [57,5 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/multiverse nspluginviewer i386 1.4.4-0ubuntu5 [86,3 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/multiverse nspluginwrapper amd64 1.4.4-0ubuntu5 [115 kB]
Fetched 2.465 kB in 4s (566 kB/s)       
Selecting previously unselected package libc6-i386.
(Reading database ... 177430 files and directories currently installed.)
Preparing to unpack .../libc6-i386_2.19-0ubuntu6.3_amd64.deb ...
Unpacking libc6-i386 (2.19-0ubuntu6.3) ...
Replaced by files in installed package libc6:i386 (2.19-0ubuntu6.3) ...
Selecting previously unselected package lib32z1.
Preparing to unpack .../lib32z1_1%3a1.2.8.dfsg-1ubuntu1_amd64.deb ...
Unpacking lib32z1 (1:1.2.8.dfsg-1ubuntu1) ...
Selecting previously unselected package nspluginviewer.
Preparing to unpack .../nspluginviewer_1.4.4-0ubuntu5_i386.deb ...
Unpacking nspluginviewer (1.4.4-0ubuntu5) ...
Selecting previously unselected package nspluginwrapper.
Preparing to unpack .../nspluginwrapper_1.4.4-0ubuntu5_amd64.deb ...
Unpacking nspluginwrapper (1.4.4-0ubuntu5) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libc6-i386 (2.19-0ubuntu6.3) ...
Setting up lib32z1 (1:1.2.8.dfsg-1ubuntu1) ...
Setting up nspluginviewer (1.4.4-0ubuntu5) ...
Setting up nspluginwrapper (1.4.4-0ubuntu5) ...
plugin dirs:
Auto-update plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
Auto-update plugins from /usr/lib/firefox/plugins
Looking for plugins in /usr/lib/firefox/plugins
Auto-update plugins from /root/.mozilla/plugins
Looking for plugins in /root/.mozilla/plugins
Setting up icaclient (13.0.0.256735) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...


It's ok. The dependencies already installed.

Again I try to install icaclient_13.0.0.256735_amd64.deb 

ho-pc-nvhviet tmp # dpkg -i icaclient_13.0.0.256735_amd64.deb
(Reading database ... 177770 files and directories currently installed.)
Preparing to unpack icaclient_13.0.0.256735_amd64.deb ...
Unpacking icaclient (13.0.0.256735) over (13.0.0.256735) ...
Setting up icaclient (13.0.0.256735) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...


Successfully!
Nice day :)


[HOW TO] PostgresSQL add/create/delete user account and grant permission

Hello,

In the afternoon I have configured the Postgres database for one developer. After finished, I think I should write a little article about Postgres installtion.

Let's start!

1. Install the postgres
 t13n@ho-pc-pttien:~$ sudo apt-get install postgresql postgresql-contrib

With that, postgres will be installed on your PC

2. Check the authentication way
 t13n@ho-pc-pttien:~$ sudo vi /etc/postgresql/9.1/main/pg_hba.conf

This is  PostgreSQL Client Authentication Configuration File.

METHOD can be "trust", "reject", "md5", "password", "gss", "sspi",
# "krb5", "ident", "peer", "pam", "ldap", "radius" or "cert".  Note that
# "password" sends passwords in clear text; "md5" is preferred since
# it sends encrypted passwords.


Come to line below and change from peer to trust
# Database administrative login by Unix domain socket
local   all             postgres                                trust


Restart the Postgres
 t13n@ho-pc-pttien:~$ sudo /etc/init.d/postgresql restart

When you do it, you allow postgres user can login without password. It's risk :) but you can improve laster. I think the first you must understand it before attack it.


 3. Login with postgres user
 t13n@ho-pc-pttien:~$psql -U postgres

4. Create a new user
postgres=# CREATE USER thminh_1 with password '0********';
CREATE ROLE

5. Update the password for user
postgres=# ALTER USER postgres with password '0123456789';
ALTER ROLE


6. Delete the user
postgres=# DROP USER thminh_1

7. Set the user to be a superuser
postgres=# ALTER USER thminh_1 WITH SUPERUSER;
ALTER ROLE


8. Connect to database server
Type the following command

$psql temp01

or

$psql -d temp01 -U postgres

9. Create database
temp01#CREATE DATABASE hello;

10. Grant the privileges on database
temp01#GRANT ALL PRIVILEGES ON DATABASE hello to your_user

11. \q to quit
temp01#\q

12. Test your_user login

$su - your_user
$psql -d hello -U your_user






[HOW TO] configure the log file of cron job in SuseSLES

Hello,

Yesterday I have configured the log file to crontab on SuseSLES 11SP3. In SuseSLES, if you don't enable crotanb log in /etc/syslog-ng/syslog-ng.conf then syslog-ng don't write.


Here I show you the step by step:


1. Go to /etc/syslog-ng, vi syslog-ng.conf and uncomment the line: #cron.*

2. Restart the cron service
#sudo /etc/init.d/syslog restart
3. Restart cron service
#sudo /etc/init.d/cron

You can go go /var/log/ to view the log file of cron.log




[HOW TO] delete files older than x days

Sometimes in Linux, you want to clear older file than x day in a directory.

In this article, I show you how to create a script and set crontab in this case.

Step 1: Script

#!/bin/bash
find /tmp/* -mtime +5 -exec rm {} \;

find: the command will search for the files/folders
/tmp/*: the direcroty to start searching
-mtime +5 files older than 5 days.
-exec: what to do with the files we found.
rm remove them
{} this represents each file we found.
\; the end of the exec.


#!/bin/bash
find /tmp/orion/* -mmin +1 -exec rm -rf {} \;

find: the command will search for the files/folders
/tmp/orion/*: the direcroty to start searching
-mmin +1 files older than 1 minute.
-exec: what to do with the files we found.
rm -rf remove them recursively, force.
{} this represents each file we found.
\; the end of the exec.


#!/bin/bash
find /tmp/orion/* -type f -mmin +1 -exec rm -rf {} \;

find: the command will search for the files/folders
/tmp/orion/*: the direcroty to start searching
-type f: don't remove directories, only files.
-mmin +1 files older than 1 minute.
-exec: what to do with the files we found.
rm -rf remove them recursively, force.
{} this represents each file we found.
\; the end of the exec.

#!/bin/bash
find /tmp/orion/* -name "*.log" -type f -mmin +1 -exec rm -rf {} \;

find: the command will search for the files/folders
/tmp/orion/*: the direcroty to start searching
-name find name
-type f: don't remove directories, only files.
-mmin +1 files older than 1 minute.
-exec: what to do with the files we found.
rm -rf remove them recursively, force.
{} this represents each file we found.
\; the end of the exec.

Step 2: Set Crontab

Firstly, we need to know the structure of Crontab as below:

*     *     *     *     *     command to be executed
-     -     -     -     -
|     |     |     |     |
|     |     |     |     +----- day of week (0 - 6) (Sunday=0)
|     |     |     +------- month (1 - 12)
|     |     +--------- day of month (1 - 31)
|     +----------- hour (0 - 23)
+------------- min (0 - 59)

with * tasks to run with all values ​​in that column

Ok, let it go.

You can create the crontab:


0 2 * * * /bin/find /path/to/files/ -type f -mtime +5 -exec rm {} \;

This will run rvery night at 2:00 AM.

Also:


0 2 * * * sh /path/del.sh 

Done,

Thank you. Now I'm going to sleep :)
See you soon,




Thank you for reading this article, please a comment if you are interested.
Tiến Phan - R0039
Knowledge is Endless
Sharing for Success

Anniversary

Hello Sunday :)

* pageviews - 89 posts, last published on Apr 18, 2014

That's day I wrote the first post on a personal blog about technology.

Enough for me to see the difference, met a few people, new ones. There is fun, there is something I really like, there is one love 

I like this blog. I will continue to post here. Writing is a way of maturing, sharing.

All is well 


[HOW TO] Pictures do not display as thumbnail preview

In Windows 7, I can't get pictures to show as thumbnail previews. I've tried three different methods suggested on this site. Why is this so difficult?


The three methods I've tried are as follows:

1. Open the folder in Windows Explorer and click the down arrow next to Views at the top. ChooseMedium icons and see if the thumbnails start working again.

2. If not, click on Organize, then Folder and Search Options. Click the View tab. Make sure that "Always show icons, never thumbnails" does not have a check mark next to it.
3. Open Control Panel. (Classic View). Click on the System icon. Click on the advanced system settings link. Under Performance, click on the Settings button. In the Visual Effects tab, Check "Show thumbnails instead of icons.”
Also
It should fix the problem. If you can't access Folder Options, you can use following alternative method:1. Type sysdm.cpl in RUN or Start Menu search box and press Enter. It'll open System Properties.2. Go to "Advanced" tab and click on "Settings" button in "Performance" section.3. Now make sure "Show thumbnails instead of icons" option is enabled.

Thank you for reading this article, please a comment if you are interested.
Tiến Phan - R0039
Knowledge is Endless
Sharing for Success

[WHAT] is RandR?

Tonight, I have a little think about XUBUNTU. I'm googling about this.


Link and link, keyword and keyword and ... I have seen RandR. Ok, it aslo need for me to update the information about technology.

I need to notice into here. I don't want missing it :D


RandR is a communications protocol written as an extension to the X11[2] and Wayland[3] protocols for display servers. Both, XRandR and WRandR facilitate the ability to resize, rotate and reflect the root window of a screen.

A user can typically use applications with a graphical front-end provided by the desktop environment to control RandR, but the additional command line tools xrandr and weston-wrandr exist.


From Wikipedia, the free encyclopedia 






Thank you for reading this article, please a comment if you are interested.
Tiến Phan - R0039
Knowledge is Endless
Sharing for Success

[HOW TO] install MySQL Workbench in Linux



In the morning,

Developer told me: please help him install MySQL Workbench.

Ok, one question, what is a MySQL Workbench?

MySQL Workbench is a unified visual tool for database architects, developers, and DBAs. MySQL Workbench provides data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more. MySQL Workbench is available on Windows, Linux and Mac OS X.

As above, do you understand? I think you understand because you googled to know me :D

We start,

$apt-get install mysql-worjbench

It is also possible to download the MySQL Workbench source code as a tar.gz pr RPM package.

Additionally you also install DEB package

$dpkg -i package.deb

Installing RPM package

$rpm -i package.rpm

Finally, you come here to download http://dev.mysql.com/downloads/tools/workbench/

Me: developer, are you OK?

Developer: it's running good. Thank bro :)
Me: no problem. U're welcome :)




Thank you for reading this article, please a comment if you are interested.
Tiến Phan - R0039
Knowledge is Endless
Sharing for Success





[HOW TO] change password Postgres

Hello Dude,

Today is the last of working day. I'm here with two monitor and one PC. Working as everyday.

Developer told me about postgre database. He could not connect to Postgres from PhpPgAdmin because don't know password's Postgres.

Ok, I like it. Yesterday, I just worked with Postgress installation.

Now, what's next step?

1. Check Postgres status as below:
~ # service postgresql status
9.1/main (port 5432): online

2. Check process running
# ps -ef | grep 'postgres'

root      4496  3831  0 08:44 pts/0    00:00:00 sudo su postgres
root      4497  4496  0 08:44 pts/0    00:00:00 su postgres
postgres  4506  4497  0 08:44 pts/0    00:00:00 bash
postgres  5252     1  0 08:54 ?        00:00:00 /usr/lib/postgresql/9.1/bin/postgres -D /var/lib/postgresql/9.1/main -c config_file=/etc/postgresql/9.1/main/postgresql.conf
postgres  5254  5252  0 08:54 ?        00:00:00 postgres: writer process                                                                                                  
postgres  5255  5252  0 08:54 ?        00:00:00 postgres: wal writer process                                                                                              
postgres  5256  5252  0 08:54 ?        00:00:00 postgres: autovacuum launcher process                                                                                      
postgres  5257  5252  0 08:54 ?        00:00:00 postgres: stats collector process                                                                                          
root     11805  4211  0 09:05 pts/2    00:00:00 grep --colour=auto postgres

3. 
# cd /var/lib/postgresql/9.1/main/

4. You must switch to postgres account.
# su postgres

5. Here, we start to change the password. You must remember it :)
postgres@~/9.1/main $ psql
psql (9.1.9)
Type "help" for help.

postgres=# alter user postgres with password '12345!fra';
ALTER ROLE
postgres=# 

We are done!

See you soon! I come back with some funny :)




Thank you for reading this article, please a comment if you are interested.
Tiến Phan - R0039
Knowledge is Endless
Sharing for Success

[HOW TO] fix Bacula Windows Client and error 1067



This article details how to fix the error:


Windows could not start the bacula File Service service on Local Computer. Error 1067: The process terminated unexpectedly

This error appears when you tried start the Bacula Service on Windows Services. I googled about this but don't result. Nobody show how to fix this error.

Gruzzz!

Luckily, I found the solution to fix it. Now Bacula Service is running stability.

You must change as below, please follow the highlight text

In bacula-fd.conf on client.

FileDaemon {                            # this is me
  Name = cth-srv-ocr-01-fd
  FDport = 9102                # where we listen for the director
  WorkingDirectory = "C:/Program Files/Bacula/working"
  Pid Directory = "C:/Program Files/Bacula/working"
# Plugin Directory = "C:/Program Files/Bacula/plugins"
  Maximum Concurrent Jobs = 10
}


In bacula-dir.conf on server

    File = C:/apache-tomcat-7.0.32/
    File = C:/ocr4-fd.conf
    File = "C:/Program Files/Bacula'"
    File = "C:/Program Files (x86)/Apache Software Foundation"

[HOW TO] fix ALT + PrintScreen doesn't work properly.

Hello Dude,

"ALT + PrintScreen" doesn't work properly in Ubuntu/Xubuntu/Lubuntu/Kubuntu. When you tried to use the PrintScreen keyboard to capture an image. What's happen?

It's bug in Ubuntu. In this article, I will show you how to fix:

You open a terminal windows and type the command as below:

cremia@Tbilixi:~$ sudo sysctl -w kernel.sysrq=0[sudo] password for cremia: kernel.sysrq = 0cremia@Tbilixi:~$ xfconf-query -c xfce4-keyboard-shortcuts -r -p "/commands/custom/<Alt>Print" cremia@Tbilixi:~$ xfconf-query -c xfce4-keyboard-shortcuts -n -p "/commands/custom/Sys_Req" -t string -s "xfce4-screenshooter -w"cremia@Tbilixi:~$ 

Now you can use ALT + PrintScreen to capture an image.




Thank you for reading this article, please a comment if you are interested.
Tiến Phan - R0039
Knowledge is Endless
Sharing for Success

[HOW TO] install and configure additional language in SUSE Linux.

Morning Guys,

In this article, I will show you how to configure additional language in SUSE Linux.

Additional language already installed in SUSE Linux. Thus you can only enable it as command below:

vi /etc/X11/xorg.conf.d/90-keytable.conf

Content:

Section "InputClass"
        Identifier "LocalKeyboard"
        MatchIsKeyboard "on"
        Option  "XkbLayout"     "us,gb,de,ru"
        Option "XKbOptions" "grp:ctrl_shift_toggle"
EndSection




Thank you for reading this article, please a comment if you are interested.
Tiến Phan - R0039
Knowledge is Endless
Sharing for Success

[WHAT] What's the difference between Citrix Presentation Server 4.5 & Citrix XenApp 5.0

Today, I have a problem with the ICA file. Customer changed them system and they (production) don't know what the system is running!

They told me: you use the Citrix Online Plugin to run. But they don't true, it can not run.

Finally, I use the Citrix XenApp to run the ICA file. Amzing! it's running.

The customer is not always right.

Q. What's the difference between Citrix Presentation Server 4.5 & Citrix XenApp 5.0?

A: Citrix’s Presentation Server 4.5 got a name change with version 5.0, to XenApp.  Both Citrix Presentation Server 4.5 and XenApp 5.0 are for 32 bit applications only, meaning none of your current 64 bit applications will work on either these two platforms.
Almost every feature available in Citrix XenApp 5.0 is available to customers of Citrix Presentation Server 4.5 with active Subscription Advantage.  There are roughly eleven feature differences between the two software versions which I will detail, but the majority of the differences impacting companies today revolve around support.
One major difference between these two product versions today revolve around the supported Microsoft Windows Server OS they work with.  Citrix Presentation Server 4.5 is only supported on Microsoft Windows Server 2003 (which reached End of Support July 31, 2010 and reaches End of Life July, 2015).  Citrix XenApp 5.0 is supported on Microsoft Windows Server 2008 (Currently scheduled to reach End of Support January, 2015).
The single major difference between Citrix Presentation Server 4.5 and Citrix XenApp 5.0 today is that Citrix Presentation Server 4.5 went End of Maintenance (EOM) September 12, 2012 and went formally End of Life (EOL) March 31, 2013.  Citrix customers with 32bit only applications have to move to Citrix XenApp 5.0 for Microsoft Windows Server 2008 to maintain a supported version of the product.  Citrix XenApp 5.0 for Microsoft Windows Server 2003 went End of Life the same day Citrix Presentation Server 4.5 did, March 31, 2013.
Below is the full grid detailing Citrix XenApp versions and End of Support/End of Life dates.

Product/
Component Name
Version/
Model
Language
NSC*
EOS*
EOM*
EOL*
EOES**
Presentation Server for Unix
4.0
EN
TBA
N/A
TBA
TBA
N/A
Presentation Server for Windows Server 2003 (including R2)
4.5
EN, DE, FR, ES, JA
28-Aug-09
CTX122442
N/A
30-Sep-12
31-Mar-13
14-Jul-15
Presentation Server for Windows Server 2003 (including R2)
4.5 FP1
EN, DE, FR, ES, JA
28-Aug-09
CTX122442
N/A
30-Sep-12
31-Mar-13
14-Jul-15
XenApp for Windows Server 2003 (including R2)
5 and FP
EN, DE, FR, ES, JA
28-Aug-09
CTX122442
N/A
30-Sep-12
31-Mar-13
14-Jul-15
XenApp for Windows Server 2008
5 and FP
EN, DE, FR, ES, JA
26-Oct-12
CTX122442
N/A
13-Jul-14
13-Jan-15
14-Jan-20
XenApp for Windows Server 2008R2
6.0
EN, DE, FR, ES, JA
26-Oct-12
CTX122442
N/A
13-Jul-14
13-Jan-15
14-Jan-20
XenApp for Windows Server 2008R2
6.5
EN, DE, FR, ES, JA
26-Jun-13
CTX122442
N/A
24-Feb-16
24-Aug-16
14-Jan-20
*Lifecycle Milestones: NSC (Notice of Status Change), EOS (End of Sales), EOM (End of Maintenance), EOL (End of Life). **EOES (End of Extended Support).

Feature differences between Citrix Presentation Server 4.5 and Citrix XenApp 5.0.

  • HDX Plug-n-Play Special folder redirection: Available in XenApp 5.0 (for Windows Server 2008 only) and later editions only.
What it is: This feature enables special folders (i.e. My Documents and Desktop folders) to map to a hosted application session automatically.  This features helps make the Citrix XenApp session more like the traditional PC experience by including this functionality back to the end users.

  • Inclusion and exclusion rules:  Available in XenApp 5.0 and later editions only.
What it is: This feature enables administrators to limit the inclusion of specific files and folders or exclude unnecessary ones.  This features allows Citrix Administrators to manage and minimize the amount of data stored in the profile which improves performance, decreases network overhead and reduces logon times.

  • Extended Synchronization: Available in XenApp 5.0 and later editions only.
What it is: Allows IT to synchronize files and folders for the applications that are not storing user-related content in the user profile but instead somewhere on the device hard disk.

  • Folder redirection: Available in XenApp 5.0 (for Windows Server 2008 only) and later editions only.
What it is: Enables the users My Documents folder to be mapped to a central file store, maintaining the files in the data center and off of the local PC.

  • HTTP/S for Streaming: Available in XenApp 5.0 and later editions only.
What it is: Stream applications to servers and user devices via HTTP/S protocol. Port 443 is almost always open to allow for secure traffic.  Utilizing the HTTP/S feature allows for secure deliver of content, and a simplified path through the firewall via a port that is likely already open to deliver content to PC’s.

  • RADIUS support for Web interface: Available in XenApp 5.0 and later editions only.
What it is: Enables the Citrix Web Interface server to support 3rd party 2-factor authentication products that support the generic RADIUS protocol.

  • Kerberos authentication: Available in XenApp 5.0 and later editions only.
What it is: Kerberos simplifies user authentication and reduces logon points while ensuring logon chain integrity when users are accessing applications through the Web Interface server.

  • Clean image reboot: Available in XenApp 5.0 and later editions only.
What it is: Reboot a provisioned server to obtain a clean image in the event of OS corruption or failure.  If you are not familiar with Citrix’s Provisioning Server, Provisioning Services allows you to create a single gold image, or more if necessary, and boot all of your XenApp servers off of that image to keep them 100% consistent and eliminate managing a separate disk image for each XenApp server.

  • Preferential load balancing: Available in XenApp 5.0 (for Windows Server 2008 only) and later editions only.
What it is: Enables administrators to prioritize a user/group and application based on pre-established requirements. Ensures sessions are appropriately balanced to provide enhanced user experience.

  • XenServer Server Virtualization Platform: Available in XenApp 5.0 and later editions only.
What it is: Bare-metal hypervisor (similar to VMware or Microsoft’s Hyper-V) that enables virtualization of all components of Citrix XenApp as well as any other servers in your data center. Includes functions such as live migration of virtual workloads from one physical server to another without interrupting user operation.

  • Profile data capture: Available in XenApp 5.0 and later editions only.
What it is: Auto-detects and stores modified profile settings in the registry and file system and captures any modifications within the profile, preventing unintentional overwriting of user profiles using built-in logic to determine what data should be kept.






Thank you for reading this article, please a comment if you are interested.
Tiến Phan - R0039
Knowledge is Endless
Sharing for Success