From owner-freebsd-questions@FreeBSD.ORG Fri Nov 22 14:34:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49AFB219 for ; Fri, 22 Nov 2013 14:34:24 +0000 (UTC) Received: from mail-oa0-x233.google.com (mail-oa0-x233.google.com [IPv6:2607:f8b0:4003:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 18578282B for ; Fri, 22 Nov 2013 14:34:24 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id i7so1401038oag.24 for ; Fri, 22 Nov 2013 06:34:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nOzkHUUBm0VMgRMxWuik+qN2VzP0yYK3pDT57wAGfIM=; b=pjx4adzJ/HSrXUyCKlQOqHrOOSnUOUv5vEf5H+6J6Y5wpI0Ygo/qTn8R0l7tD/cj1p mgjUxqakxBUWYvQN5MZfTKT20tAnOu7kB/dFEDmxf9rLucHKeg8o753/OwvcR25BEych nJsndk8QkS6ay/ASeir2B5XBlchgzOyZq+2qn+rMhFqTRvvG/cVw4ggE4PjFrBS1BNBf PR+XRc53HQaP7HiolD0wY6uUktFxVuvF5s7QE3URRK3RMmKd8eOMZRYiuc1BZmPfN0Wf GQrUuZTekMu/iGYBqbe5UjyOJY8HAmWV7E0Tvtdi6/XggJGSD8P2y29YP/D6e//pyBMN 7BbQ== MIME-Version: 1.0 X-Received: by 10.60.98.69 with SMTP id eg5mr10942556oeb.42.1385130863247; Fri, 22 Nov 2013 06:34:23 -0800 (PST) Received: by 10.76.168.137 with HTTP; Fri, 22 Nov 2013 06:34:23 -0800 (PST) In-Reply-To: References: Date: Fri, 22 Nov 2013 08:34:23 -0600 Message-ID: Subject: Re: launch a program at startup From: Antonio Olivares To: Igor R Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 14:34:24 -0000 On Fri, Nov 22, 2013 at 6:45 AM, Antonio Olivares wrote: > On Thu, Nov 21, 2013 at 10:36 PM, Igor R wrote: >> How do you start your destop? From command line with startx or from display >> managed (xdm or any other)? > startx >> If you are starting it with startx then add /usr/local/bin/tilem2 & to file >> in your home directory .xinitrc, > before or after exec /usr/local/bin/icewm ? >> if you are starting your X11 session from >> xdm, then add same string to .xsession, >> >> Can you start any other programs from ~/.icewm/startup ? > have not tried any :( >> Add simple logging >> to your script: >> #!/bin/sh >> echo staring tilem2 >> /tmp/log >> /usr/local/bin/tilem2 2>&1 >> /tmp/log & >> > Will do this if above advice of adding tilem2 to ~/.xinitrc does not > work and report back. >> >> > Thanks for your advice. > > Best Regards, Dear Igor & all, I added /usr/local/bin/tilem2 & before /usr/local/bin/icewm in ~/.xinitrc and the problem is solved :) Thanks for your pointers and suggestions. Best Regards, Antonio