Linux remote app on Windows

 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Linux remote app on Windows
# 1  
Old 11-01-2010
Linux remote app on Windows

So I have been playing around with some code and thought I would tap
the vast Linux knowledge here.

My company has a bunch of servers running Linux on the Amazon cloud. I have
created a Windows application in C++ that acts like a remote desktop
to the Linux servers. When I run it it connects over ssh to a server
and displays a window that simulates the desktop of the server even
though there is no GUI running on it. Inside that window I can view
the file system like in Windows. I can drag files from my local
machine to the server or vice versa. I can double click on a text file
and it opens within a subwindow as a text editor. I can open a command
line anywhere quickly.

I can also store command as a menu item. For example on my server to
restart tomcat I would open the command line and type: "sudo
/etc/init.dtomcat6 restart". In my app I have a Shortcuts menu item
that allows me to store this so now all I do is select "Restart
Tomcat" from "Shortcuts" and it executes. You can create any commands
you want.

There is also a menu for shortcuts to documents. Instead of having to
type "vi /var/lib/tomcat6/log/tomcat.log" I just select "Tomcat log"
from the "Documents" menu and it opens in the built-in editor.

It effectively combines Notepad++ for editing text files, putty for
opening comand lines and WinSCP for uploading/moving/deleting files
and some other stuff. I am also working on a MySQL module so I can
manipulate the local db too.

I find this extremely useful as I like a more visual interface. Do you
think I could I make a product out of this? Is there something like
this already available?

Since getting the app into a shippable form would take a large amount
of work I am trying to see if anybody wants it BEFORE I code it all.
What a concept Smilie

Thanks for any insights.
Bob
# 2  
Old 11-01-2010
Sounds a bit like vnc, except I have not set it up to drag files, using a ssh/scp/sftp tool for that, which perhaps should be a secured transfer. Still, many a personal project has become a set of great additions to a pre-existant project. The vnc guys are doing a dual track free/pay thing, so maybe they will pay you. I go free, sometimes over an ssh tunnel.

You might Samba mount the systems to be PC drives or some part of your PC as a local dir. I suppose samba can work through an ssh tunnel or maybe has security of its own. I never drilld down there. Andrew can make all the machines into a tree, not only on the PC but, if you want, on each other! Again, I wonder if the NFS-ish apps have taken ssh to heart, never mind compression over the net.
# 3  
Old 11-01-2010
Thanks DG. The difference with my solution is it doesn't require any GUI to be running on the server side. My app simulates a GUI by just communicating over SSH. I would think most servers are running without a GUI, no?
# 4  
Old 11-01-2010
Quote:
Originally Posted by bobmanc
So I have been playing around with some code and thought I would tap
the vast Linux knowledge here.

My company has a bunch of servers running Linux on the Amazon cloud. I have
created a Windows application in C++ that acts like a remote desktop
to the Linux servers. When I run it it connects over ssh to a server
and displays a window that simulates the desktop of the server even
though there is no GUI running on it. Inside that window I can view
the file system like in Windows. I can drag files from my local
machine to the server or vice versa. I can double click on a text file
and it opens within a subwindow as a text editor. I can open a command
line anywhere quickly.

I can also store command as a menu item. For example on my server to
restart tomcat I would open the command line and type: "sudo
/etc/init.dtomcat6 restart". In my app I have a Shortcuts menu item
that allows me to store this so now all I do is select "Restart
Tomcat" from "Shortcuts" and it executes. You can create any commands
you want.

There is also a menu for shortcuts to documents. Instead of having to
type "vi /var/lib/tomcat6/log/tomcat.log" I just select "Tomcat log"
from the "Documents" menu and it opens in the built-in editor.

It effectively combines Notepad++ for editing text files, putty for
opening comand lines and WinSCP for uploading/moving/deleting files
and some other stuff. I am also working on a MySQL module so I can
manipulate the local db too.

I find this extremely useful as I like a more visual interface. Do you
think I could I make a product out of this? Is there something like
this already available?

Since getting the app into a shippable form would take a large amount
of work I am trying to see if anybody wants it BEFORE I code it all.
What a concept Smilie

Thanks for any insights.
Bob

This is a marketing pitch (a type of marketing spam) that was posted on another site 4 days ago.

Quote:
I am a Java developer for my day job. We have a bunch of servers running Linux on the Amazon cloud. I have created a Windows application in C++ that acts like a remote desktop to the Linux servers. When I run it it connects over ssh to a server and displays a window that simulates the desktop of the server even though there is no GUI running on it. Inside that window I can view the file system like in Windows. I can drag files from my local machine to the server or vice versa. I can double click on a text file and it opens within a subwindow as a text editor. It effectively combines Notepad++ for editing text files, putty for opening comand lines and WinSCP for uploading/moving/deleting files. I am also working on a MySQL module so I can manipulate the local db too. Is this something any of you would find useful? Could I make a product out of this? Is there something like this already available?
Do not cut-and-paste marketing spam from other sites into these forums.

Moderator's Comments:
Mod Comment Thread closed


Note: It is relatively easy to see when text has been cut-and-pasted into the forums, especially when the new line breaks are not native to this forum.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Remote file transfer between Linux and Windows

Hello, I have a file, say details.txt on my windows machine. I want to copy it to linux machine through a shell script and edit the file and transfer the file back to windows machine. (All I want to do is to edit the file on windows machine from linux machine by a script.) I have tried scp... (1 Reply)
Discussion started by: Devendra Hupri
1 Replies

2. OS X (Apple)

Can a ios app be developed on a windows or ipad?

hi, i want to start developing an ios app that can be used on iphone and ipad. can anyone guide me how to start? i saw that it can be developed only on a mac system.. but i dont have a mac system. i have an ipad 4 and a laptop with windows os? can i use one of these to start developing ios app??... (4 Replies)
Discussion started by: Little
4 Replies

3. UNIX for Dummies Questions & Answers

Windows app over Sun Fire 445?

Please, I have a professional application that run only over windows, but I have a Full Sun Fire 445 for that. Someone can sugest me about how to do? Wich S.O can be use. Thanks before hand. Please read the forum rules again. Rule #9 should be in your focus. Thank you! (9 Replies)
Discussion started by: abelop
9 Replies

4. UNIX for Dummies Questions & Answers

Copy everything from remote Linux to external hard drive in windows

Hi, I`m trying to copy an entire directory(with numerous files, folders and subfolders etc, a content size of 500gigs) from a linux machine running Red Hat Enterprise Linux 6 to an external hard drive on my windows. I downloaded and installed psftp on my windows and I can login using psftp... (9 Replies)
Discussion started by: newbie83
9 Replies

5. UNIX for Dummies Questions & Answers

Windows to Linux remote console using VNC brings up blank console screen with only mouse pointer

:confused:Hi This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons. I get a whole bunch of errors when starting the service too: Tue Feb 23 14:29:45 2010 ... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

6. Linux

Install Linux on remote server from Windows PC

I am very new with servers and have never used Linux. The server I'm looking at is not currently connected to anything, and I wish to install Linux on this server. It doesn't have a monitor (no video card) or keyboard. It does have a DVD. Can I communicate with that server using a Windows PC to... (8 Replies)
Discussion started by: kvalenti
8 Replies

7. UNIX for Dummies Questions & Answers

simple app to communicate windows and linux/unix

Careful!!! This is a newbie question! Hello Community I'd like to develop a very simple application, on the one side (some windows pcs with a listener and sender) on the other side a linux server that does the same. Any suggestions about doing that? telnet, smbclient????? It must be... (3 Replies)
Discussion started by: ncatdesigner
3 Replies

8. Shell Programming and Scripting

Needing a line feed for windows app

I wrote a program to format data with awk. This file will goto a windows machine and loaded into a windows app. The vendor said adding a line feed would help, but it would work as is. I am already doing a /n, will putting on the /r give the windows person what he wants. Thanks. (5 Replies)
Discussion started by: benefactr
5 Replies

9. UNIX for Advanced & Expert Users

view remote linux desktop on my windows machine

Hi, is there anyway i can view a remote linux desktop on my windows desktop? i am aware that X11 can see 'certain screens'. For eg if i type 'xclock &' and i have a client running on my windows, i can see the clock. If i am interested to see the entire desktop of my linux, how can i do it? (4 Replies)
Discussion started by: new2ss
4 Replies

10. Windows & DOS: Issues & Discussions

How to detect if a Windows app dies??

Hello All: I hope this is the right category... I have a application (this app runs under java and jboss) that runs under Windows, it's started as a service. If that application should become disabled, crash or no longer function, what would be the best method for determining it is no longer... (6 Replies)
Discussion started by: jimmyc
6 Replies
Login or Register to Ask a Question