Software :: How To Invoke The Xterminal
Jul 6, 2010
setting up the Xterminal ( xmanager ) application on Linux. I've installed Xterminal-1.0.7-1.i386.rpm on RHEL 4.0.May i know how could i invoke the installed application? What commands should i use?
View 13 Replies
ADVERTISEMENT
Jun 28, 2010
where i can download the xterminal / xmanager application for Linux OS? Its for accessing Unix based boxes.
View 1 Replies
View Related
Mar 7, 2011
I want to use php for mailing on linux.But when I do it with"$a=`msmtp niubl967@gmail.com < /u1/ftp/mail.txt &`",it does not work.The mail.txt's contents are following:
Subject:test
View 6 Replies
View Related
Jan 14, 2011
I have to execute certain commands (like shutdown Tomcat) on several servers so I'm using a loop and ssh. I put the server's IP on a CSV file which I parse, execute the commands for each line and send the output to a file. The problem is that after processing one line the program stops execution. I wonder if someone could lend me a hand with this, I'm new in bash scripting and I ran out of ideas.
The CSV (servers.csv) file looks like this:
Code:
192.168.254.5:Server 1
192.168.254.6:Server 2
...
And the script looks like this:
Code:
#!/bin/bash
while IFS=: read ip name
do
sshpass -p "pass" ssh -o "StrictHostKeyChecking no" root@"$ip" 'sh <CATALINA_BASE>/bin/shutdown.sh' >> output.log
done < servers.csv
View 1 Replies
View Related
Jul 16, 2010
Adobe Air are not able to invoke the password dialog for installing apps in opensuse11.3 (i686) .. it waits for root password confirmation however there is no dialog window to input the password to. I've tried installing adobe air apps as both su and normal user, no mather what I do it's not envoking the password dialog..
I've also tried to install the gnome su library to see if it helps any but it don't...
I have also tried to reinstall Adobe Air using both the rpm installer and the binary installer from [URL], the binary installer won't even install.
I can get the use of the AIR apps I need ?
From AIR installation log [Adobe AIR Application Installer:12808][INFO] Waiting for user confirmation
Edit: By the way, I've also tried the normal troubleshooting such as removing the crypt cataloge, removing cache and etc..
View 5 Replies
View Related
May 16, 2010
My main problem right now is doing floating point arithmetic within a bash script, with variables.Right now I have a folder called "myExamples" with a script called "run_example" that runs with no issues.I plan to(1) create many folders inside [myExamples], that are named [example10] [example11]...each containing an identical copy of (run_example),(2) modify Line 172 of each copy of (run_example)...in one copy, it would be 3.00, the next copy would have 3.05, etc. (This part doesn't work!)How can I use the available calculator bc code to do floating point operationsMy code is below -
#!/bin/sh
# run from directory where this script is
cd `echo $0 | sed 's/(.*)/.*/1/'` # extract pathname
[code]....
View 1 Replies
View Related
Apr 3, 2010
Whenever I got to type the command below:
#iwconfig eth1 essid mynetwork key xxxxxxxx
#dhclient eth1
to use this command, i have to be in su or sudo. Is there a way I could allow all users to invoke these commands without the root password?? I try to make a file (wireless.sh), which consists the commands above, in /usr/local/bin/. Change the mode to 755 (chmod 755 wireless.sh) however, it does not allow me to use this also.
View 1 Replies
View Related
Mar 29, 2011
I am not good at writing udev rules. I am using RHEL 4.7, I would like to invoke a file install.sh which is in CDROM as soon as the CDROM is inserted
View 2 Replies
View Related
Nov 17, 2010
I'm working on an application which generates random shapes when clicking on a window. I designed the window using Motif. I want to invoke the ButtonPress Event .
View 1 Replies
View Related
Feb 12, 2011
I have created a glade file which so far have two regions in it:
1) On the right division is a toggle button which calls a C script when enabled.
2) I have a drawing area, in which I would like to plot a point (X-Y scatter plot). The plot should be generated dynamically using a C script. I am not sure how the integration between the two is possible for a drawing area.
In glade what properties of drawing area should I set? eg.expose event, realize etc. I was thinking of using cairo for generating the plot.
View 2 Replies
View Related
May 5, 2010
I am trying to import variable values from a profile file to a perl program.
I am using the below command for doing it.
Quote:
system (". /opt/bbfb/bin/setbbfbenv $codeset");
the above command does make variable values available to the running perl program..
Can some one help me on this front..
View 1 Replies
View Related
Mar 22, 2011
I am running usb version of lucid 10.04.2, with many apt-get installs. Shortly after running awhile, programs will not run, I get either an "input/output error" or "Bus error (core dumped)". (Examples of programs rendered inoperable are top, df, file)
I've read something about a memory leak in Lucid, but in my case, the computer doesnt slow down, things just stop working. Is this a known problem with Lucid? I'm thinking maybe one of my apt-get installs corrupted something. Is this a known problem that has a software update available?
Here is the output of "top" which fortunately currently DOES work, while other progs don't. (the memory usage stays constantly in that 1.5 GB range)
Mem: 3056772k total, 1554952k used, 1501820k free, 173004k buffers
Swap: 0k total, 0k used, 0k free, 1081808k cached
View 2 Replies
View Related
May 11, 2009
I'm trying to do a little bit of setup on our new server and could use a hand.I'm working on creating a simple display script that our users can SSH in and invoke, here is what I'm attempting to do.
Requirements.
1. Must run X over ssh on Mac OS X 10.5 or greater
2. Must work in the office, or on the road
Implementation:
1. Set up the system to auth against LDAP (Open Directory)
2. Create a script on the PATH that checks which displays are available, and launches Xephyr for the first available one.
3. Create a client script that performs the SSH and Xephyr command so that users can simply click the script to start an X session.
I have 1 set up, but I'm having issues with 2 and hence 3. For instance, I can start XNest with the following commands.Start my SSH session
ssh ninet@10.0.1.50 -X
Load XNest
Xnest :1 -ac -geometry 1024x768 -once -query localhost
View 2 Replies
View Related
Apr 24, 2010
I just wonder the distinction calling the function between $(one_function) and one_function in bash shell script.
When I set the variable PS1 in ~/.bashrc, I can't invoke the function by one_func
ex:
export PS1="
[e[31m] $(one_func) # it works
export PS1="
[e[31m] one_func # it doesn't work
View 3 Replies
View Related
Jan 6, 2010
If a process becomes unresponsive in WINDOWS then we press "alt+ctrl+del" to invoke the task manager & then terminate the process.Is there any similar way to invoke the Linux Terminal so that we can end a process by the 'kill' command when it becomes unresponsive?
View 2 Replies
View Related
May 1, 2011
I have created a script which asks the user a few questions and then it configures the wireless network. I'd like to run it somehow while Ubuntu still boots by pressing a key for example. Let's say, while booting, when it comes to the script I made, it will sleep for a few seconds giving the user the oportunity to press the pre-defined key (eg: spacebar). Once pressed, then the script will load.
View 7 Replies
View Related
May 17, 2010
When I try to invoke 'source' command from within a shell script, namely, myscript.sh, I get the following error message code...
View 1 Replies
View Related
Jan 26, 2011
I have a very strange problem. My computer is unable to boot from any hard disk but is able to boot from any CD or DVD. I have double-checked the BIOS settings and I am unable to figure out why is this happening. I have noticed that the Windows installer boots from the CD only if one presses a key when the message "Pressany key to boot from CD..." is displayed on the screen, otherwise it boots from the first hard disk.I have a triple boot system with Windows 7 (64-bit), Ubuntu 10.10 (64-bit), and Fedora 14 (64-bit). I have a dedicated GRUB2 partion on one of my disks. What I want is a boot-loader (any would do) on a CD/DVD/USB drive to chain load the GRUB2 present on my hard disk, without a delay, that is, without showing any message, menu, warning, etc. So, is there a way to do that?
View 6 Replies
View Related
Jan 13, 2011
I am able to invoke 'skype' using the following command in a Terminal window. < export XLIB_SKIP_ARGB_VISUALS=1 && LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so && skype & >. I want to be able to enter it through the Gnome Application interface. I right click on the skype icon and went to properties and added the above code. When I click the icon I get the following error message set out on the attachment? properly enter the commands within the application Command: line?
View 2 Replies
View Related
Oct 9, 2010
My computer is connected to the college lan where almost all machines are some variant of Windows OS. If i use Places > Network, while windows network is displayed, mostly it returns unable to mount shares, my workaround for this problem is I use some tool like nbtscan to see which hosts are up and then use network > Connect to Server > windows share and type in the ip address, this mounts the windows share even though Places> network doesn't display such hosts. My question is there some command line way where I can invoke nautilus to mount the windows share, ie the same job connect to server > windows share does? And is there some application like say lan surfer for windows which lists all the folders shared by a windows client.
View 3 Replies
View Related
May 28, 2010
Compiz often keels over and then I have to restart the comptuer because even though I made a special script to restart it, I am unable to invoke it as I cannot change active window.However, since Metacity restarts itself, so should compiz. The question is - how?
View 5 Replies
View Related
Feb 16, 2011
I am running a Java application on the command line bash terminal under Mint Debian. I have JDK1.6.0_22 installed 64-bit, and the OS is 64-bit too. I have a few JAR files in the directory and a few native LWJGL libraries. When I run the application using the command line, all works fine.
Lets assume my directory where the files are is called /home/riz/MyGame. I change to that directory and this is the command I use code...
View 3 Replies
View Related
May 15, 2010
My main problem right now is doing floating point arithmetic within a bash script, with variables.Right now I have a folder called "myExamples" with a script called "run_example" that runs with no issues.I plan to(1) create many folders inside [myExamples], that are named [example10] [example11]...each containing an identical copy of (run_example),(2) modify Line 172 of each copy of (run_example)...in one copy, it would be 3.00, the next copy would have 3.05, etc. (This part doesn't work!)How can use the available calculator bc code to do floating point operations?My code is below -
#!/bin/sh
# run from directory where this script is
cd `echo $0 | sed 's/(.*)/.*/1/'` # extract pathname
[code]...
View 2 Replies
View Related