General :: Start X Application On Remote Server?

Dec 7, 2010

I've been trying to make a cgi script that starts a program on a server and then shows the program on the servers screen. The cgi script is written in perl. I've been successful in making the program showing up on the screen through ssh by setting $DISPLAY to :0.0, I tried setting it to this in /etc/profile but when the cgi script ran nothing showed up on the screen. I tried having the script running it as a local user with "su - [user] -c [command]", this didn't help either.

In short what I'm trying to accomplish. When I press a button on a web page an slide show is supposed to start on a screen connected to the server.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Start A GUI Application On Remote Computer Using Ssh?

Aug 18, 2011

I forgot to run a GUI process on a remote computer. I need to run the application as if I was at the computer i.e the application needs to open on the desktop on the remote computer.

I can connect to the computer through an ssh tunnel via another computer at the remote site and run non GUI based processes using Screen or bring some GUI programs to the computer I'm working from using the ssh -X option, however, this is not what I'm looking to do.

On Windows I used to use a program from sysinterns called PsExec which would let me start applications such as Word on the remote computer and I'm hoping that there is something similar on Linux.

View 4 Replies View Related

General :: JBoss Application Server Cannot Start

Jul 30, 2010

16:46:50,375 INFO [AbstractJBossASServerBase] Server Configuration:

JBOSS_HOME URL: file:/C:/jboss-6.0.0.20100721-M4/
Bootstrap: $JBOSS_HOMEserver/default/conf/bootstrap.xml
Common Base: $JBOSS_HOMEcommon/

[code]....

View 1 Replies View Related

General :: Start A Remote Login Session From Script To Any Server?

Nov 11, 2010

How to start a remote login session from script to any server?

View 1 Replies View Related

General :: Sending Application Log To Remote Host?

Feb 25, 2011

How is it done?Right now its just getting written in a local text file(not /var/../.., not using syslog at all).and every day a new file is being created

View 3 Replies View Related

CentOS 5 Server :: Application Is Getting New Port Every Time Start

Jun 23, 2010

I have written simple application in cpp which listens on port 8080. But when I start the application and check the port it is listening on (using netstat -nap), I can see that the application is listening on port which is > 30000.

This port number keeps on changing if I re-run the application.Please let us know if I have to do any kind of a seeting so that application starts listening on 8080 port.I am using CentOS 5.5 (I tried same on CentOs 5.2)

View 1 Replies View Related

General :: Start An Application In Another Tty?

Oct 3, 2009

Is it possible to start an application in another tty. (Like to bother the desktop user from ssh.)

View 5 Replies View Related

General :: Auto Running An Application On Start Up?

Nov 2, 2009

Can you run an application automatically when you load linux? In this case it would be VMPlayer?

View 4 Replies View Related

General :: Way To Start Script At Remote Host

Nov 13, 2010

I want to start a shell scripts(which generate traffic to test my network) at remote linux hosts from single linux local host.. If i start script at remote host through ssh, all traffic are sending from my local host also. It will create burden on my local host. If i terminate SSH connection, it stopping the script at remote host. Also i need to do ssh to all my remote hosts.

Is there any best way to do it?

View 6 Replies View Related

General :: Automatically Start An Application After Login In Kde4?

May 28, 2010

I am using Kde 4.4 and I would like to start one of the applications automatically after every login to the system. How can I configure it? I remember I managed to find a dialog window in one of the previous versions, but I can't find it now.

View 1 Replies View Related

General :: Start Up Gnome Desktop From Remote Terminal?

Jul 27, 2009

I looked around for threads addressing this issue and some have come close to answering it, but I have yet to see a definitive yes or no. Anyway - Here's my issue:

Background:
I can SSH into my home computer (Ubuntu 9.04 running Gnome) from work (Win XP Pro) using RealVNC via Putty tunnels. This has been working flawlessly for me for awhile now. I was messing around in the terminal window and accidentally rebooted the linux box (home computer) while I was at work. No big deal I thought. So I re-start the Putty connection, and it is back up in no time. Then I try to start the VNC connection, and no go, connection refused. I remember seeing that in order for the VNC connection to work, I had to be logged into the Gnome desktop already on the Ubuntu box.

