This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Starting simond for Use as Server without X

Tags: None
(comma "," separated)
kuntakinte
Registered Member
Posts
4
Karma
0
OS
Hi everybody,

is it possible, to start simond from the console for use as a Server over the network?
Till now, I can run it using ksimond, and connect to the running demon over the network.
But when I run simond from console, it just opens the port 4444 for users on localhost.

I'm using simon 0.3.0 and am stuck to that version for reasons concerning my project.

Any hints would be appreciated.

Best regards
thomas
User avatar
google01103
Manager
Posts
6668
Karma
25
from the manual
Using the option to "Only allow connections from" you can restrict the access to your server from anywhere but the given IP address. By default this is configured to only allow (simon) connections from the local host which only allows for local simon clients to connect to the server.

Image


OpenSuse Leap 42.1 x64, Plasma 5.x

kuntakinte
Registered Member
Posts
4
Karma
0
OS
google01103 wrote:from the manual
...


Thanks for your reply, but that's not, what I'm looking for.
I managed the start of simond from ksimond with that option successfully.
My aim is, to get a simond running from a startscript on the server without restriction of access to localhost.
When I start simond from a console, the restriction to localhost is given again, as nmap from a client machine tells me.
Even if I start simond as the user who can start it from ksimond in a running x-environment without that restriction, access is only given to localhost.
As we plan to use simon in a client-server environment, it's not a really good option to always have to use a x-environment to start the server...

Hope I stated my aim a bit clearer now :-)

Best regards and thanks in advance
Thomas
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
My guess is that simond supports arguments which control how it is accessed. Perhaps the output of "simond --help" can help here?

It may also help to look at the exact command KDE uses to start simond to see if replicating that helps.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
kuntakinte
Registered Member
Posts
4
Karma
0
OS
Hi again,

unfortunately simond tells much. There's no manpage. Of course I have tried to get it to speak to me, by using various options in terminal, but none of them works.

So, how can I access the information on how KDE starts simond, when I start it from the startpanel?

Best Regards
Thomas
bedahr
Moderator
Posts
141
Karma
0
OS
Hi!

The daemon should apply the same options when started through ksimond and when started standalone (ksimond just starts simond separately internally).

There are no command line options. Just the configuration file ~/.kde/share/config/simondrc. Make sure that it contains BindTo=false in the Network section:
Code: Select all
[Network]
BindTo=false


Best regards,
Peter
kuntakinte
Registered Member
Posts
4
Karma
0
OS
Ok,

obviously the problem was in front of the computer...

Must have tested with the wrong user.
It works perfectly.

Thanks a lot
Thomas
bedahr
Moderator
Posts
141
Karma
0
OS
Perfect :)

Best regards,
Peter


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell