Adding color to command prompt may cause terminal application launches to fail within Secure Global Desktop (Doc ID 1324457.1)

Last updated on MARCH 31, 2016

Applies to:

Oracle Secure Global Desktop - Version 4.5 to 5.2 [Release 4.0 to 5.0]
Information in this document applies to any platform.

Symptoms

X11 Applications configured to launch within Secure Global Desktop (SGD) may experience long delays (or fail entirely) if a color escape code is defined within the running shell's environment variable, $PS1.

Color prompts may be have been defined within an end user's .profile, .bash_profile, or .bashrc, and look like the following:

export PS1="\[\e[1;34m\$ \[\e[0m"


The escape characters in these prompts may confuse the stock SGD scripts, and cause the PS1 string to display literally instead of the intended prompt.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms