LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Closed Thread
 
LinkBack Search this Thread
Old 11-10-2009, 06:28 AM   #1
misson
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 ]
then
disp=$(who | grep -iw $aluno | awk '{print $2}')
OLDISPLAY=$DISPLAY
OLDXAUT=$XAUTHORITY
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"'&
XAUTHORITY=$OLDXAUT
DISPLAY=$OLDISPLAY

Thanks!
 
Old 11-11-2009, 12:22 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,690

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Zenity in Thin Clients using LTSP misson Programming 1 11-10-2009 06:28 AM
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: 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


All times are GMT -5. The time now is 02:29 AM.

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