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


ADVERTISEMENT

General :: Launching Applications In Xterm?

Jul 19, 2011

I've search around and looked at the man page but can't seem to figure this out.. using fluxbox one can click an application in the menu and it opens without a supporting terminal. However, if I open xpdf in the terminal, xpdf launches and the terminal waits for it to exit... my question is, what is the command to hide the terminal and just launch the application?

View 5 Replies View Related

Fedora :: Error While Launching Xterm?

Feb 21, 2011

On FC14, launching xterm gives log:[b16394@udp158975uds ~]$ xterm Warning: Cannot convert string "nil2" to type FontStructxterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1

View 2 Replies View Related

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 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

General :: Copy Text From Xterm Based Terminal To Some Other Gui Application?

Jan 13, 2011

i use uxrvt ( for those who dont know, its terminal emulator based on xterm).i know its easy to copy/paste stuff from terminal to itself is a trivial thing. it can be done by mouse left click to select and middle click to paste.but in my case i need to copy text from terminal to another application, viz on google chromium.

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

General :: Termination Of A Process Release File And Other Resources ?

Apr 15, 2011

If I forget to close a file, a socket or any other resource in a Linux process, and the the process terminates, will those resources be freed? Is there a difference if the process terminates normally or is killed?

View 3 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

General :: How To Copy Things In Xterm And Paste Them Outside Of Xterm

May 2, 2011

i have fluxbox and i need to know how to copy things in xterm and paste them outside of xterm.

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

Slackware :: Intel Graphics / Vertical Lines From Xpdf/gv Under Xterm Stick To Xterm Window Making It Unreadable?

Jun 13, 2011

Start xpdf or gv. Click an xterm to be active and slide it over xpdf/gv. Vertical lines from xpdf/gv under the xterm stick to the xterm window above and make it unreadable.

The problem does NOT show with KDE default settings with display effects on but does show in fvwm, xfce etc, and in KDE without effects.

On a system with a Sandy Bridge integrated graphics (i5-2400) the problem went away by downgrading to xf86-video-intel-2.13.0. But it was not enough for another system with 945G which needed downgrading to xf86-video-intel-2.12.0.

View 3 Replies View Related

Ubuntu :: Xterm XT Error: Can't Open Display: Xterm: Display Is Not Set

Aug 20, 2010

I've just installed xterm, ant trying to run it from my windows machine using ssh. I have X11Forwarding yes on /etc/ssh/sshd_config when I use, MobaXterm, np, I can use xterm after I log ssh -X xxx

but when I use Cygwin, and do ssh -X xxx, and then xterm, I have: xterm XT error : Can't open display: xterm: Display is not set

View 3 Replies View Related

Software :: Configure Xterm Colors If Xterm Can Support 256 Colors?

Jul 3, 2009

I have a xterm which can have 256 colors. How can I configure the prompt colors and ls output colors to take advantages of the 256 color values?

View 4 Replies View Related

Programming :: Creates A Child Process With Fork And, When The Child Ends, Receives The SIGCHLD Signal And Wait For Its Termination?

May 23, 2011

I have a doubt about signals in C programming. I have done this little program to explain it. It creates a child process with fork and, when the child ends, receives the SIGCHLD signal and wait for its termination.Ok, quite easy, BUT when I execute this code the SIGCHLD signal is received twice, first as an error (returns -1) and the second one to finish the child process.I don't understand the meaning of the first received signal. Why is it generated? Is the code wrong? (if you add the SIGINT and press Ctrl+C during the execution it also receives two signals instead of one)

Code: #include <stdio.h>
#include <unistd.h>
#include <string.h>

[code]....

View 4 Replies View Related

General :: What Is Xterm And How To Use It

May 14, 2010

I am beginner for linux. I wanted to ask something about xterm.
1. what is xterm?
2. what is the use of xterm and how can we use it.

View 2 Replies View Related

General :: Launching TMUX Using Gnome Terminal

Oct 18, 2010

I'm a little confuse regarding how one launches tmux. When I launch my terminal (current gnome-terminal), I would like to have tmux up and running. I'm currently doing this by calling "tmux" in my .zshenv (kind of like .bashrc in bash). This does in fact launch tmux, but has some annoying side effects. First, hitting Ctrl-D to exit the shell, only kills tmux, and leaves the tmux-less gnome-terminal still running. An additional Ctrl-D will kill that as well. Second, when ssh into a box with this setup, I get a second, nested instance of tmux. I don't want tmux to launch again when I ssh. Is this the right approach, how should tmux be launched usually?

View 2 Replies View Related

General :: Launching ZENITY On A Given Position On The X11 Screen?

Dec 5, 2010

how to pass the position to zenity to be launched specific place of X11? No info are given [URL]

View 3 Replies View Related

General :: Ap_get_server_banner Error When Launching Apache2?

Jun 28, 2011

I have just installed Apache2 v. 2.2.17 on Ubuntu,and I am trying to get it to work with Ruby (v 1.8.7). I have followed the instructions on the Ubuntu site and ended up installing Phusion Passenger v 3.0.7, making the suggested changes to the httpd.conf file.

When I launch Apache2 I now get the message:

Cannot load /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so into server: /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so: undefined symbol: ap_get_server_banner

I have found a bug report (url) that suggests "adding a dependency" but am not sure how to do that. Any kind soul out there can take pity of this eager Linux neophyte?

View 4 Replies View Related

General :: Nvidia Module Not Launching After Update

May 8, 2011

I don't seem to be able to launch the nvidia module. It is installed with

# apt-get update
# m-a clean nvidia-kernel-source
# m-a purge --force nvidia-kernel-source
# m-a prepare
# apt-get install nvidia-kernel-source/unstable
# m-a a-i nvidia-kernel-source

All seems to be fine, the build and install is successful, but launching xorg fails. The log shows, well not what it use to since my last attempt. Now it is trying to load several other drivers before it defaults to the vesa driver. But that may not be the case if I reenable xorg.conf. It was saying something about not being able to "open" the nvidia module. Not that it was not there but it was not able to read it, like the permissions were not right. I checked the permissions and they are 644. A different debian install I have on the same machine has those same permissions.

View 10 Replies View Related

General :: Skype Doesn't Appear In Panel After Launching?

Jun 25, 2010

After the latest update manager was run. Skype no longer appears in my panel when launched. A window opens to log in, but if I close that window skype disappears instead of minimizing to the panel like it used to. When I click the launcher it tells me there is another instance of skype running. (oh really?) Where?

View 5 Replies View Related

General :: Cannot Get Rid Of Xterm Processes

Jul 26, 2010

I had this error when installing and running a vncserver before, which I have now removed. However, the xterm's seem to remain in the system and are regenerating themselves. Should the pid IDs stay the same each time I run this?

Code:
[root nxserver]# pidof xterm
15034 15033 15032 15031 15030 15029 15028 15027 15026
[root nxserver]# pidof xterm
15044 15043 15042 15041 15040 15039 15038 15037 15036

[Code].....

View 10 Replies View Related

General :: How To Find Out What Xterm Is In Use

Jul 28, 2010

Is there a command to find out on what xterm I am (gnome, kdm, etc)? I currently have Ubuntu 10.04 LTS.

View 2 Replies View Related

General :: Sudo In .desktop File When Launching Graphical App

Feb 8, 2011

Fedora 14 i can run a program with another user with:

But:

it doesn't work, if i put the command in a .desktop file.

View 1 Replies View Related

General :: Vncserver Keeps Launching In Failsafe With No Errors Being Generated?

Dec 14, 2010

I installed VMWare Server 2 and while configuring itI decided to perform a reboot as it kept generating errors.When my server came back upwill only launch my vncserver in twm (failsafe) mode.I have checked for any kind of errors and there are noneIn the same location I have another linux box which is identical and it works fine. I have compared everything and cant seem to figure out what is causing this.I manually uninstalled VMWare server using yum and the problem is still there

View 2 Replies View Related

General :: Xvnc Sessions Do Not Allow Program Or Terminal Launching?

Feb 12, 2010

I just added 8 additional vncserver sessions(Xvnc) (using a well-documented procedure my predecessor used) to my RH Enterprise 2.4.21-4 (OK it went by fast) server. This brings the number of session listed in my /etc/sysconfig/vncservers file to ~32. Applications and terminals now seem to choose if they will open or not in the Xvnc session and not all sessions start at boot. I can start them manually, and they will work, but then they stop working properly. You can open a session, view the active desktop, click on menus and associated drop-down items to try and open apps, but the apps/terminals just won't open. Is there a limit to the number Xvnc Sessions that can be managed? If so, what is it? This happens whether I try to connect from a Winddows box or another Linux box.

View 3 Replies View Related

General :: Configure Files For Xterm?

May 4, 2010

Is there any config files for xterm for default settings? For example, on my system, xterm start with black text on white background, and I want it the other way around. I can do it by starting it with:

xterm -bg black -fg white.

I want to set in a config file that if I run it without arguments, it will start with these options.

View 1 Replies View Related

General :: Alt-d Alt-f Etc. Stops Working In Xterm?

May 18, 2011

Something weird sometimes happens on my Debian system. Typically at the prompt line I can use combo like alt-d to delete a word, alt-f to go to the next word, etc. But quite regularly something happens in my xterm that makes alt-d and alt-f not work anymore: suddenly they print 'ä' (alt-d) and 'æ' (alt-f).

Note that this happens in a terminal that was acting like I wanted to at first. But then somehow must send a code or something that changes the behavior of the terminal. It happens in xterm because that's where I always work. If I go to a console by doing ctrl+alt+f1 then by default alt-d does what I want (delete word) and so does alt-f. Maybe that I could screw that one too by doing some bad manipulation: I just don't know because I don't work in text mode.

Also note that if I spawn an xterm from the "broken" xterm, then the new xterm work as I expect. What is going on? What am I turning on that was off previously? My .Xresources says that and, once again, when I open an xterm it behaves as I expect it, it's only later on that "something" makes that it goes back to broken "I-print-characters-with-diacritics-and-other-nonsense" mode:

$ more .Xresources
XTerm.vt100.eightBitInput: false
XTerm*eightBitInput: False

View 2 Replies View Related







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