General :: Launching Application Which Need Another Window Fails From Shell?

Feb 12, 2011

When I try to launch application which runs in another window (not inside shell), it always fails with this kind of message: (example from gnome-terminal)

Code:

** (gnome-terminal:2477): WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported Failed to get the session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Falling back to non-factory mode. Failed to summon the GConf demon; exiting. Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See [URL] for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) I am running it as root, have GNOME installed and running, and also fresh install of gconf.

View 8 Replies


ADVERTISEMENT

General :: Termination Of Xtern Launching An Application With Xterm -e?

Jun 8, 2011

I wanted to launch sqlite3 with the command:

xterm -e sqlite3 /path/to/database "SELECT * FROM TABLE;" &

The xterm window flashes for a moment and then terminates. Exactly the same result is encountered with:

a) xterm -e /bin/bash -l -c "sqlite3 /path/to/database "SELECT * FROM TABLE;"" (as suggested in man xterm)

b)giving an alias in .bashrc to:
sqlite3 /path/to/database "SELECT * FROM TABLE;"
and running: xterm -e alias

c)giving: xterm -e echo "something"

d)using: konsole -e sqlite3 /path/to/database "SELECT * FROM TABLE;" &

If a launch sqlite3 with:

xterm -e sqlite3 /path/to/database &

The xterm window launches with no problem and sqlite3 opens the database as expected. If I enter "SELECT * FROM TABLE;" every thing works as expected and I get the correct result.

The same applies if I launch xterm with: xterm & and then: sqlite3 /path/to/database "SELECT *FROM TABLE;" to the command line.I sometimes use xterm -e to launch applications to a separate window and never had the slightest problem. I suspect it might be a bash thing (konsole and echo not working as well as above stated) and not an xterm thing. I made a search in man bash for quoting and backslashing but it didn't bright up things.

View 2 Replies View Related

General :: Not Launching Spark Messenger When Created Through Custom Application Launcher?

Aug 16, 2010

I'm using fedora8.I installed spark on my machine,when i launch that through terminal,it is opening perfectly.But when i open application launcher or creating custom application on panel it was not working.All other shortcuts like,thunderbird,firefox are opening except spark.

View 1 Replies View Related

OpenSUSE :: Gtk Warning While Launching Application?

Feb 28, 2011

after installation of a s/w for authentication from my ISP I couldnt launch the same and the following msg appears

pradipta@linux-auem:~> sudo sifyconnect
root's password:
pradipta@linux-auem:~>
(sifyconnect:5062): Gtk-WARNING **: cannot open display:

View 5 Replies View Related

Server :: Shell Scripting For Launching A Simulation Job?

Jun 27, 2011

I've been doing Finite Element simulations with the Ansys software for several years now, and recently I have been allowed to use a cluster running on Linux (it's a Sun Grid Engine, or SGE). Since I am quite newbie to this thing, I have read a lot on the internet to get more familiar with the Unix language. I found some example codes which are supposed to launch Ansys and read input files, but it does not work for me. Actually, what I want to do is simple:

1- I need to use Ansys 12.1 in batch mode, with the Academic Research license (which is called "aa_r");

2- The software should then read my input file (which is an APDL command file (in case you are familiar with it..)) and save the database and results in my working directory on the server.

The software is located in the following path:

/ansys_inc/v121/ansys/bin/ansys121

My working directory:

/home/myusername/

From what I've found on the web, I have to write a shell script that calls the software and specifies the details (batch mode, license name, input file, ...). Then I have to call this script by using the command "qsub".

Script: myjob.sh

Code:

#!/bin/bash
nohup /ansys_inc/v121/ansys/bin/ansys121 -b nolist -p aa_r -j jobname -i jobname.inp -o jobname.out 2>&1 &

View 5 Replies View Related

Ubuntu :: Firefox Errors On Launching Application (10.10) / Solution For It?

Oct 16, 2010

I installed Ubuntu 10.10 on a clean drive afyer an issue with 10.04 I couldn't resolve. The attched screen shot shows the error that happens when I launch Firefox. WHat is it, and how do I correct it. I can't find a setting for SSL or anything that might be turned off in firefox, so I guess it's an UBUNTU thing?

View 3 Replies View Related

Programming :: Launching Application With Compiled .so Files Instead Of Installed Ones?

Dec 12, 2010

I am debugging a project and I noticed the .so files from my installed version of this project are being used when I run the main executable. However what I want is that the modified and compiled libraries (.so files) are being used. This is for testing the software. So I don't want to install these. I tried adding the directory with the .so files in /etc/ld.so.conf and doing ldconfig. However that did not seem to work. How can I let the main executable use the modified .so? I also want to debug this using gdb, so if someone knows what I should do to get those modified .so files being used for execution.

View 5 Replies View Related

Ubuntu :: Launching Program From Main Menu Fails?

Oct 8, 2010

I'm running GuitarPro6 on my EeePC, and it will only start correctly if I start it from a terminal, in the install directory (/opt/GuitarPro6)

If I attempt to start it from somewhere else, like ~/, I get a library error. GP appears to want to look for this library in the working directory, and will only find it and start if I CD to /opt/GuitarPro6 first.

For this reason, I believe, when I click on the shortcut I made in Main Menu, nothing happens.

Is there any way to define the working directory for a shortcut in Main Menu?

View 2 Replies View Related

Ubuntu :: Gnome 3 Application Not Launching Because Of Path Environment Variable?

Apr 26, 2011

I am using gnome 3 and I installed neverputt from the repos, and when I click the icon in applications, it doesn't launch. Running it from the terminal gives:

Code:
Command 'neverputt' is available in '/usr/games/neverputt'
The command could not be located because '/usr/games' is not included in the PATH

[code]....

View 6 Replies View Related

Software :: Low Resolution / Change Icons That Shows Launching An Application?

Jan 26, 2009

How can i change the icons that shows launching an application? Resolution of these icons is very low and it would be nice to change this icons.

View 1 Replies View Related

General :: Set GTK+ Theme For X-Window Application?

May 20, 2010

I'm connecting to my Ubuntu server (its actually a VirtualBox virtual machine on the same physical box) using putty and xming.

Is there a way to set my GTK+ appearance/theme so that my GTK+ apps don't look so bland?

View 1 Replies View Related

General :: WINDOW XP Application Hangs Frequently

Jan 19, 2011

we have new dedicated servers to run our application server oracle developer forms 6i, remember we have not install anything other the rhel 5.5 64 bits, since it is BIN files to execute from we have problem encounter, we create a new share/premia where our oracle forms 6i and report 6i BIN or say executables there, and it work fine we made setup. but while users are working every all of sudden it hang and says not responsing.

View 1 Replies View Related

General :: Tar Gz Shell Script Fails / Get It To Work?

Jul 27, 2010

Someone gave me a script that would tar then gzip my music directory, as well as remove the previous days backup. I have it set up in crontab, but it appears to have stopped working the last couple days, so i tried running it manually. Below is the script and the output I got. Any ideas why its failing now? I don't think anything changed on the server, maybe someone installed updates but idk why that would affect this.

Here's the musicbackup.sh script code...

View 3 Replies View Related

General :: Building Application In Shell Using Make Command

May 26, 2011

Consider that I am building my application in Linux shell using make command but somehow the build fails. Is there any way I can find out that the build has failed (of course looking at shell for error messages will do the job for me but I don't want that). Is there any flag make or shell will set/reset if such failure occurs ?

View 5 Replies View Related

General :: Kill All Processes Except Shell Window?

Aug 3, 2010

i was referring to an article given in following website.[URL] I was surprise to know that i can kill all running processes by using kill 0. However when i tried running the command nothing happened.

my machine details:

Code:

# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release: 5.2
Codename: Carthage

View 4 Replies View Related

General :: Shell Script - Windows Dir Fails To Mount

Nov 20, 2010

I'm attempting to mount a Windows dir to a mount point on my Linux VMWare instance running on my Windows 7 machine. I am using a shell file to automatically mount the directory I want at bootup. However, I'm finding that Linux always mounts to a directory at the top of my C: file structure for some reason, and I can't figure out why.

Here's the dir structure:
C:/target (don't want to mount this, but this is what gets mounted)
C:/Users/me/target (this is what I want to mount to)

Here's my shell script:
Code:
mount.cifs //192.168.56.1/Users/me/target /mnt/target -o credentials=/root/credentials.auth,domain=mycomputer,uid=1001,gid=1001,rw

And here's what I get when I enter mount at the prompt:
Code:
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

If this means anything my Virtual Machine has a single hard drive SCSI, which I believe is /dev/sda1. I don't see anything from mount that would indicate that the c:/target dir is getting hard-mounted somehow from the /etc/vfstab file, but maybe I just don't understand how mounting works...

View 2 Replies View Related

General :: Shell Script Fails To Exit / Troubleshoot This?

Feb 9, 2010

This is a very simple problem, but I'm scratching my head with others..

In composing a simple shell script in class, we can't seem to get the script to execute fully. script was formatted as follows.

#!/bin/bash
echo "good bye for now"
exit

did, Chmod 755 to make executable
type file name "bye"
runs but wont exit.....
it just echos the type"good bye for now
The instructor says it works for him at home....
But it wont work in class...
Is there a reason it wont "exit" the shell as commanded ?

View 11 Replies View Related

General :: Shell Scripting: Getting Multiple Input Files For An Application?

Sep 21, 2010

I am running an application called QuantiSNP [URL]. The binary file is "quantisnp2", called upon in the "run_quantisnp2.sh" supplied by the authors. I am only able to run the application for single file processing (e.g. 1 input file for 1 sample; I can't run the batch file processing because I don't have the necessary BeadStudio report files, which has different formatting for the input files).

The difficulty is that I have 300 samples (300 unique sample IDs) and 3 input files for each sample for a total of 900 runs of this application. I am wondering how would I be able to automate this process as a shell script instead of basically manually changing the sample ID and respective input files every time a run completes? I bolded the single file processing shell script command line options below that need to be changed for each sample/input single file processing run. The command line option "--sampleid" is for the name given to the processed output files corresponding to the sample of interest and there are 3 input files for each sample.

/home2/jason/QuantiSNP/quantisnp/linux64/run_quantisnp2.sh /home2/jason/QuantiSNP/MCR/v79/ --config /home2/jason/QuantiSNP/quantisnp/config/params.dat --levels /home2/jason/QuantiSNP/quantisnp/config/levels-affy.dat --outdir /home2/jason/QuantiSNP/quantisnp_out/ --sampleid sample1 --gender female --input-files /home2/jason/files/sample1_input.txt

Note that each sample has 3 input files, for a total of 3 runs of "quantisnp2" for each sample. e.g.

SAMPLEID INFILE
sample1 /home2/jason/files/sample1_input.txt
sample1 /home2/jason/files/sample1_input2.txt
sample1 /home2/jason/files/sample1_input3.txt

[code]....

View 7 Replies View Related

General :: Hotkey To Raise/lower Specific Application/window?

Sep 5, 2010

How can I define a hotkey which will raise (and ideally also lower) a specific window or application?. Assuming epiphany is minimized, pressing F5 will raise the epiphany window. Pressing F5 again will minimize it. Something like guake/tilda.

View 6 Replies View Related

General :: Grep Fails In Shell Script When String Not Found / Why Is So?

May 3, 2011

I am having trouble using grep command. I want to search for each line in first file in second file and if they are present, write to file called successfile else to failfile. Below is the code

what is happening is, when the first failure occurs (when a line in first file is not present in second file), the script is killed.

Can anyone please tell me what I am doing wrong? code...

View 4 Replies View Related

General :: Write Shell Script For Zabbix Application Level Clustering

Aug 16, 2010

We have zabbix Network monitoring tool installed on two servers 172.17.11.6 ( Master ) and 172.17.11.3 ( Slave ) RHEL 5.4 Servers with 172.17.11.4 being Virtual Ipaddress.We are trying to implement High Availability with Red Hat Cluster Suite.OS level Clustering has been implemented with following cluster configuraiton.

But we need to implement Application level clustering for Zabbix_server process which inturn depends on httpd and mysqld deamons to be running.So I have to check the health of mysqld and httpd with a shell script along with the health of zabbix_server process.Any good tutorials for this ? Any guidlines that I have to follow ?Here I may need to take care of following things when any one of the process goes down

1. Shifhting Virtual IP
2. Shifting /dev/sdb1 ( Shared drive to slave )
3. stopping other services on master
4. starting all the services on slave

View 4 Replies View Related

General :: Create A Menu Box Window Using Dialog In Shell Scripting

Feb 3, 2010

I am using Linux on my system. I don't have gui for my system, only console is there.

I have some task to create a menu box window using dialog in shell scripting.

I have to take input from user & save it in a file.

But this should like html form as e.g.

Name - .....................
email id - ..................
phone - ......................
location - ...................

Submit Cancel

Such window should be displayed on console using dialog & then user will enter his information there as Name,email id, phone,etc & submit it, then it gets saved to a file. Here submit & cancle are buttons. I have to do it in bash shell scripting. Or give me some examples like the above with shell script code.

View 1 Replies View Related

General :: Logging In Non-root Users Fails Either With "no Shell" Or No Directory

Mar 9, 2010

I tried to create a user on Solaris 10 but when I try to login the user with "su -" I get the error message "no directory". When I try to login with "su" I get the error message "no shell".

I tried the useradd several combinations e.g.

All the tries i made didn't work. I also checked the permissions on /etc, /bin, /sbin and / and it seems ok so that the newly created user can access them.

View 14 Replies View Related

Ubuntu :: Run Shell Application From Browser?

Jan 24, 2010

I am looking for a method to run a shell script or open an application through the web browser.For example, open OpenOffice from the browser (without going through the menus).Is it possible?My ultimate goal to pass an argument through the browser to a script. I know it is pretty far fetched for my very limited abilities but I wanna try. For example I want to pass an URL or a text string from the browser to a shell script

View 9 Replies View Related

Software :: Port A Window Application To Red Hat?

Jan 25, 2011

I want to port a window application( involving COM, ActiveX, OLE, MFC, Win32) to Red Hat Linux. What options I have that can help me in this activity? What are the Linux counterparts of COM, ActiveX etc.

View 1 Replies View Related

Ubuntu :: Fails To Install Any Application Every-time?

Dec 13, 2010

I recently got Ubuntu up running on my HP DV1000 laptop. The problem I started noticing is that whenever I were to install packages via software center or even from the web. They simply won't install. After I enter my password it just hangs and won't continue forward.

View 4 Replies View Related

Software :: Application Fails To Send Mail

Jul 11, 2010

I have Scientific Linux 5.3 (Red Hat 5.1) Application fails to send mail. /var/log/mailog is as follows:

Jul 11 19:05:25 localhost sendmail[4871]: o6BH3hHq004871: from=ciroesposito13@gmail.com, size=25, class=0, nrcpts=1, msgid=<201007111704.o6BH3hHq004871@localhost.localdomain>, proto=SMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]

Jul 11 19:07:29 localhost sendmail[4875]: o6BH3hHq004871: to=ciroesposito13@libero.it, delay=00:02:39, xdelay=00:02:04, mailer=esmtp, pri=120025, relay=mxlibero3.libero.it. [212.52.84.165], dsn=4.0.0, stat=Deferred: Connection timed out with mxlibero3.libero.it.

[Code].....

View 4 Replies View Related

Ubuntu :: Browser - Application Window Darkens

Feb 27, 2010

For some reason when i'm working on things or while using a browser the current window gets dark (shaded) and everything freezes. The only way i can get rid of it is by turning my computer off. Why does this happen and how can i stop it from happening? It happens alot while using audio recording software.

View 3 Replies View Related

Ubuntu Servers :: Run A X Window Application Locally?

Aug 2, 2010

I'm adding a GUI to my server for specific admin tasks (Xubuntu desktop), and the major one I have in mind is MythTV setup, which uses X server. How can I run an X session locally? Ie. I'm looking to VNC into my server, then from there start an app that displays mythtv-setup in an X environment.

View 3 Replies View Related

Ubuntu :: Application Window Missing From Taskbar, But All Others Appear?

Oct 25, 2010

I am having a problem with a particular application not showing in the GNOME taskbar in Ubuntu 10.10 x64.The application is Novell Groupwise, a Java-based e-mail client.It does, however show when I press ALT-TAB to bring up the window switcher. It also shows in "The GNOME Panel" (desktop switcher) when it is in the foreground.All other applications correctly display in the task bar (Window List)

View 1 Replies View Related







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