Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-31-2005, 06:27 PM   #1
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
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
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
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
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:
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.
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
       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.)


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 / openSUSE 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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:05 PM.

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