Red Hat / Fedora :: Executing A Perl Script In Remotely From Windows?
Feb 6, 2010Is it possible to execute a perl script which in a linux machine from a windows machine?I have to trigger its execution from my windows machine.
View 1 RepliesIs it possible to execute a perl script which in a linux machine from a windows machine?I have to trigger its execution from my windows machine.
View 1 RepliesFor routine tasks i have to execute commands on machines running both winxp and linux. I usually do it via telnet. But the process is very manual as i have to authenticate for each machine then specify the command.
Is there any way that i could automate this job using a script or so?
I have procmail parsing the subject line of incoming e-mail and depositing individual files in a folder that match the procmail recipe.I want to have that recipe spawn a perl script to parse the file to pull out specific information. I've googled this and found many examples but none of them work.When it finds a matching inbound message it logs it correctly in the charge.log file, writes the message in charges/new/xxx but skips the /home/rowan/billing.pl script.
View 2 Replies View RelatedI want to execute a awk command, which reads from txt files and sums the numbers from the first column for those listed only inside a <init> block -- The awk command is like
Code:
awk '/</?init>/{x = !x}x{a++}x && a > 2{sum+=$1}END{printf"%E" "
", sum}
So, I want to execute it inside a perl script, and execute the awk command for the infile which is also defined outside awk loop, ie doing something like
Code:
foreach $infile (@ARGV) {
$gzin = gzopen($infile, "r") || die ("Couldn't open file $infile
");
# No. events and cross-section from current file
[code]....
me using redhat linux.i want to to remotely access a system that have windows OS.I tried to install the utility rdesktop using following command. "yum install rdesktop" the following error occur
"Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
[code]....
I have been working on this problem for a few month. By messing with windows registry and local security policies I was able to remotely shut down windows from Linux by issuing:
Code:
net rpc SHUTDOWN -C "comments" -f -I xxx.xxx.xxx.xxx -U username%password
But now I am wondering how to force windows into sleep or suspend remotely from Linux.
It seems that there is no "net rpc SUSPEND" or "net rpc STANDBY" option available.
how to perform such remote operation?
I run Fedora 13 on my HP dv6000 Pavillion. I am looking for a way to remotely access my work station running Windows XP from my Fedora machine. Most of the information I found explained how to access a Linux box from a Windows environment, and the one place I found that showed the other way around was incomprehensible.
Our company servers run Windows XP, and we have successfully installed remote desktops on other laptops running Windows.I thought of running the remote desktop from a Virtual Machine Windows session, but it seems a cumbersome way to do it.
Is it possible to connect remotely to a Windows PC from Ubuntu.I know these people that are constantly receiving Malware on their PC's and when I'm around. The problem is, they are over 200 Miles away, and I won't be in the area until a very long time. Would it be possible to connect to their PC remotely with Ubuntu and remove their viruses via ClamAV?
View 7 Replies View RelatedI want to access linux server remotely from windows. I precisely dont need GUI. Just want to work with vim editor. currently I am using ssh software and xmanger software.Running ssh software dosen't give the feel and speed. However xmanager is fine to work. Can somebody suggest me from where i can get free latest xmanager software or better then it.
View 11 Replies View RelatedIs it possible to access remotely Linux from windows xp.
View 4 Replies View RelatedI am having problems printing from a terminal emulator from a windows workstation to a red hat printserver. I am using a program called Termlite to connect to the red hat server to access the application I am trying to run.
All other applications can print properly on red hat machine except this particular application that I am running from Termlite.
I am trying to setup the wlan access for my Fedora 9 system. I installed ndiswrapper. But when I run
Code:
ndiswrapper -l
i am getting the error
Code:
/usr/bin/perl: symbol lookup error: /usr/bin/perl: undefined symbol: PL_use_safe_putenv
I'd like to have my Linux box (a QNAP TS-210 NAS) send the order to go to sleep (or hibernation) to my main Windows 7 computer.As the NAS is running Linux, I can't use psshutdown from SysInternals' PsTools. Is there any Linux equivalent? Or some "magic packet" that can order the Win7 computer to sleep.I know I could install a SSH daemon and trigger a shutdown command from the Linux box using ssh, but ideally I do not want to install anything on the Win7 computer. I can install Linux software on the NAS, no problem about this. PHP, python and perl are also available on it.
View 3 Replies View RelatedI'm using Window-XP and need to remotely connect to a CentOS-5.X server.
UPDATE: I'm looking to visually, securely and with as small a footprint as possible manage a remote Linux system via an GUI. It's not clear to me if Linux has a default method for streaming the desktop. Before installing something on the remote Linux system, is there a grep or find I should run to see if there's existing support on the computer? looked at Xming, but couldn't tell what it's doing; meaning if like WinSCP it's just creating an interface on my end and running CMDs remotely, or if it's streaming the desktop.
I've been looking for a way to use my laptop (running Ubuntu) to help service a remote laptop (running Windows XP). I've used TeamViewer and Cisco's VPN Client before, but TeamViewer is Windows only, and I don't want to pay for a Cisco system just to help maintain my friend's computer.
Ideally, I'm looking for something similar to the programs listed above, but I really just want to know if any of you have done this before, and if so, how?
Debian5.0
Windows server 2007
Windows Vista
WAN - public IP or Internet
I'm looking for a reliable solution to remote-admin Windows server and workstation on Linux workstation. I have been running ssh for sometimes to remote-admin Linux/Unix servers on Linux workstation. Google brought me following links; OpenSSH for Windows
[URL]
OpenSSH on Windows v3.4-3
[URL]
How to install OpenSSH sshd server and sftp server on a Windows
[URL]
The project OpenSSH for Windows seems coming to a stop.
I have a java application running under Linux (Suse). My application communicates with a windows service via TCP/IP. I had multiple cases where the windows service crashed and I'm wondering if in such case there is any Linux or java tool I could use to remotely restart this Windows service.
View 2 Replies View RelatedI need to copy file from my Windows XP system to remote Linux system.
Win location : c:1.txt
LInux location:/tmp
What should be the command?
EDITED: pscp is recognized and OK on my PC.I CAN connect with Putty to this remote Linux PC remote Linux name is s1,hostname is s1host
I tried transfer file with following command:
pscp C:1.txt s1@s1host:/tmp
Got:Fatal: Network error: Connection timed out
It's not clear,is command isn't ok?
I have been trying to shutdown a remote XP machine but cannot get it to budge. I did the following on the Windows box:
Ensured no firewall
Started Remote Registry Editing service
Shared a network drive (to enable file sharing?)
Created a user 'shutdown' specifically for shutting down
Added 'shutdown' to Administrators group
Added 'shutdown' to the list of allowed shutdown users in gpedit.msc
Here's what I have tried:
From Windows 7 box:
shutdown -m computer (Access denied message)
psshutdown -m computer (Access denied message)
runas /user:computershutdown "cmd /K shutdown -m computer (access denied)
runas /user:shutdown "cmd /K shutdown -m computer (access denied)
From Linux box:
net rpc shutdown -I computer -U user%password (says shutdown succeeded) rpcclient -I x.x.x.x -c shutdown -U user (gives usage message)
I've been spending sometime trying to setup anclient on windowso access my fedora serverI'm currently using xming but there's no way whatsoeverme to make gnome available remotely. The closest I got was to open a standard X session with no icons but just a terminal.Is there any quick sanity check I can do before spending more time on this
View 2 Replies View RelatedI wanted to setup a Samba share on a box running Ubuntu 10.4 and share it to Windows 7 computers throughout my house. When I browse the Network (thru Windows), I can see "Media Devices" that correspond with the locations of where I will put the media. The problem is that I have been unable to copy the media to the Ubuntu server because I cannot see the Ubuntu "computer" from Windows 'Network'.
All computers are on the same Workgroup
Running the following command line from Windows returns no errors and lists the samba share:
Using the testparm command on my smb.conf returns only one error (which previous googling seems to indicate is not an issue). The following is what was returned by the command:
Code:
Does anyone know or recommend some software or a script to remotely power on a PC from standby to on, or even better from completely off?
I guess the completely OFF to ON is much more complicated - would probably require an extra piece of hardware(?)
I'm not terribly new to Linux, but I am new to the forums, so hear me out! I am in the process of creating an electronic mapwall for our meteorology program, and have designed the computing system from scratch. I have two Linux Boxes, each with capabilities for 6 attached monitors...a total of 12 displays driven from two machines. My intention is to have one machine be the master...it has a touchpanel control. The inputs to the touchpanel will then trigger events for the both the master and the slave machine to display. Each of them has a specific IP address (DNS entry), and are not on a subnet.
Now...is there a way to remotely login to the slave machine and have it display on it's OWN monitors? The code is Java and which works on the master machine to animate directories of .gifs for each of the master's attached monitors. I will most likely have Java execute shell commands for the remote login (ssh), but I believe the answer lies somewhere in the X-configuration. Do I have the machines in an adverse configuration (creation of a subnet would be better)? Lots of questions...lots of desire...few answers!
I am new to Xen Hypervisor and wanted to know if someone has any good guides to configuring it please. Also once i configure a Guest OS how can i connect to it remotely via a windows and linux machine?
View 1 Replies View RelatedI can ssh to the server but it wont allow me edit files, even though I have basic text editors like gedit and notepad installed on my windows computer. Anyone have an idea what the problem is? (I get an error message like this-(gedit:23978): Gtk-WARNING **: cannot open display
View 3 Replies View RelatedIm somewhat new at perl and was wondering if there was a way to run a perl script or tool made from perl, from a USB pen that would work both on Linux and on Windows?
View 1 Replies View RelatedI ve been writing perl scripts for testing.( i am into telecom testing) I require a gui based tool where in the scripts can be loaded and run with one click of mouse? GTK is one option i got. But anyone knows any tool which is more user friendly, require less tweaking around for the set-up and is somewhat readymade for running perl scripts? And which is open source and can be downloaded from internet?
View 1 Replies View RelatedI am a newbie in perl and I am trying to develop a script that should try to login on all windows machine in a LAN say 192.168.100.0/24 with a given username and password. I am not sure wether it will use RDP or any other protocol, so I am getting confused how to proceed.
View 3 Replies View Relatedi have many text files in my directory and when i click on them to open them os treat it as a runnable file any says display or run or run in terminal ... i want to pick up recursively the tick of "Allow executing file as program" for all files.
View 2 Replies View RelatedI extracted the Drupal package (6.20) to /var/www/html and followed the provided install.txt file, but whenever I try to navigate to the site it simply comes up with the PHP script as plain text (it does automatically redirect me to install.php) rather than executing it. PhpMyAdmin works fine, as does a simple PHP "hello world" page I made, so I assume PHP isn't the problem. Now my question is: what could be causing this?
I can't tell for sure if the problem's with Drupal itself (I started over once with no luck) or some setting on my system, but since I don't have an account there I figured I'd ask here first.Running F14 x64, Apache, PHP and MySQL are all at latest versions available.