unable to run mono app using .sh script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting unable to run mono app using .sh script
# 1  
Old 03-17-2009
unable to run mono app using .sh script

I did a search for this problem but couldn't find any specific answers to my problem.

We have a .NET application compiled in SharpDevelop for Mono which we want to execute with a .sh shell script on Ubuntu. When we execute the script nothing happens meaning the application's visual interface doesn't appear and we also get no errors at all.

Here is the script:


#! /bin/sh
export DISPLAY=:0.0
cd /home/oculus/OculusServiceHost
/usr/bin/mono Oculus.Console.exe $@


Now, if I execute the very last line by itself, with or without the $@, in a Terminal window it executes the application successfully and the application's visual interface appears.

Do we have the script parameters wrong perhaps?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Unable to get a Xterm or X app to appear under a Linux Gnome Desktop

I want to have a xterm or xapplication from a Solaris client to appear on my RHEL Server running GNOME desktop. It may sound easy at first but, I have done the basics and I be stuck. Have Tried: Linux - logged in as root, open a Terminal and did a echo $DISPLAY and it reports back :0.0 I... (7 Replies)
Discussion started by: mrmurdock
7 Replies

2. UNIX for Advanced & Expert Users

Unable to run the script on remote machine Using Expect script

Not able to execute the file in remote host using except utility I am automating the SFTP keys setp process: So i created the expect script for controlling the output of shell below is my main code: Code: #!/usr/bin/expect set fd set password close $fd set df set app close $df... (1 Reply)
Discussion started by: Manoj Bajpai
1 Replies

3. Shell Programming and Scripting

Script to run files with an app

hello, I need help in Unix scripting I have a whole list of file name in a Input file. I need to run the command iteratively and output the result into a text file e.g While read < Input file ; do QUERY filenane done > output.txt Appreciate your help Thank you Suhas;) (8 Replies)
Discussion started by: Suhas Kurse
8 Replies

4. Shell Programming and Scripting

php file unable to run shell script with arguments

echo $result=exec("./permit.sh".$_FILES); pls suggest some other method to run shell script in php .:wall::mad: (0 Replies)
Discussion started by: upvan111
0 Replies

5. SuSE

Unable to Run a script at startup in suse

Hi I have a script myscript.sh that needs to be run whenever the server boots. The script is actually logging Syslog-ng messages to sql server. I need to lauch it at startup I have copied the script in etc/init.d i have also added the link ln -s /etc/init.d/syslog-ng-mssql-pipe.sh... (5 Replies)
Discussion started by: SystemEng
5 Replies

6. Shell Programming and Scripting

Bash Script: Trouble unable to run

I am trying to create a menu, and the script fails on ln 38 (Files in pwd). Any idea on where the problem is?? Thanks for the help Rob #!/bin/bash # Cool Script for Weekly Assignment 2 (#3) that creates a menu to act as a ui # and run some popular commands. clear while : do ... (9 Replies)
Discussion started by: rchirico
9 Replies

7. UNIX for Advanced & Expert Users

run win app on Linux -performance issue

We develop software for diagnostic tools for cars. we a use a portable PC(x86) runs Win98 to run our applications. Hence the working environment in the company is Windows, specifically we use BASIC to develop the GUI, communication functions, DLL, etc. and run them on the Win98 PC. We suggested... (1 Reply)
Discussion started by: raedbenz
1 Replies

8. Shell Programming and Scripting

unable to run a script

thi is (10 Replies)
Discussion started by: angelina
10 Replies

9. UNIX for Dummies Questions & Answers

how to run app in BSD under OS X

Hi, I have a problem running application in BSD in os x. I want to run a app called "iCab", so i type "./iCab"...it then gave me a load of "A^@A^@A^@A^@A^@A^@A^@A^@..." OS X is BSD, so this should mean that i can be able to use the terminal to launch stuff; right? and also, how can i... (2 Replies)
Discussion started by: ah54wxcr4
2 Replies
Login or Register to Ask a Question
uudemon(4)						     Kernel Interfaces Manual							uudemon(4)

NAME
uudemon.admin, uudemon.cleanu, uudemon.hour, uudemon.poll - Administrative shell scripts for polling remote systems, cleaning up spool directories, reporting status to the system administrator, and routine invocations of the uuxqt and uusched daemons SYNOPSIS
These shell scripts reside in the following directory: /usr/lib/uucp DESCRIPTION
All the scripts can be run from the command line or can be run automatically by the cron daemon. To automatically run the scripts, remove the comment character (#) from the beginning of the relevant line in the /var/spool/cron/crontabs/uucp file. This script reports status to the system administrator. It issues the uustat command to find out the status of uucp jobs. It mails the results to the uucp login ID. The script may be modified to send mail to any login ID such as the uucp administrative login ID (uucpa) or root. This script cleans up the /var/spool/uucp and /var/spool/uucppublic directories by running the uucleanup command. The uucleanup com- mand is run with the following parameters: -C7, -D7, X2, -o2, -W1. This script runs the uusched and uuxqt daemons in the background. This script polls the systems listed in the /usr/lib/uucp/Poll file. The uudemon.poll script should be scheduled before the uudemon.hour script. This allows uudemon.poll to create any command files before cron runs the uudemon.hour script. FILES
Contains the uudemon.admin, uudemon.cleanu, uudemon.hour and uudemon.poll files. Contains the uucp file. RELATED INFORMATION
Commands: cron(8), uucleanup(8), uusched(8), uuxqt(1) Files: /usr/lib/uucp delim off uudemon(4)