Aaron Brandt
Aaron Brandt

Reputation: 17

Bash Script oddity

What in this code would give this, It is not really an error of sorts but it is driving me crazy...

#!/bin/bash 
# This script opens 4 terminal windows.
i="0"

while [ $i -lt 4 ]
do
xterm &
i=$[$i+1]


done
exit 0

This is what I get when I run this..

Ghost abrandt $ ./My4Terminals 
Ghost abrandt $ Warning: Tried to connect to session manager, None of the authentication protocols specified are supported
Warning: Tried to connect to session manager, None of the authentication protocols specified are supported
Warning: Warning: Tried to connect to session manager, None of the authentication protocols specified are supported
Tried to connect to session manager, None of the authentication protocols specified are supported

Ghost abrandt $

Upvotes: 0

Views: 473

Answers (1)

Aaron Brandt
Aaron Brandt

Reputation: 17

I figured it out, I just need to unset the option for the session manager:

 $ unset SESSION_MANAGER 

Works like a charm now...

Upvotes: 1

Related Questions