Question:
Is it possible to log in and start up a Gnome desktop session from the terminal command line in Putty so I can get the VNC connection back?

View 8 Replies View Related

OpenSUSE :: Sending Email Using PHP / Start An Email Server In Order To Get Application To Work?

Feb 23, 2010

I'm attempting to send email with a PHP application I got from a textbook. Do I need to start an email server in order to get the application to work?Using SuSE 11.2

View 5 Replies View Related

General :: Call Putty/plink To Start A Remote SSH Script With User Input?

Jan 18, 2010

Execute putty to start a script on a remote linux server which requires user input The remote script does a read -p "Please enter name" NAME I can use plink to execute a script over SSH, the following attempts and problems are shown below :- Note the -load ns is to load a session that doesnt exist, ie ensure no defaults are used

1) plink.exe -load ns <ip_addr> -l <user> -pw <password> <script path/name> Problem) Doesn't allow/show user input, ie its non-interactive.

2) Add -t to allocate a pty :- plink.exe -t -load nc <ip_addr> -l <user> -pw <password> <script path/name> so now the user input can be seen, but I get Ctrl+H (^H) when backspace is pressed, ok if the user doesnt make a mistake!

3) Use putty instead with a saved session putty.exe -load "SavedSession" Get a new window opened, not a biggy, but not as nice. (b) saved session cannot be easily moved. (c) Get password prompt, cannot provide password like with plink, I know I know, use keys, but this is a closed, private network, and its easier not to bother with keys!I would like the SSH to execute in-line, that is from within the batch file/command line shell I am in, not prompt for username/password, run the linux script and allow prompts and delete/backspace to work.

View 5 Replies View Related

General :: Call Putty / Plink To Start A Remote SSH Linux Script With User Input

Jun 27, 2011

Seemingly simple question, which yields slightly undesired results. Execute putty to start a script on a remote linux server which requires user input The remote script does a read -p "Please enter name" NAME I can use plink to execute a script over SSH, the following attempts and problems are shown below :-
Note the -load ns is to load a session that doesnt exist, ie ensure no defaults are used

1) plink.exe -load ns <ip_addr> -l <user> -pw <password> <script path/name> Problem) Doesn't allow/show user input, ie its non-interactive.

2) Add -t to allocate a pty :- plink.exe -t -load nc <ip_addr> -l <user> -pw <password> <script path/name> Problem) Ok, so now the user input can be seen, but I get Ctrl+H (^H) when backspace is pressed, ok if the user doesnt make a mistake!

3) Use putty instead with a saved session putty.exe -load "SavedSession" Problem) (a) Get a new window opened, not a biggy, but not as nice. (b) saved session cannot be easily moved. (c) Get password prompt, cannot provide password like with plink, I know I know, use keys, but this is a closed, private network, and its easier not to bother with keys!

So ideally, I would like the SSH to execute in-line, that is from within the batch file/command line shell I am in, not prompt for username/password, run the linux script and allow prompts and delete/backspace to work.

View 1 Replies View Related

General :: Mount The File Server Share On Application Server And Execute

Jan 8, 2010

i have purchased sun server for my visualization project. Request you to help me finding the io for disk .I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines.

How would i monitor the io for file server from the Application server where i have configured 4 virtual machine. one way to mount the file server share on application server and execute

dd if=/dev/zero of=/share/test.out bs=1024 count=1024 to check the read and write Is there any other way of doing this.

View 1 Replies View Related

General :: Access Remote Mysql Server Through Socks Proxy Server?

Aug 25, 2010

Scenario:A - Local Unix machineB - socks proxy server port 1080C - remote mysql server port 3306I want to connect to the remote mysql server(C) from local unix machine(A) using sock proxy(B).

View 1 Replies View Related

General :: Setup Remote Access Server On Red Hat Enterprise Server Release 5.1?

Aug 30, 2009

how i have a machine installed Red Hat Enterprise Linux Server release 5.1 with 2 modem (usb & com port) still i want to configure RAS server so some pple able to connect my server and send me some files.

View 4 Replies View Related

Ubuntu Networking :: Running Remote X Application?

Jan 14, 2010

I have two computers running Ubuntu. I want to run the copy of Firefox that is on the remote machine. i connect to the remote in the usual way, "ssh -X fermi", which brings up a console on the remote machine, fermi. When I type "firefox", however, it starts the copy of firefox that is on the local machine. On the remote machine, "ps aux|grep firefox" confirms that firefox is not running there. Is there a way to force execution of the remote copy?Or, can I start a local copy of firefox using the remote bookmarks, preferences, etc?

View 3 Replies View Related

Ubuntu :: Ssh - Open Application On Remote Computer?

Feb 28, 2011

I have a small netbook that I would like to use as a terminal for my main computer, so instead of opening Gnome-terminal on my computer it will run from my netbook.

what i want to know is how to ssh from my netbook into my main computer and run an application on that computer.

So i would like to be able to ssh into my computer, and when i type "vlc movie.avi" it will open and run on the REMOTE computer just as if i had opened gnome-terminal and typed the command there.

Note: I'm not looking for something/anything like "ssh -X" or VNC or Remote Desktop.

View 5 Replies View Related

General :: How To Connect To A Remote Server And Run Some Code On That Particular Server

Jun 30, 2011

I am implementing an automated backup scheme so I created a shell script which first creates SQL dumps for all MySQL databases, then retrieves all websites from the /var/www directory of a remote server. The latter is working as I am using rsync to get the remote files.However, the MySQL dumps being retrieved are the ones from the local server which is not what I want. I want to get the SQL dumps from the remote server as well.I have a tunnel between the local and remote server which I can connect to without using any password (I added the public key to the authorized_hosts), so I tried to add the following code to the script:

ssh user@192.168.x.xxx

I then attempted to retrieve the SQL dumps and exited from the remote server. However this does not work as I still have to enter exit manually in the terminal for the SQL dumps to be retrieved from the remote host. I don't know why this is happening. This is what the script is trying to do:

//connect to remote server
ssh user@192.168.x.xxx
//retrieve SQL dumps

[code]...

Is there a way to connect to the remote host AND run the script's code on THAT remote host?

View 2 Replies View Related

Fedora :: Running C++ Objects On Remote Machines From One C++ Application?

Mar 29, 2011

I'm looking for a solution for running C++ objects on remote machines from one C++ application.

View 2 Replies View Related

Ubuntu Networking :: Remote Application Invocation From Win System?

Feb 23, 2011

I have installed a bioinformatics tool called Pathway Tools on ubuntu 10.10, and I'm trying to access it through ssh client from windows vista client system. my client is puTTY. I can run the terminal shell, and I log in and everything goes alright. However, when I run the program by typing the following:pathway-tools from the directory of the tool. just like I'm running it from ubuntu directly. I get the following message:

