[GE users] setting xterm

olesen Mark.Olesen at faurecia.com
Wed Apr 7 08:47:50 BST 2010

On Wed, 2010-04-07 at 07:50 +0300, mlmersel wrote:
> Yes exactly. To give them the X terminal that they want.

Have you tried just using a simple wrapper?

eg, in the gridengine config

    xterm   /our/path/xterm-wrapper

And inside of 'xterm-wrapper' something like this:



if [ -r $HOME/.sgeXterm ]
    read userXterm < $HOME/.sgeXterm
    ## or:
    # userXterm=`sed -ne '1s/^[ \t]*\([^ \t]*\).*
$/\1/p' .$HOME/.sgeXterm`

    [ -x "$userXterm" ] && xterm=$userXterm

exec $xterm $@

# end-of-file

This electronic transmission (and any attachments thereto) is intended solely for the use of the addressee(s). It may contain confidential or legally privileged information. If you are not the intended recipient of this message, you must delete it immediately and notify the sender. Any unauthorized use or disclosure of this message is strictly prohibited. Faurecia does not guarantee the integrity of this transmission and shall therefore never be liable if the message is altered or falsified nor for any virus, interception or damage to your system.


To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

More information about the gridengine-users mailing list