LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-31-2005, 06:27 PM   #1
Xnake
LQ Newbie
 
Registered: Jul 2005
Location: Spain
Distribution: OpenSuSE 11.1
Posts: 14

Rep: Reputation: 0
Start/stop remote Windows services with Samba


Hello everybody. This is my first post.

I would like to know if there is some way to start/stop services on a remote Windows machine using Samba (or another tool) from a Linux machine.

Thanks in advance.
 
Old 09-01-2005, 09:27 AM   #2
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
samba is a file/print server or client, it doesn't give you a session on the Windows target. To take over a Windows box, telnet is a (bad) solution, vnc is another (slightly better).

So far I haven't seen a terminal server client for Linux, nor a ssh server for Windows...

Another (rather twisted) possibility would be to run a program (i.e. a php script) on the windows box with the task scheduler, and have a linux machine to set messages at this script disposal on the local web server, for instance. If the php script runs with the proper rights it may start/stop services in response to the messages...
 
Old 09-01-2005, 05:06 PM   #3
Xnake
LQ Newbie
 
Registered: Jul 2005
Location: Spain
Distribution: OpenSuSE 11.1
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for the answer.

We were considering to use another Windows machine as a bridge with Apache and a CGI to connect to the controlled machine (Windows). We use the original Linux machine to monitor/control several services in different Linux and Windows machines and this Linux would send an http request to the "Windows bridge machine".

With a Windows machine we use netsvc (in W2K Resource Kit) to do this, but we want to control everything from Linux.

Thank you very much.
 
Old 09-03-2005, 12:08 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Quote:
So far I haven't seen a terminal server client for Linux, nor a ssh server for Windows...
Linux Google:
"windows ssh server"
"terminal server client"
to see the variety of possibilies.

If you're running KDE:
Quote:
From the KDE Help Center
Remote Desktop Connection is a client application that allows you to view or even control the desktop session on another machine that is running a compatible (VNC) server.

You would typically use Remote Desktop Connection with the KDE VNC server, which is Desktop Sharing, since it closely matches the special features of Remote Desktop Connection.
Works w/ Winders also.
Quote:
From the Remote Desktop Connection Dialog box
Enter the address of the computer to connect to, or browse the network and select one. VNC and RDP compatible servers will be supported.
From man rdesktop
Code:
DESCRIPTION
       rdesktop  is  a  client  for  Remote Desktop Protocol (RDP), used in a number of
       Microsoft products including Windows NT Terminal Server,  Windows  2000  Server,
       Windows XP and Windows 2003 Server.
(to open KDE Remote Desktop Connection, run krdc; or
KMenu -> Internet -> More Applicatons -> Remote Desktop Connection, at least in Simply MEPIS.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO Check, Start and Stop Services GNewbie MEPIS 9 08-22-2012 10:09 PM
stop and start services hoover93 Suse/Novell 5 12-29-2004 02:48 PM
Gentoo: start / stop services Adony Linux - Newbie 5 12-10-2004 09:39 AM
start and stop services log Linux - General 7 03-21-2003 08:29 PM
Start Stop Restart Services Sifvion Slackware 6 09-14-2002 03:13 AM


All times are GMT -5. The time now is 01:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration