Fedora :: "find" Lockup \ Opening Another Xterm Window And Killing The Listing Command?
Oct 12, 2009
I have a problem that I'm not sure how best to debug. About every other time when I boot my system, I get a condition where listing the files in /root locks up that xterm session.This can be cleared by opening another xterm window and killing the listing command. This happens on "ls -a", "find", "tar" and I think "stat" also. The locked up xterm echo's chararcters but does not respond to any control sequences. This is new with FC11.This has only been seen to happen for root. And once a system is booted with this problem it seems to persist until you get it booted without the problem.
Our Fedora 15 linux box have the following requirements:
1. Runlevel 3 1. Autologin as root for convenience 2. Run Xorg 3. Run xterm on display :0.0 4. Lauch our program on display :0.0
So we simply put step 2 ~ step 4 in the .bash_profile of root user:
# .bash_profile if [ -f "/.bahsrc ]; then .~/.bashrc fi export DISPLAY=:0.0 Xorg & sleep 3 # for some reason, we need this three seconds to make sure that xterm start up successfully xterm &
The problem is, if I issue "kill xterm", it flashes out some messages disappearing so quick that I can't even read, and then leave me with a black screen with a cross cursor at the center. The system seems to be crashed, even the numlock doesn't work. Since we execute xterm & during logging in, now I can crash my system simply by pressing ctrl + C ! That's disaster!
Firefox opens file listing instead of Nautilus opening file listing.When I access a folder via "Places" -> "Home Folder" or "Places" -> "Downloads", Firefox opens and list the contents of the directory.I have re-installed Nautilus, un-installed Firefox and then going to "Places" -> "Home Folder" or "Places" -> "Downloads" launches Nautilus and I can view the contents normally. Anybody else had this problem with Firefox ? Anybody know how to fix this Firefox problem ?Running Ubuntu Desktop 9.10 64bit.
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.
What's the best procedure to kill a desktop window from the command line? I'm having the problem on a FC 12-64 machine that using the File Browser window locks up most of the desktop. This might be software problem or it could be due to a defective mouse. I haven't had time to see if other windows cause the same problem. To do that, I'd like to kill the File Browser window.
The only windows that work are terminal windows. So I tried using the command line from a terminal to kill the file browser. When I do a kill -9 on the process involving nautilus, the process dies, the File browser window flickers off and back on, and then a new process involving nautilus appears in the list displayed by ps -ef. Is there a way to kill the File Browser window and make it stay dead?
Within the mv() command is there any way to not need to type the entire directory location? In the example there are directories with varying depths... I want to move a file from depth 2 to a directory of depth 3 when the directory of depth 3 is within the directory of depth 2. Basically, can I cp() andor mv() a file to a subdirectory without having the enter the entire directory location?
Code:
[root@xxx dir]# ls dirD1 [root@xxx dir]# cd dirD1/dirD2 [root@xxx dirD2]# ls
I am new in Linux,i build nano editor on Linux,it compile successfully but when i open in terminal then error displays "Error opening terminal : Xterm" while nano help is running successfully.
I have X Window running on one of RHEL Machine 192.168.2.2.I have logined through putty from remote Windows Machine 192.168.2.5. Now What I need to open the xterm (if I run the command through putty it should open xterm in the linux Machine).
Using the following command: xterm -e tail -f stdout.log
I can see the log of an applications and it's update in realtime. I want to uninstall the gnome and I'm looking for the equivalent command for the terminal. I want on startup tty4 for example to show me the log.
I am quite new to Linux and fedora. I am trying to run some molecular simulation software whose shell scripts create X windows with the xterm command. How do I get xterm on Fedora 14?
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 want to kill parent process after "fork()" method. but if I kill parent process with "exit(0)" method, main() thread is terminated as well so child prosess doesn't work anymore. Is there any way to kill only parent process without affecting to child process?
Im trying to list the cpu usage of all process that have a cpu usage of 10% or more. Im not interested in the lower usages. Im using the top command and can get a list of all the cpu usage for all the process but cant only get the processes with 10% or more. I'd want these processes sent to a new file. Would I be able to cat the cpu usages and PID into a file?
how to make a program open in a window, much like the -w command you can put in a launcher under gnome. Alternatively if someone could guide me on how to install gnome in lubuntu i could just give that a try too..
suppose in my current directory, I have 50 sub-directories. Now, I am interested only in about 20 of those sub-directories (whose names match a pattern). I would like to recursively list the contents of these 20 sub-directories. How do I do that ? I would like to do this in Solaris 10 and Linux(RHEL 5.x).
I like to alias my firefox commands so I can open up mutiple pages at once. This works great. firefox [URL]
But if I have firefox already up and running it will open as tabs of the firefox I already have running. How can I open the multiple pages in a new window in this case?
- Using -no-remote could work, but I would have to make a whole different firefox profile for each set of pages, not really a solution. - Also tried setting it to a particular display and it opened as a tab again. ie. firefox [URL] -display=":0.0"
In Pidgin browser preferences, it's set to open in new tabs. But when I click on a link in IM, it opens in a new window instead. Is this because I use Google Chrome in the Incognito (Private Browsing)?
When I VNC into my CentOS server I am always met with the usual GUI and an annoying terminal window. If I try to close the terminal window it reappears immediately. I can only minimize it to the taskbar. Am I missing a simple setting to disable this?
Here is my xstartup file:
#!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc
i am using Fedora 14. Once system get hanged during opening a video file so I had to restart the system by pressing restart button. But after restarting there are few problems appearing like system monitor not opening and Thunder bird opening but not showing any folder including inbox.
---------- Post added at 04:54 AM GMT ---------- Previous post was at 04:42 AM GMT ----------
Using a xterm window to remotely log in and reboot a Redhat server causes the window to "hang" once the remote server reboots and I cannot close the window using Ctrl-D.