Code:
aibig@aibig-HP-xw4400-Workstation:~/pathway-tools$ ./pathway-tools
Warning: Constant **&-TAG-MAPPING-LIST** being redefined from
(("alpha" SYMBOL T "a") ("beta" SYMBOL T "b")
("gamma" SYMBOL T "g") ("delta" SYMBOL T "d")
("epsilon" SYMBOL T "e") ("zeta" SYMBOL T "z")

[Code]...

Enter name of X-window server to connect to (of the form HOST:N.M): You can ignore all the warnings, all my problem is at the last line. I searched the internet to know what does they mean by HOST:N.M value the shell requests, but in vain. I'm really a newbie to ubuntu, but I'm getting familiar day by day and I'm loving it.

View 1 Replies View Related

Software :: Xlib - Run A Graphical Application At A Remote Host ?

Dec 21, 2008

When trying to run a graphical application at a remote host i get the error

Xlib: 'connection to ":0.0" refused by server'

Xlib: No protocol specified

How to address this?

View 1 Replies View Related

Software :: Finding A Remote Desktop Application That Will Work With OpenGL

Nov 22, 2010

I need to be able to open an openGL based piece of software remotely (like Maya or 3D Studio Max, for example). The server will be a linux machine (CentOS, currently, fwiw), but the client should be able to run on at least Linux and Windows. This will happen over the internet as opposed to over a LAN.

So far, I've tried

- "NoMachine NX" which is pretty good, but it seems to have some issues with GL. Maybe this can be fixed in xorg on the server (disabling overlays or something like that)? not sure.

- HP Remote Graphics Software (RGS) which works fairly well with Cent & Windows, though is sometimes a little slow. It also doesn't seem to be happy on Ubuntu, which is a pretty big bummer. It's also a bummer that it's somewhat expensive. That said, it's still the front-runner.

- VNC which was very slow.

It's imperative that it can transmit very complex rendered OpenGL properly. It's ok if it's slow to tumble/refresh, but it should be correct.

View 2 Replies View Related

General :: Web Server - Creating A PHP Application

Oct 4, 2010

Im creating a PHP application for my company. The application its going to be used by around 500 people in the network. I've always used Windows Server for my PHP applications, but I want to start using linux. I've heard its faster and more secure.

I want to knwo, what type of computer should I use? Is does linux work better on Intel Xeon or AMD? I need the application to work fast.

Am I going to have any problems with incompatibility if I get a Dell server?

I've used Ubuntu, just to check it out, but I've heard Centos is better for web servers, is that true?

View 2 Replies View Related

Debian Multimedia :: Graphical Application To View Logs On Remote System

Jan 16, 2015

I have a web server that hosts multiple websites. Am looking for an application that can be run on my workstation and makes it possible to watch Apache logs live.

It should have a tabbed interface. When I launch the application, it has to connect to my server and should automatically open all access.log and error.log files and display all changes in real time (similar to tail -f command).

Does anything like this exist?

I'm tired of logging in many times in Konsole and executing tail -f commands to see parallel logs.

View 7 Replies View Related

General :: Can't Locate Remote Server?

Jun 7, 2010

We are using linux (Ubuntu ) to host our website and mails. There was a power problem and after restarting our servers, we are unable to access the co. website. When i try to access the mail by typing mail.domain, i am able to access the login page from within the network. Someone out of the network is unable to find the page[URL]

View 4 Replies View Related

General :: Creating A Remote Server?

Apr 24, 2010

I'm new to the world of networking. Actually, I'm trying to change my desktop which has enough horse power to run heavy applications in to a server such that I may access it as a source safe server remotely (over the internet). I carry my laptop along all the times and would like to continue my development work when I find free time. I tried to find some help on google but was confused on which to follow and where to begin from.

View 3 Replies View Related

General :: Logging Into A Remote Server?

Jan 3, 2010

I want to login to my company's server (remote) from my room. I have the server address, so I use this command to login :

Code:
#ssh root@X.X.X.X

It waits for a very long time and then returns with error connection timed out port 22.

I configured these settings in the remote server :

Code:
#/etc/init.d/iptables stop

Then I connect via ssh from my home but still the same error.

Then in the config file /etc/ssh/sshd_config, I uncomment the line : ListenAddress 0.0.0.0

I connect via ssh again from home but still the same error.

The connection is not denied in hosts.deny and hosts.allow.

How do I get the connection up and running?

View 5 Replies View Related

General :: Use A File In Remote Server?

Apr 2, 2011

I have a file ( /tmp/my_file.txt) in local server , I have a script as below , it works fine.

for file in /tmp/my_file.txt ; do

done

Now , if the file ( /tmp/my_file.txt ) is in remote server , can advise what can i do ?

View 3 Replies View Related







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