But your intention is to log into the server as each of the users?
Imagine this....
1. when the user logins in CDE or Gnome will run a login script of some kind (don't know what at the moment). This needs to capture the DISPLAY variable and put it somewhere.
2. then each of the users needs in their $HOME/.ssh/authorized_keys a line which lets you run a small script (TellMe) on their behalf as them.
3. the "TellMe" script will then pull out the DISPLAY variable value from where ever it was hidden and then call your /h/test/bin/Msg, eg
Hello,
I used the command
osascript -e 'tell app "Finder" to display dialog "Hey!"'
to display a dialog box..it works fine, it displays a dialog box with 'OK' and 'CANCEL' buttons..i want to get the button returned value how can i do that using terminal command?
is there any command to get... (1 Reply)
Hi,
I was writing a simple web application using Perl -CGI. When users try to do some operations, I wanted like a pop-up confirmation box. Is this possible with Perl-CGI?
Thanks in advance.
Regards,
garric (6 Replies)
Hi all,
I am working with debconf file for packaging the projects. I have used the
". /usr/share/debconf/confmodule" file to do the packaging in debian standard. It worked fine. When ever I am installing the package in apt-get the dialogs are come as I mentioned in the templates file.... (0 Replies)
For some reason i cannot login using root or other accounts on my Linux system.
When logging in at the main console it says "Authentication failed" in a dialog box with an OK button.
The Linux system is Redhat 4.7.
I've already checked /etc/pam.d/login, /etc/security/access.conf and ... (27 Replies)
Hi All,
I was trying to generate GUI using shell script. After long search I found the utility called “dialog”. Using this utility I am able to generate window to collect the input.
dialog --inputbox "Input 1" 10 45
dialog --inputbox "Input 2" 10 45
dialog --inputbox "Input 3" 10 45
Using... (2 Replies)
I know, I can run dialog command in my machine. But what I want to do is I wanna show the dialog box to some other Remote host.
I connected to the remote system and used dialog command its shows the box in my terminal only. How can I display to that remote machine?? Any suggestions??? (3 Replies)
Does dialog box works on all kind of shells? I am using korn shell in Linux .
For me dialog is not working :) is there any particular syntax or do we need to have particular OS version or shell env?
#!/bin/ksh
dialog --title "create file" \
--backtitle "shell script practice" \... (1 Reply)
Hi,
I need to add confirmation pop up msg box before deleting the record from database, I have added following snippets to my code but its not working for me, your help will be much appreciated :
print header;
print <<EOF;
<script type="text/javascript">
function confirmOk() {
return... (0 Replies)
Hello.
Any help would be greatly appreciated.
Right now I have the following input box that works fine and well, however I would like to wrap this is a loop that requires input. Right now the script will happily continue on if the user just hits enter. I'd like to require a minimum of a 5... (5 Replies)
Discussion started by: woodson2
5 Replies
LEARN ABOUT OPENSOLARIS
tk_choosecolor
tk_chooseColor(1T) Tk Built-In Commands tk_chooseColor(1T)__________________________________________________________________________________________________________________________________________________NAME
tk_chooseColor - pops up a dialog box for the user to select a color.
SYNOPSIS
tk_chooseColor ?option value ...?
_________________________________________________________________DESCRIPTION
The procedure tk_chooseColor pops up a dialog box for the user to select a color. The following option-value pairs are possible as command
line arguments:
-initialcolor color
Specifies the color to display in the color dialog when it pops up. color must be in a form acceptable to the Tk_GetColor function.
-parent window
Makes window the logical parent of the color dialog. The color dialog is displayed on top of its parent window.
-title titleString
Specifies a string to display as the title of the dialog box. If this option is not specified, then a default title will be dis-
played.
If the user selects a color, tk_chooseColor will return the name of the color in a form acceptable to Tk_GetColor. If the user cancels the
operation, both commands will return the empty string.
EXAMPLE
button .b -bg [tk_chooseColor -initialcolor gray -title "Choose color"]
KEYWORDS
color selection dialog
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTk |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tk is available on http://opensolaris.org.
Tk 4.2 tk_chooseColor(1T)