|
Hi everybody, running cygwin on windows I can connect and execute X applications with no further problems just accessing the remote linux box as ssh -Y -l user machine. If I do the same against a mac box and try to open ie. firefox as: open -a firefox...
Started by julian on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Trying to run? Hopefully not just Firefox -- it'd be much easier to just use it on Linux than try to use.
|
|
Is it possible to prevent users from running certain programs on their Linux computers? Is there a whitelist method? A blacklist?
Started by Ivan on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at serverfault):
Or are you looking for more than that?
The simple from compiling things or ....
For a particular program or group of programs, set the group of the executable to that and then add usersUse groups and deny execute on the programs.
|
|
I'm working in linux. I have two programs that run for infinite time ( that is , wont stop unless i kill the process ).i want to run program 1 first and then run program 2 after 20 seconds ( both will have to run simultaneously as one reads a file written...
Started by trinity on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Prog1 & sleep 20 prog2
Using the shell:
$ program1 & sleep 20 ; program2
If one program reads of the other:
$> program1 | program2
I'm assuming that you have control over these two programs.
|
Ask your Facebook Friends
|
I manage Unix systems where, sometimes, programs like CGI scripts run forever, sometimes eating a lot of CPU time and wasting resources.
I want a program (typically invoked from cron) which can kill these runaways, based on the following criteria (combined...
Started by bortzmeyer on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Most of the watchdig-like programs or libraries are just trying to see whether a given process is running, so I'd say you'd better off writing your own, using the existing libraries that give out: /etc/login.conf CGI scripts can usually ....
|
|
I installed all the necessary packages for running GUI programs in Cygwin.
Right now, I have to do these things to launch an XWindow program:
1) /bin/startxwin.sh
2) It starts a separate window (the X Window?)
2) In that X Window, ssh -X user@server (...
Started by Saobi on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you want a nice GUI , AFAIK you need an X server to display graphics .
You programs directly.
"ssh -X" is actually not nesessary.
No, you have to launch X Window server (run startxwin.sh).
|
|
Hi stackoverflowers
is there any way to build/run small C++ programs, in Visual Studio without creating projects, like in old days in IDEs like turbo c++ you could just compile and run without creating projects.
Thanks in advance!
Answer Snippets (Read the full thread at stackoverflow):
First, create a batch file that will set up the compiler environment and run the compiler saved the file, the compile will run against....
Within the actual IDE, I don't think it's possible to run a small program, you have to use be.
|
|
Hello,
I need to run a couple of other programs from my own Java program, basically I need to run these command line statements.
svn log --xml -v > svn.log
and
java -jar example.jar arg1 arg2
and I need to use the text outputs written to the console...
Answer Snippets (Read the full thread at stackoverflow):
Here:
ProcessBuilder processbuilder try { processbuilder.directory(file); processbuilder.redirectErrorStream(true); process = processbuilder.start(); String readLine; BufferedReader output = new BufferedReader(new InputStreamReader(process.getInputStream... .
|
|
I'm considering a set of 4 programs: (Prog1, Prog2, Prog3, Prog4) interacting with 4 files (FileA, FileB, FileC, FileD)
Prog1: writes (appends) to FileA Prog2: reads File A and writes (appends) to FileB Prog3: reads File A, and writes (appends) to FileC...
Answer Snippets (Read the full thread at stackoverflow):
If each program opens the files.
A lot depends on the OS(-es) you plan to run opens each file, and where the data that Prog1 is writing comes from.
To look up "file locks"/mutexes etc.
|
|
Linux allows me to have a short system path by placing binaries in just a few locations. I don't have to edit the path because I just installed a new application, and I don't have to hunt for applications I want to run. How can I, with PowerShell as the...
Started by Brian on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Hope that helped!
Using specifically Powershell you can just create aliases for programs.
Many programs create an app paths entry in the registry (HKEY_LOCAL_MACHINE your path.
Apps into c:\bin.
|
|
I have a user who is playing games all day at work and I want to discretely control if and when he is able to run his game.
Is there a way to set up a schedule for when the program is allowed to run and when it is not allowed to run?
Started by Jeff Leonard on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at serverfault):
Running in its "allow everything, block exceptions" mode (called allowed programs or paths are permitted to run, Software Restriction Policy really has teeth this behavior during core hours I ....
Disallow program execution.
|