Commit 02d2c48c authored by Lior Spach's avatar Lior Spach

le-italc-config: Refs #1372 Fix: Display getting error

Signed-off-by: Lior Spach's avatarLior Spach <ls12@inf.ufpr.br>
parent e4ece9bc
......@@ -123,7 +123,7 @@ generate_script_multiterminal () {
echo " return 0" >> $g_file
echo "fi" >> $g_file
echo "PORT=\"\$(( 11000 + \$(echo \$DISPLAY | awk -F \":\" '{print \$NF}') ))\"" >> $g_file
echo "PORT=\"\$(( 11000 + \$(echo \$DISPLAY | cut -b 2) ))\"" >> $g_file
echo "if [ -n \"\$PORT\" ]; then" >> $g_file
echo " ica -port \$PORT &" >> $g_file
echo "fi" >> $g_file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment