Any Programmers Here

Jiffyman

New Member
O.k. heres my Idea. I have 2X application server client for linux and it doesn't have a GUI, so I want to try and make a really, really simple GUI that will ask for all the information then enter the nescessary commands and also save files as a shell script so I can click them and just go instead of writing one for every single app on the server.

For example the command I have to type into the terminal is
"appserverclient -s192.168.2.100 -aDesktop -uGeoff -p*********" then a remote desktop like window will pop up. I want something that would go like this

2X Application Server Client Simple GUI

Server: 192.168.2.100

Application: Desktop

Username: Geoff

Password: **************

(OK) (Save as .sh)

So how hard would it be to design a small app like this and what language would I have to know? I think that a small simple app like this could help alot of people, but I don't know where to begin. Please help me and point me in the right direction of some resources to get me started. Sorry if this idea may seem stupid.

Thank you,

Jiffyman
 
Last edited:
well for gui based any C compiler will probably do the job, however I don't develop software nor do I know anything about it other than basic theory, and I openly admit my basic theory knowledge is not very deep.

What exactly are you trying to set up? A user database? Dummy terminals? Virtual machine deployment?
 
Basically I'm trying to make a small app for the 2X Application Server client for linux that can enter commands into the terminal in the background so I don't have to. I would also like it to be able to save files as .sh which is a shell script so I can click on them and automatically connect. That way I don't have to write a shell script for every app on the application server. Does that make any sense?

P.S. I'm thinking about writing it in perl.
 
Last edited:
Why go the hard route?
Stick with bash. Check out zenity. It's built into ubuntu. Run the terminal and run
Code:
zenity --help
for its uses.
 
Thanks, Zenity does looks promising for my needs. I'll let you know how it goes. I Still plan to learn Perl it might be good for me.
 
Well you can pick your poison as they say, perl, ruby, python, shell, etc all can be scriptable and all can be used together. Also, you technically don't need to save a file as .sh to make it a script, because Linux ultimately does not care about file extensions. The extensions are really for the user, to differentiate file types. You do however need to make it executable via chmod +ax or whatever method you use.

However, you still haven't clearly outlined what you are trying to accomplish. There are many ways to set things up. So, you are setting up thin clients or virtual machines? You still need some sort of Directory Services running for authentication, I would look into LDAP, as it is a very common open source standard. Then, your server can can push out policy, applications, etc based on authentication. Depending on what you want to exactly accomplish depends on what you should look into doing. I can tell you setting up like an OD master and learning that stuff now would really be a great thing to do. Directory services is going to be one of the next big deals in IT, especially with integration of non windows machines (Linux and OS X).
 
Thanks, Zenity does looks promising for my needs. I'll let you know how it goes. I Still plan to learn Perl it might be good for me.

ah perl, best app in the world for text manipulation :)
used it everyday during my masters, heavily used in bioinformatics
 
O.k call me stupid, but I don't get how to use this. Can anyone give me an example of how this Is supposed to be used all I can set up is yes/no questions.
 
For zenity?
example:
Code:
zenity --question --title="Proceed?" --text="Are you sure you want to continue?"
if [[ $? = 1 ]]; then
(rest of program goes here);
else exit 0;
fi
Hope this helps.
 
Back
Top