Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-10-2009, 06:12 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Question Zenity in Thin Clients using LTSP

Hi, guys!
I have a problem with zenity --warning.
I have a "Fat server" and Thin Clients(TCs) linked to it. Students does log in on TCs when I apply time for them.
I have one box(zenity --warning) with a message:"3 minutes to shutdown.\nPlease, save your documents." and I don't get it to appear at Thin Client.
This message must appear in students's displays when there is 3 minutes to finish their time. Actually, this is a piece of the script.
if [ $tempo2 -eq 3 ]
disp=$(who | grep -iw $aluno | awk '{print $2}')
export DISPLAY=0.0
export XAUTHORITY=/cic/$aluno/.Xauthority
su $aluno -c 'zenity --warning --title="CIC" --text="Faltam 3 minutos para acabar seu tempo!\nSalve seus arquivos"'&

Old 11-10-2009, 06:28 AM   #2
LQ Newbie
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
by the way, it is not shutdown, I only want throw down the user whose time is ended. The TC keeps on waiting a new user... I've already developed it...
elif [ $tempo2 -eq 0 ]
pkill -9 -u $aluno
usermod -L $aluno
/usr/local/bin/cic-skel $aluno

Who can help, I'll thank.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LTSP questions/ Thin Client live CD/ XDM donnied Linux - Networking 1 03-28-2009 11:05 AM
LXer: Sugar on Acer Aspire One & Thin Client via LTSP LXer Syndicated Linux News 0 01-17-2009 02:40 PM
LXer: The LTSP adds thin-client support to a Linux server LXer Syndicated Linux News 0 12-15-2008 12:41 PM
LXer: LTSP 5 - Making Thin Clients Phat LXer Syndicated Linux News 0 05-16-2008 03:50 AM
Thin clients with Knoppix 3.7 and LTSP red_rhubarb Linux - Software 8 05-25-2005 03:13 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration