Programming :: How To Run Program Remotely Using Custom Environment?

Jun 11, 2011

I am trying to to execute multiple programs on multiple remote machines. Each program needs to be run in a custom Environment that is not known at login time. Currently I am using ssh to connect and run the program.
My issue is that I'm not sure how setup all the Environment Variables that I need on the remote machine. I was able to write all the environment variables/values (NAME=VALUE) that I needed to a file and place on a shared file server (prog.environment). I thought the best way to approach this would be to write my own utility (custom.shell) that would interpret the environment file and then execute the desired command.

View 5 Replies


ADVERTISEMENT

Programming :: Debug Remotely A Java Program With Ddd?

Jun 4, 2011

Is it possible to debug remotely a java program with ddd (data display debugger)?

View 2 Replies View Related

Programming :: C Program In Unix Environment?

Jan 12, 2011

my instructor gave me a project in c programming language, the probelem i don't have a c program combiler and i don't have a unix os on my computer, and my knowledge in c program is soo weak i took it years ago, i have this code but it does't compile on Dev-C++ on Windows OS, so if you just help me out with this program:

#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>

[code]....

View 5 Replies View Related

Networking :: How To Map Or Mount Whole Developing Environment Remotely?

Jan 9, 2011

I've got a problem about how to map or mount the whole developing environment remotely?

For example,There is a server A (CentOS) which I have got a normal user name and password but no root control.And my desktop B (Opensuse) which I've got the root authority.Normally, when I do some software developing, I use SSH to login to A. All the developing environment are installed on A, e.g. libraries, PATH, makefile, etc.However, there is a waste of my machine B, because all the test, debugging are performed on A.

I know that sshfs can map a path to local remotely. May I ask if there is a method to map or mount the whole working environment from A to B please?

View 1 Replies View Related

Networking :: Map / Mount Whole Developing Environment Remotely?

Jan 9, 2011

I've got a problem about how to map or mount the whole developing environment remotely?

For example,

There is a server A (CentOS) which I have got a normal user name and password but no root control.

And my desktop B (Opensuse) which I've got the root authority.

Normally, when I do some software developing, I use SSH to login to A. All the developing environment are installed on A, e.g. libraries, PATH, makefile, etc.

However, there is a waste of my machine B, because all the test, debugging are performed on A.

I know that sshfs can map a path to local remotely. May I ask if there is a method to map or mount the whole working environment from A to B please?

View 1 Replies View Related

Servers :: Install - Access It Remotely Via Ubuntu Desktop Environment Instead Of SSH Command Line?

Aug 5, 2011

Is there any way to install a Ubuntu server and access the server remotely via a Ubuntu desktop environment instead of a SSH command line?

I will be installing a Ubuntu server in an office where the office manager will need to be able to do simple things like add/remove users, access filesystems, etc. She can handle these tasks in Ubuntu desktop/GUI, but it is impractical for her to have to learn how to use the CLI terminal to do this stuff.

Will I have to install desktop Ubuntu on the server to do this, or can I install Ubuntu server version and setup another computer Ubuntu desktop to remotely login graphically?

View 1 Replies View Related

Ubuntu Installation :: Set Some Custom Environment Variables

May 13, 2010

I need to set some custom environment variables.

View 6 Replies View Related

OpenSUSE Install :: Set Custom Environment Variables During Boot ?

Mar 14, 2010

I'm doing a multiboot system where I need one of the boot options ( using Grub ) to set a number of custom environment variables e.g. "distro".

View 5 Replies View Related

Ubuntu :: Custom Keyboard Shortcut Environment Has Different SSH_AUTH_SOCK Than Launcher

Dec 15, 2010

If I launch "Terminal" from the Main Menu under Accessories, the environment includes the correct SSH_AUTH_SOCK variable:

Code:
declare -x SSH_AUTH_SOCK="/tmp/keyring-M9jm0W/ssh"

The same is true if I launch a terminal from the default keyboard shortcut ("Run a terminal"). However, if I create a custom keyboard shortcut (System->Preferences->Keyboard Shortcuts) which simply executes 'gnome-terminal' the SSH_AUTH_SOCK variable is quite different:

Code:
declare -x SSH_AUTH_SOCK="/tmp/ssh-QmxIEa1830/agent.1830"

This causes my shortcut to ssh to a remote host to prompt for a passphrase (thus defeating the purpose of gnome-keyring in this case).

View 2 Replies View Related

General :: How To Run Program Remotely Via SSH But Display Locally

Mar 24, 2010

Is it possible for me to SSH to another server in Linux (Ubuntu), run a program there but display it locally?And is it possible for me to SSH to another server in my terminal,and configure it so that all graphical programs (Firefox, Emacs) run in that SSH session will be displayed locally?

View 3 Replies View Related

Ubuntu :: Program That Shows Custom Quotes At Startup?

Jun 2, 2010

What's a good program that shows quotes at startup? Quotes that I could edit and add to?

View 6 Replies View Related

Ubuntu Installation :: RPMDB - Program Version 4.8 Does Not Match Environment 4.7

May 21, 2010

I have Ubuntu 9.10 running on Dell Dimension 8400, 1 gig ram, Pentium 4. No other OS installed. Last night I decided to upgrade from 9.10 to 10.0.4 through Upgrade Manager with the upgrade button. The upgrade ran over an hour and errored in the "Installing the upgrades" step with the following messages on the Terminal screen:

"rpmdb: Program version 4.8 doesn't match environment version 4.7.
error: db4 error (-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environmnet version mismatch
error: cannot open Packages index using db3 - (-30971)
RPM failed to open database, cleaning it up..."

I went to bed without doing anything. This morning at 7:30am EST I checked the status of this and nothing changed to the screen it was still stuck on this error with progress bar at 4 minutes in Upgrade Manager. I can move my mouse and even open Firefox 3.6.3 to search for issues within Ubuntu environment so I am not frozen. I haven't tried anything else yet.

View 3 Replies View Related

Programming :: Possible To Remotely Reboot Server Using SSH Over CGI?

Aug 2, 2010

If I can remotely reboot a server using SSH over CGI? I configure the client and server with keys to make ssh without password, and, on the terminal i can make "ssh root@server_ip reboot" and it reboot normally, but, I don't know how to do this on a CGI?

View 3 Replies View Related

Programming :: Remotely Control A Windows Service?

Nov 20, 2010

I have a java application running under Linux (Suse). My application communicates with a windows service via TCP/IP. I had multiple cases where the windows service crashed and I'm wondering if in such case there is any Linux or java tool I could use to remotely restart this Windows service.

View 2 Replies View Related

Programming :: Script To Copy File Remotely?

Oct 5, 2010

Any sample script that will copy file to remote server.I'm doing it on a manual process using SCP parameter

View 2 Replies View Related

Ubuntu :: Remotely Wake On Lan - Remotely Turn On Computer

Jan 4, 2011

Does anyone know or recommend some software or a script to remotely power on a PC from standby to on, or even better from completely off?

I guess the completely OFF to ON is much more complicated - would probably require an extra piece of hardware(?)

View 2 Replies View Related

Networking :: Remotely Login To Remotely Display Data?

Jun 29, 2011

I'm not terribly new to Linux, but I am new to the forums, so hear me out! I am in the process of creating an electronic mapwall for our meteorology program, and have designed the computing system from scratch. I have two Linux Boxes, each with capabilities for 6 attached monitors...a total of 12 displays driven from two machines. My intention is to have one machine be the master...it has a touchpanel control. The inputs to the touchpanel will then trigger events for the both the master and the slave machine to display. Each of them has a specific IP address (DNS entry), and are not on a subnet.

Now...is there a way to remotely login to the slave machine and have it display on it's OWN monitors? The code is Java and which works on the master machine to animate directories of .gifs for each of the master's attached monitors. I will most likely have Java execute shell commands for the remote login (ssh), but I believe the answer lies somewhere in the X-configuration. Do I have the machines in an adverse configuration (creation of a subnet would be better)? Lots of questions...lots of desire...few answers!

View 2 Replies View Related

Programming :: Program A SH - Bash Program With Zenity To Play Radio Based On A Site?

Feb 15, 2011

I will have to code this. However I am lacking of time since I have too much to do. make a short code bash/dash to prompt the country with Zenity, then, get the PLS or m3u url and prompt with another zenity which radio to play. http://www.listenlive.eu/index.html

My code to get url's radio country.htm is:

Code:

View 2 Replies View Related

Programming :: Open Or Run A File/program Through A C++ Program

Jan 15, 2010

Ok so Basically i have 2 questions

1. i know how to create a file with c++ using but is there a way to save it to a specific location on your computer with windows and linux

Code:

2. i need to know how to run/execute/open a file in a c++ program im using and its not working

Code:

View 4 Replies View Related

Programming :: How To Check The Environment

Jul 22, 2011

I have written a tiny script for kernel compilation, which call menuconfig and then compile the kernel. It is working fine. Now I like to test my environment and if it is shell menuconfig will be called and if X then xconfig will be called. How can I check the environment then?

View 7 Replies View Related

Programming :: Set Environment Variable Is Tcl ?

Apr 22, 2011

How are environment variable set in tcl? I tried "set $env(MYVAR) xxxx" but it didn't work.

View 1 Replies View Related

Programming :: Custom Gui For Micro Core ?

Jan 10, 2011

Making a custom gui for micro core linux. az i want to make a ditro based on it.

View 8 Replies View Related

Programming :: GUI - Custom Polygon Window ?

Jun 12, 2009

I would like to make a GUI that is not a standard rectangle, but instead is whatever polgon/shape I would like it to be.

A good example of an app that does this would be winamp.

It seems that all GUI programming is related to using tools similar to Visual C++, with buttoms and widgets.

How does one go about making a custom gui like this?

I am versed in C++ but I would not mind learning a new language.

View 2 Replies View Related

Programming :: Loading A Php Module Using Custom Ini?

Sep 9, 2010

I have a webhosting account, but the server admin did not include mysqli module. How can I use mysqli in this situation?

I am thinking,

put mysqli module in my web directory

load it using custom php ini

View 1 Replies View Related

Programming :: [C] The Environment Variable 'environ'?

Jul 17, 2011

In C, there's a global variable 'environ'. With the help of linux manual, I know it's defined in <unistd.h>. But the fowllowing program is also right without <unistd.h>:

Code:
#include <stdio.h>
extern char **environ;

[code]....

View 3 Replies View Related

Programming :: Makefile - No CXX Environment Variable

Jan 6, 2010

When I put a "test" target in my Makefile containing
Code:
@echo "CXX= $(CXX)"
it tells me "CXX= g++".
But I have nothing in the Makefile assigning any value to CXX, and as far as I can tell I have no CXX environment variable (no "CXX" appears when I run the shell command "env", and "echo $CXX" returns a blank line. So where's the g++ value coming from. Is this just built into Gnu Make, or is there a configuration file for make somewhere?

View 2 Replies View Related

Programming :: Using Environment Variables In Scripts?

Jun 19, 2010

Trying to mounts three cifs shares at boot up. I want to mount the shares under three different sub directories in the user's home directory:

share 1 mounted to /home/(insert username here)/movies
share 2 mounted to /home/(insert username here)/music
share 3 mounted to home/(insert username here)/software

I would like to use the environment variable HOME to dynamically build the mount point parameter. I've tried:

View 14 Replies View Related

Software :: "Run Command" Dialog Box Program Independent Of Desktop Environment?

Apr 4, 2010

Is there some "Run Command" dialog box program independent of desktop environment?

For example I would like my Openbox menu to have an item called "Run" that would pop up a dialog box in which I can type a command.

View 4 Replies View Related

Programming :: Adding Job From Script (Custom Built RPM)

Mar 10, 2011

I'm building an RPM that requires adding a cron job into a user's(service account) crontab...from what I see in the manpages, this isn't possible, as the only viable option is to replace the crontab entries already there for previous scripts being run. Either way, as an example I've found I can make it work by directly modifying the crontab file using:

Code:
echo "* * * * * /bin/ls -la ~/ >> ~/ls.log" >> /var/spool/cron/userName

I'd just like to know, is there any MAJOR issues with modifying a the crontabs like this? This is running on a Redhat Enterprise Linux server by the way.

View 1 Replies View Related

Programming :: Calling Sizeof From Custom Function?

Oct 17, 2010

lets look at code in C

Code:
#include <stdio.h>
#include <stdlib.h>

[code]...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved