where to manage start-up applications? and questions about services?

Hi guys,

I’ve some questions.

  1. Where can I manage start-up applications?
  2. In Yast -> Services, Expert Mode, there’re some options like 0,1,2,3,etc for services. Can you explain that options for me? And how can I stop some automatic start-up services, or change it to manually mode?
  3. Can I just stop and disable OpenSUSE firewall service? Cus’ I think I do not really need it.

Thanks for your helps!
n00bvn

You do not tell what version of openSUSE you are using. THus the answers below may be different for you then for me.

  1. What do you mean with “start-up applications”?

  2. The first level in YaST has no “Services” in my system, it has Software, Hardware, System, Network Devices, Network Services, Security and Users, Virtualization, Support, Miscellaneous. Thus I can not click on Services as you did and thus see no Expert Mode in a second level.

  3. You can (of course). I haven’t it running. I trust the firewall function in my router and try to manage the services run on my system with care (read, only start what is realy needed).

You do not tell what version of openSUSE you are using

sorry, I’m using OpenSUSE 12.2 KDE

  1. What do you mean with “start-up applications”?

I meant applications that automatically start when booting

  1. The first level in YaST has no “Services” in my system

I meant System Services in Yast. In Expert Mode, you’ll see options like 0,1,2,etc

  1. Those are the system services.

  2. That is YaST > System > System Services (Runlevel) I guess. Am I right? (shouldn’t be to difficult to type this down and avoid any misunderstandings, shouldn’t it? :wink: ).
    And there is an Expert Mode there. What you call options are no options. They are the runlevels at which those system services should run. When you use the GUI (KDE in your case) your system runs by default in runlevel 5. Thus all services that have the 5 there are started then. When you have a text-only system (often the case with systems that provide services on the network without needing GUI access) it will run in runlevel 3. And there are more runlevels defined.
    I would advise you not to change anything there. Stay in Simple Mode and switch on/off according to need.

I think you are talking about “System” –> “System Services (runlevel): Services”

Yes, there is an expert mode.

The best advice is that if you need somebody to explain expert mode, then you are not an expert and you should not be using expert mode.

I do consider myself somewhat of an expert, and I have never needed to use expert mode there. Moreover, it is a left-over from the sysv-init way of doing things. The runlevel idea is being phased out as we transition to systemd.

For the firewall - try: “Security and Users” –> “Firewall”

As somewhat of an expert, I advise leaving the firewall on (as I do). It is wiser to just open specific services that you need. When you configure services in other sections of Yast, they will often open the specific service in the firewall, though not always (some services are useful even if only used with localhost).

Disabling the firewall is never a good idea.

I think he means programs that start when you log-in, not when you boot.

Using 12.2 GNOME, I type gnome-session-properties into the terminal, and then I can set any arbitrary program to launch when I log in. Is there a KDE equivalent?

I doubt, but that is why I asked for an explanation.

Yes right. I meant that. The programs that auto start when you log-in.

Anyway, for the answers of services question, thanks you guys replies!

In that case there is no relation between you different points. Which again shows that one should only ask one question in a thread, every one with a good telling title and it the correct (sub)forum.

Here point 1 should have gone in Applications (where it was) and the title should have been something like: What is the KDE equivalent for GNOME …".

Point 2 and 3 are clearly different subjects deserving a thread of their own in the Install/Boot/Login forum.

Then you were surely in the wrong place if you were trying to do that with Yast.

With KDE, I first go to:

“Configure Desktop” –> “Startup and Shutdown” –> “Session Management”.

There, I select the option “Restore manually saved session”. I then close that window.

Now I startup exactly the programs that I normally want running, and I place the windows for them in the positions that I like. Then I go to the Kickoff launcher at left of the panel, and move the mouse cursor to the “Leave”. The resulting menu has a “Save session” option. I click on that. And, thereafter, the session starts the way that I want.

There are a few programs that won’t start properly that way. For those, I use

“Configure Desktop” –> “Startup and Shutdown” –> “Autostart”

where I can configure them.


For Icewm, I create a shell script to start up the programs, and it must be at “$HOME/.icewm/startup”.

For XFCE, there’s an option to save the session, during logout. So I get everything running as desired, select that option of logout, and it is saved. I then login again to check. Then I logout, but I de-select that option so that it will continue with whatever is saved.


For Gnome 3 - I have not worked out how to do the equivalent. With Gnome 2, it was similar to XFCE. So I wrote a script, similar to what I use with Icewm, and after login to Gnome 3 I can use ALT-F2 to run that script. I do much the same with LXDE, where I also have not found a way to autostart programs.

One of the reasons that I prefer KDE, is that it seems easier to setup the way that I want.

You do this in GNOME by using gnome-session-properties (“Startup Applications”). If you want this accessible from Activities, open Alacarte (Main Menu) and check “Startup Applications” in the Other category.

Thanks. I’ll give that a try, though I’m sure it won’t make me an instant Gnome lover.

On 2012-12-24 17:46, hcvv wrote:
> 3) You can (of course). I haven’t it running. I trust the firewall
> function in my router and try to manage the services run on my system
> with care (read, only start what is realy needed).

I don’t trust my router. Nor any home router. Some weeks ago, it did a
reset to factory configuration on its own, which disabled wifi and also
the firewall (and resets the password to a published one that any hacker
in my country knows). And this has happened more than once :frowning:

Thus I always leave firewalls up in all my local machines that have one.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

It could be a reason to decide for a different ISP

On 2012-12-26 15:56, hcvv wrote:

> It could be a reason to decide for a different ISP

Technically, it is the best possible, IMO. Many hate it, being the most
powerful and… I don’t know what word to choose, maybe “not too
friendly to their customers”.

Rather, I would have to get my own router if I wanted more quality. I do
have another router somewhere, but this one I use I know its failings :slight_smile:

(Spanish saying: it’s better the known bad, than the good and unknown).


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

My condolences. I have an ISP where people in the helpdesk do react normal (in the sense of being not surprised or frightened) when I tell them I use Linux. I have the strong idea that I manage my modem and not they. And the defaults in it are of course not to allow any incoming traffic except for established sessions (no PnP as it is often named for the simple).
Additional, you can configure blocking certain ports on their side of the connection. Thus you can arange that outgoing traffic from all on your LAN for certain spying software (on MS systems of course) will not be accepted by them and thus will not go out to the internet. Even if some local dummy (or dangerous software) had opened the MS personal firewall for it on a PC in your LAN.

On 2012-12-26 17:06, hcvv wrote:

> My condolences. I have an ISP where people in the helpdesk do react
> normal (in the sense of being not surprised or frightened) when I tell
> them I use Linux.

It depends whom I talk to. :-}

(like getting a person in Spain or thousands of miles away)

If I remember correctly, you are visiting Canada now, right? Then you
know that many people there use sympatico mail, which is AT&T. Well, my
ISP is similar, a heavy weight with limited friendliness :slight_smile:

For instance, sympatico users are pushed to use webmail and not a MUA,
the ISP recommends that and does not provide their users with imap
access (only POP3 and they discourage it). Telefonica does give me
imap… I count my blessings.

Other providers (like the one I’m using at the moment with my laptop on
the road) gives IP addresses in the 10...* range, forbid explicitly
P2P and VoIp… Telefonica does nothing of the sort. They don’t have a
very helpful hotline, but at least they do things right.

> I have the strong idea that I manage my modem and not
> they.

Me too.

But many people are incapable of that, so I can understand the ISP wants
to do it.

> And the defaults in it are of course not to allow any incoming
> traffic except for established sessions (no PnP as it is often named for
> the simple).
> Additional, you can configure blocking certain ports on their side of
> the connection.

I did that the last time. There was the possibility than a certain
configuration allowed a backdoor for them, but I’m not certain if that
was the cause. It can be that on a certain crash situation the router
simply resets the config.

> Thus you can arange that outgoing traffic from all on
> your LAN for certain spying software (on MS systems of course) will not
> be accepted by them and thus will not go out to the internet. Even if
> some local dummy (or dangerous software) had opened the MS personal
> firewall for it on a PC in your LAN.

I don’t think my router has an egress firewall. I can’t check, I’m not
at home.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

I like your story (although we are getting off topic I am afraid). But it is some misunderstanding that I am in Canada. I am at home all the time (Netherlands as it show in the web interface, but I am afraid you abstain from such nice hints :wink: ).

On 2012-12-26 17:56, hcvv wrote:
>
> I like your story (although we are getting off topic I am afraid). But
> it is some misunderstanding that I am in Canada. I am at home all the
> time (Netherlands as it show in the web interface, but I am afraid you
> abstain from such nice hints :wink: ).

Oh. Then I confused you with somebody else. My memory.
Yes, we are going off-topic, lets stop here.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))