General :: Xclock Is Not Running In A Script?
Jan 10, 2010
I have created the following script which runs very well when it is executed alone.This script is to be run by a third party application (Oracle clusterware).The script (when is run by the application) doesn't successfully execute the xclock command. It even doesn't return the $USER variable.Following is what I got:
Code:
#
# Copy of the script
[code]...
View 1 Replies
ADVERTISEMENT
Feb 21, 2011
I recently dist-upgraded from Debian 5 to 6 (squeeze). Since then, the xclock I run from my window manager's start script isn't displaying correctly (it displays only a "0"). The thing is, if I run the same command in my start script in my terminal, it works just fine, as it has always done...
I use this rather "old" X applications because I like my programs simple/not buggy/fast, and it's resulting a rather annoying problem (being that apparently nobody else has it...).
All other programs in my start script (gnome-terminal, emacs, xmodmap, etc) are working with no problems whatsoever.
My window manager: sawfish
Command to run xclock in my start script:
Code:
xclock -digital -brief -geometry -0+0
Attached picture:
Top: xclock initialized by start script
Bottom: xclock initialized by terminal
View 2 Replies
View Related
May 9, 2011
I'm having some trouble getting xclock installed on RH linux (RedHat 4.1.2):not sure how this could be I thought xclock was a very common package? Is there a way to update the repository locations to point to more recent/updated database?Quote:
[02:43:22][root@host:/home]# yum search xclock
Searching Packages:
Setting up repositories
[code]....
View 3 Replies
View Related
Jan 28, 2011
I connected to host unix machine (oracle enterprise linux, shell is csh)by nomachine client(tried both the gnome setting and custom setting with konsole command). echo $SHELL
/bin/cshAfter I run .sh file (bash command) , the xclock does not work any more.Anyway to make it work after running the .sh file?
View 1 Replies
View Related
Oct 13, 2010
I want to configure the xclock in RHEL 5 can any assist me in configuring the xclock option.
View 2 Replies
View Related
Apr 15, 2011
When I do xhost + also it hangs.Without the xclock I am not able to run oracle reports in production for bar code printing as I am not able to start a standalone reports server. Help needed to start xclock and where to look for any help
View 2 Replies
View Related
Oct 8, 2009
I use kubuntu (8.04) which does not have a root account.
[sudo] password for ts:
However, starting xclock or gvim on root shell on konsole has the "Can't open display" error appears.
Error: Can't open display: localhost:0.0
Press ENTER or type command to continue
View 2 Replies
View Related
Oct 20, 2009
It's a problem that the time display of fedora is too small for me.So that I'd like to try xclock.However,I don't know how to run this program automatically as soon as I log in to my system.I got stuckedI've tried to modify the .bashrc file in my home directory.
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
[code]...
View 3 Replies
View Related
Jul 27, 2010
Hostname: Borg
OS: Lucid Lynx
Kernel: 2.6.32-24
Problem:
1. borg > xhost +
2. borg > ssh <anyuser>@<anyhost>
3. anyhost > export DISPLAY:<borg's IP>:0.0
4. xclock
NOTHING HAPPENS!!!! Any ideas? Here is what I have tried thus far.
Efforts:
1. gdmsetup - looked for security tab, doesn't exist
2. installed gdm2setup - still not there
3. looked for gdm.conf - not there
4. when doing ps -ef|grep X - there is a -nolisten tcp "could this be culprit" hmm not sure
5. modified /etc/ssh/ssh_config to Forward X
View 1 Replies
View Related
Dec 26, 2010
I have this problem. Whenever I issue command below,
Code:
ssh -X user@hostA
xclock
[code]....
View 4 Replies
View Related
Jul 23, 2010
I'm having trouble displaying Xwindows programs on a remote machine. If I run "ssh -X newmachine" and I login and then run a program like xclock, I get the error message:
Error: Can't open display: localhost:10.0
If I run the same command to an anothermachine which is running Ubuntu 8.04 it works fine and xclock displays on my localmachine. If I run the command "echo $DISPLAY" on newmachine, I see:
localhost:10.0
Also, I have checked and xauth is installed on newmachine. What setting I have to change on Ubuntu 10.04 to allow remote display of Xwindows programs?
View 4 Replies
View Related
Jul 26, 2010
I presume there is something in the JWM window manager - or Puppy Linux Lupu 5.01 itself that is conflicting with the normal loading of GMPLAYER....
I would like to know how to troubleshoot, and fix this problem if possible (even a workaround would be great).
View 1 Replies
View Related
Mar 9, 2010
i installed yumex:yum -y install yumex, when i start yumex it came with this error:fatal error:backend-not-running backend not running as expected (yumex will close) how can i solve it?
View 10 Replies
View Related
Jul 19, 2009
After "yum install emacs" & "yum install emacs-ess", I was able to install emacs on my X86_64 running Fedora 10.
If I run one session of emacs everything works fine.
Once I start a second session and try to resize or move the emacs window, the system stops responding.
View 1 Replies
View Related
Dec 25, 2010
Hi. I have Ubuntu 10.04, nm-applet is running in the background, my battery icon and sound icon are showing but my network icon has been missing for the past 2 days. It was working fine before but now it's not. How can I fix this issue if I don't have an ethernet cord? Is there a way to roll back the recent updates or do I need to reinstall my network manager?
I've tried restarting the system and I've tried killing nm-applet and reloading it using Alt F2. I get some Debug error.
When I try to run nm-applet --sm-disable
It says an instance is already running and then gives me a warning.
I tried removing "iface eth0 inet dhcp" from /etc/network/interfaces and then tried restarting by "sudo /etc/initi.d/networking restart"
It says:
What can I do to connect to the internet? I have a flash stick if its possible to download a .deb package on this mac and transfer it over to my other laptop to fix the problem. If its possible.
View 7 Replies
View Related
Aug 6, 2010
Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.
View 1 Replies
View Related
Sep 4, 2009
Is suid disabled from running all home made bash scripts or just from running them as root or:
Who would know for sure.
I googled several combinations of Mandriva Linux how-to suid disabled setUID etc... so far all I found was "many distributions are disabling suid for security reasons" nothing specific.
View 2 Replies
View Related
Mar 19, 2010
We are running IPmonitor to monitor the disk usage on our Linux servers. It does not seem to coincide with what is reported when running df -h. For example on a Red Hat 5.3 server - our IPmonitor shows that 85% is used on the /usr partition, however when I do a df -h on the server it shows that 91% is used. Why there would be a discrepancy? IPmonitor uses SNMP.
View 5 Replies
View Related
Apr 5, 2011
I can't figure out why but my processor is running at 100% on all four cores, and the fan is running at max speed. All I did was double click an a.out file created by g++, and it is running at full speed now.
[IMG]file:///tmp/moz-screenshot.png[/IMG][IMG]file:///tmp/moz-screenshot-1.png[/IMG]
View 3 Replies
View Related
Jun 1, 2010
My root Vixie cron crontab is set to perform a system snapshot via fsarchiver: 0 0 * * * fsarchiver savefs -o -A /backups/p30_root.fsa /dev/sda2 /dev/sda3 The command itself works fine, generating about a 7G snapshot of my Suse server. I then wish to rsync this to a NAS I have located in another building: 0 3 * * * rsync -av -e ssh --delete /backups/ root{at address}:/DataVolume/os_backups/
(yes, I'm rsyncing as root. I absolutely loathe it, but I got thrown into an quasi-SA position with a ridiculous to-do list and no time to do it. I'm having to make things just work and then go back and try to improve them/learn how. I couldn't make it work in a non-root way quick enough, so for now I'm having to cron rsync jobs as root because of all the differing file permissions on this samba/MySql server. I set the NAS to only accepts ssh from the server IP, and we're behind a campus firewall... It's serious trial by fire.) The crontab also has rsync commands for the samba areas, our specialized chemistry software and affiliated MySQL databases............
View 2 Replies
View Related
Mar 29, 2011
On my crontab there is an entry to run a script I wrote that backs up my local files to my remote server. It was working great, running once a day. However, I now want to make the script run every hour.The problem is that if there are too manyfiles to transfer (Example:I ripped a DVD in the last hour) the actual backup may take longer than 60 minutes.So I want to modify the script to check if my backup script, based on rsync, is running. If rsync is still running then do nothing and exit the script. If it is not running, execute the script as normal.
View 5 Replies
View Related
Aug 30, 2011
I have a 2011 MacBook Pro and I'm getting really frustrated with Lion. I was a long time Linux user prior to getting my first MacBook (I wanted the hardware, not the software, but stuck with it) and I'm thinking about returning, however, I do iPhone development so I need to have OS X available. Is there an easy solution to run Lion in a VM on Linux? It's not technically a Hackintosh because it's running on Mac hardware, but I'm afraid I'll end up having to do some Hackintoshing anyhow.
View 1 Replies
View Related
Aug 16, 2010
KDE panels look strange with black colors when I login using root account.Is it possible to make KDE look normal? I am using root account because I spend most of the time performing administration tasks and I don't want to type my strong password so frequently.
View 1 Replies
View Related
Nov 29, 2010
I've happily installed Linux on my MacBook Pro with 4 GB of RAM, but I only get 3.6 GB available:
[Code]...
View 1 Replies
View Related
Dec 5, 2009
I have burned the Linux Mint 8 "Helena" iso image to a CD no problem but when i try to run the "Live CD" a login box appears and no matter what i do i keep getting "Authentication Failure"?So i can't proceed running the "Live CD".Could someone help me out here please and tell me what i am doing wrong. I just want to run the "Live CD" before i decide whether to install the OS to the hard drive.
View 1 Replies
View Related
Jan 18, 2011
I'm looking for an OS to run WoW on mainly.
View 4 Replies
View Related
Aug 19, 2010
I'm trying to autodetect if certain applications (for example, Firefoxre running. I figured the easiest way would be by checking process names.
View 2 Replies
View Related
Mar 6, 2011
I need to get PAF 5 Running on Linux (MEPIS Ver 8) The mepis systems works very well on Open Office,and with printers and scanners an all the games I have tried
View 2 Replies
View Related
Feb 28, 2011
My problem is that my fan will keep running quite quickly once started. It will keep running till reboot independently of CPU usage and temperature. To check the temperature I installed lm-sensors. Output of temperature related commands and kernel version are below. Shouldnt they all give the temperature? My machine is a Toshiba Satellite pro L300. Eg. at the moment my fan is running quite quickly although CPU usage is 3-4% and the temperature according to lm-sensors is approximately 40-45 degrees Celcius.
Code:
:~$ acpi --thermal
Battery 0: Full, 100%
Thermal 0: ok, 0.0 degrees C
:~$ cat /proc/acpi/thermal_zone/THRM/temperature
[Code].....
View 4 Replies
View Related
Jun 6, 2010
GNU/linux kernel 2.6, Slackware 12.0.Hi:How do I know what processes are running?
View 6 Replies
View Related