Why is that if the user's shell isn't defined to be /bin/bash but a custom bin/bash type script instead the graphical interface's desktop part will load slower or over vnc it won't load at all just constantly using a lot of CPU. The top panel is functioning and applications will still work.I changed the users shell so that I can force to users what they will get when they log in via ssh: not to enter into shell but start a cli application. I think this is safer than invoking the application from a bashrc for example - I don't mind if you prove me wrong.There is a case when they should be able to log in through vnc/xrdp with graphical interface. Because of this in the shell script I check if $DISPLAY is not empty then run /bin/bash $1 $2 and exit from that script otherwise I make them enter into that cli application.The shell script:#!/bin/bashif [[ -z $DISPLAY ]]then    echo Channel $DISPLAY    /bin/bash    exitfi/path/to/applicationI'm using Centos 6.4.
Why does the Gnome desktop (nautilus) and the user's shell script conflict?
shell;nautilus