02-05-2009
1. Did you check logs why its not running?
2. Are those script executable?
3. You can also try putting them into your bash_profile.
4. Are you using any environment variable, if yes you have to specify that path and export while running your script.
- nilesh
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi guys :)
I'm having a slight problem. Every time I run the StartX command from my csh, it just says cannot access terminal. Can anyone tell me why this is and what it means?
Thank you :)
hellz. (15 Replies)
Discussion started by: hellz
15 Replies
2. UNIX for Dummies Questions & Answers
I just built my first Solaris 8 machine. I start x using this command (assume I'm in the correct directory):
./startx
After I run this command, I receive this extremely frustrating message:
/startx: XAUTHORITY=//.Xauthority: is not an identifier
Can someone tell me what I am doing... (4 Replies)
Discussion started by: rpeteg
4 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone.
I just installed FreeBSD recently and when I type the command startx, I get the following errors:
(EE) failed to load module "fbdev"
(EE) <default pointer> cannot find which device to use
(EE) xf860Open erial: No evice specified
(EE) <default pointer> cannot open input... (3 Replies)
Discussion started by: cosmotron
3 Replies
4. Debian
hello
i have installed xfree86 with debian 2.4, but i have the message when i launch startx:
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
xauth: (argv):1: bad display name "uxdev1000.lobino.fr:0"... (0 Replies)
Discussion started by: pascalbout
0 Replies
5. UNIX for Advanced & Expert Users
When I try to run startx or xterm the window opens fine, however when using keyboard incorrect chars are displayed, e.g pressing return displays 2 (0 Replies)
Discussion started by: gefa
0 Replies
6. UNIX Desktop Questions & Answers
Hello,
Ive installed freeBSD 6.0 - and the prompt part of the system works well. Ive then tried to install KDE for graphic interface to the unix system.
The problem is:
Whenever I run "$ startx" it starts some graphical interface, but its totally swirled, you can sense that in the background... (1 Reply)
Discussion started by: congo
1 Replies
7. Shell Programming and Scripting
I have edited /etc/inittab to auto login as root in level 3
and edited .bash_profile to auto start x window
I would like to auto start a firefox browser after go into x window.
I tried to add "firefox" in /etc/rc.d/rc.local but no effects.
Anyone have suggestion?
Thanks in advance. (1 Reply)
Discussion started by: uativan
1 Replies
8. Debian
Hello :-)!
I installed Debian (I downloaded it on may 2009 so it is new version) from CD. I run it and see only text console. I try to type "kde" or "startx" but it doens't recognize those commands. That's difficult for me to believe that Linux from CD doesn't contain graphical interface so I... (2 Replies)
Discussion started by: johnyjj2
2 Replies
9. Ubuntu
Hi,
I am running Ubuntu 8.04.4 on a Sun Blade 1000 SPARC. I installed both kubuntu and xubuntu in attempt to load a gui onto the machine. Both fail when trying to start them.
When I use startx I get the following error:
(EE) Failed to laod module... (0 Replies)
Discussion started by: swilso
0 Replies
10. AIX
Hello,
Is there a way to run
xclock
or
startx
on LPAR, since LPAR doesn't have any console or it is connected to HMC
usually the way is to export the display to some PC which has Xmanager running on it, but in my case, I want to run xmanager on the AIX Lpar and run on it the... (2 Replies)
Discussion started by: filosophizer
2 Replies
PPERL(1p) User Contributed Perl Documentation PPERL(1p)
NAME
PPerl - Make perl scripts persistent in memory
SYNOPSIS
$ pperl foo.pl
DESCRIPTION
This program turns ordinary perl scripts into long running daemons, making subsequent executions extremely fast. It forks several processes
for each script, allowing many processes to call the script at once.
It works a lot like SpeedyCGI, but is written a little differently. I didn't use the SpeedyCGI codebase, because I couldn't get it to
compile, and needed something ASAP.
The easiest way to use this is to change your shebang line from:
#!/usr/bin/perl -w
To use pperl instead:
#!/usr/bin/pperl -w
WARNINGS
Like other persistent environments, this one has problems with things like BEGIN blocks, global variables, etc. So beware, and try checking
the mod_perl guide at http://perl.apache.org/guide/ for lots of information that applies to many persistent perl environments.
Parameters
$ pperl <perl params> -- <pperl params> scriptname <script params>
The perl params are sent to the perl binary the first time it is started up. See perlrun for details.
The pperl params control how pperl works. Try -h for an overview.
The script params are passed to the script on every invocation. The script also gets any current environment variables, the current working
directory, and everything on STDIN.
Killing
In order to kill a currently running PPerl process, use:
pperl -- -k <scriptname>
You need to make sure the path to the script is the same as when it was invoked.
Alternatively look for a .pid file for the script in your tmp directory, and kill (with SIGINT) the process with that PID.
ENVIRONMENT
pperl uses the PPERL_TMP_PATH environment variable to determine the directory where to store the files used for inter-process
communication. By default, the subdirectory .pperl of the user's home directory is used.
BUGS
The process does not reload when the script or modules change.
$^S is not represented identically with respect to perl, since your script will be run within an eval block
AUTHOR
Matt Sergeant, matt@sergeant.org. Copyright 2001 MessageLabs Ltd.
SEE ALSO
perl. perlrun.
perl v5.14.2 2011-11-15 PPERL(1p)