General :: Bring To Front A Process Started With &?
Feb 19, 2010
Consider I am logged on a machine via SSH.I execute a process having "&" at the end from a shell - I run the process in background.Then I log off from the machine.I am just wondering if it is possible to bring that process to front after I log onto the machine again?I would like to check the output of my running process.Or is there any different approach to have a process running in background and to be able to view its output (i.e. printf)
What should I put in my .twmrc, so that an xterm window is brought to front (raised) when I click anywhere in the window. Currently, I have to click on the title bar to bring it to front. Presently, I don't have any .twmrc in my Home folder.
I was expecting that notify-OSD bubbles behavior to bring the app displaying the notification, when you click on them. But in my case, when the mouse pointer enters the bubble, it fades out a little, and when I click on it, nothing happens.
Is that normal? Why doesn't a click bring the related app to front?
I start a process, put it in the background running, then log out, then log in again, and want to bring the process to front again. I've looked in "ps aux" for the PID, but it won't be put in the foreground with "fg ###". What's the correct way? (I use the same account for both login sessions.)
I had started a process through ssh and then i did 'cntrl+Z' and 'bg' and 'disown' before closing the ssh connection. That process kept running in the background in the other machine and now i want to bring it back to foreground in that machine. However running the command 'fg %<process_id>' is not helping. What do i DO!?
I have forgotten my administrative password and am locked out of my system. I have an HP Mini 1120NR and I am running Edubuntu software. I cannot remember which key I need to press during the restart process to bring up the system restore/recovery option.
Centos 5.4 64bitWould like to know when a particular process was started.1.Quote:ll -d /proc/4014/dr-xr-xr-x 5 mysql mysql 0 Nov 28 07:34 /proc/4014/2.Quote:ps -o pid,lstart -p 4014 PIDSTARTED 4014 Tue Nov 17 23:10:13 20091) Which one should I consider?2) why do both have such a difference?
I need to kill a process which has been started by user2 if I am user1 without being sudoers or using root.Do you know if there is a way of setting that when launching the process? Such as a list of users allowed to kill the process?
This causes Tomcat to be run as myuser, which is expected. However after issuing the reboot command the system starts up and root is now the owner of this process. How can I force the process to be started off as myuser on reboot?
We have a Oracle 11.2 database running on Red Hat 5.5. The database have a scheduled job to fetch some files from another server using ftp, and herein lies the problem.he job runs a pl/sql that runs the function in an (by us compiled) external libraryThe ftp-functionality itself is done by using libncftp and it's API's.The process starts correctly, but then trying to login to the actual ftp host, ncftp only reports "Unknown username/password" (which is not the case).I have the exact same code in an executable and when run from an interactive shell, it works fine.So the only thing I can come up with, is there are differences when the process is started by Oracle, rather then being ordinary" process.And I am stuck.If there are any environment variables, paths etc missing when running the extproc-process, how do I find out which?Because the real problem is NOT wrong user or password.
i upgrade system from fedora10 to 11 when i start the system i got following error
Unable to keep input method running giving up to bring the process up because main input method process for SCIM rapidly died many time.See .imsettings.log for more details
.imsettings.log file contains this
imsettings information ========================== Is DBus enabled:yes Is imsettings enabled:yes Is GTK+ supported:yes Is Qt supported:no
I started a process in a PuTTY session that I want to survive after I've disconnected. I issued a `disown` on the process (forgot to add the -h option). I've attached a small summary of the commands issued within the PuTTY session as well as an excerpt from the pstree (essentially switched user contexts twice, issued command, suspended program, disown'ed, resumed program
Command summary
Code: > su - > ... > su -l <useraccount> > ./myprogram
gkrellm process starts automatically without me indicate. In auto-run system preferences kde is not configured to start automatically, set at the time but removed it and just beginning the process continues in the background
I started a 'dd copy�ng' of one disk drive to another. Both disks are hooked to a remote machine and I initiated the dd command by ssh_ing into it.I have to shut down the box from which i initiated the ssh session.Is there any way I can keep monitoring the status (shell script)of the copy process, ie know when the dd command terminates and whether it terminated successfully .I could then ssh into the macine from another box and still know the status.
I recently installed KDE in my ubuntu 10.10. To access KDE, I want to use startx /usr/bin/startkdeBut using it disables sound in KDE (Sound is working fine in GNOME). It doesn't sound for anything like login sound, totem, mplayer or any other playerBut when I press Alt+Ctrl+F1 to change to virtual console, the playback resumes from where it was in time and when coming back Alt+Ctrl+F7 and the time in totem (or any other player) doesn't move. While log out also it doesn't play logout sound and doesn't logout, so I have to press Ctrl+Alt+F1 so that logout sound play then it exits.When starting KDE by kdm or gdm, the sound works normally. But I don't want to login again using kdm or gdm and not to use root user to start kdm or gdm.I don't know what is the difference between when KDE is started by startx or by kdm/gdm where the same user login in kdm/gdm as that for startx
I need to use php to run some scripts locally. I tried it with system, exec But it only brings back on line. Ideally I want to take all the out put back on my browser.
PHP ------>shell scripts ------> error + plus out put ^--------------------------------------------| some thing like that.
Just an enquiry is it possible to delete a distro off the front end of the drive, as I have 2 in no. and repartition the the whole drive with gparted and just leaving 1 distro on it.
I have created which uses Gnome Seed which is in the Ubuntu repositories (although the newest version needs to checked out from Git to allow it to work) and SeedKit which unfortunately isn't in synaptic but needs to be downloaded. The links to get the source for both projects are as follows:
[URL]
The proof of concept is a JavaScript/HTML based frontend of Gnome's Log Viewer. It doesn't replicate 100% of Log Viewers functionality but it produces the basics of it which is to display the contents of Linux log files. The tutorial and link to download the source files are as follows:
[URL]
For more information about SeedKit and HTML based User Interfaces are in my blog, link for that post is as follows:
Is there a graphical front end for xrandr that also allows you to save your setup so that it automatically sets up the X configuration at boot time thereby simplifying this process. For example, at the moment if i want to use an external monitor on my laptop i have to manually set it up after booting as it defaults to the laptop resolution which is not a big deal but would still be nice to have this happen automatically. I tried putting a script into rc.local to do this but didnt work.I have tried programs such as lxrandr, grandr, arandr which are all good but dont allow you to save your choices so that they are automatically applied at the next boot of the X system.
Let's say I have a program open on another virtual desktop. Is there a way I can bring that program to the current desktop through a script? The following command is the closest I can get:
wmctrl -a program This will switch to the desktop where the program is open and make it the foremost window. However, instead of going to the desktop where the program is, I want to bring the program to the current desktop. There is also this command:
wmctrl -R program The documentation says that this will do what I want, but it just does the same thing as the former command.
Our office housing keeping guy sat on my linux (Fedora 7) system and somehow removed the main panel. By panel I mean where all the menus are there - Applications, Places, System etc. and contains a tab for every running application. I brought back the panel but now I don't see the terminal launcher and I can't find it anywhere.It used to be there in "Applications -> System Tools -> Terminal" but now the System Tools option itself is not present there. System -> Preferences -> Look and Feel -> Main Menu. There one System option is unchecked but I can't check it and apply. I am logged in as root.
I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.