Re: Xwindows Startup without user login

2013-04-10 Thread MERIGHI Marcus
ji...@devio.us (Jiri B), 2013.04.10 (Wed) 14:12 (CEST):
> On Wed, Apr 10, 2013 at 12:29:37PM +0200, Manuel Giraud wrote:
> > Renaud Allard  writes:
> > 
> > > # echo 'su - auser -c "/usr/X11R6/bin/startx"' >> /etc/rc.local
> 
> what about man tty?

and reading the archives?
http://marc.info/?l=openbsd-misc&m=135161914118363

Bye, Marcus



Re: Xwindows Startup without user login

2013-04-10 Thread Jiri B
On Wed, Apr 10, 2013 at 12:29:37PM +0200, Manuel Giraud wrote:
> Renaud Allard  writes:
> 
> > # echo 'su - auser -c "/usr/X11R6/bin/startx"' >> /etc/rc.local

what about man tty?

jirib



Re: Xwindows Startup without user login

2013-04-10 Thread Manuel Giraud
Renaud Allard  writes:

> # echo 'su - auser -c "/usr/X11R6/bin/startx"' >> /etc/rc.local

The problem with this is that the end /etc/rc won't be executed. Most
notably you won't have cron running.

-- 
Manuel Giraud



Re: Xwindows Startup without user login

2013-04-09 Thread Renaud Allard

On 04/02/2013 04:14 AM, Duncan Patton a Campbell wrote:

Howdy all?

I'm looking for the "right" way to start X on boot and run a default
display program, much like xdm but with no login.

Any pointers to similar would be greatly appreciated,

thanks,

Dhu



Isn't that what you want? This is obviously to start xclock, but you get 
the point.


# useradd -m auser
# cat > /etc/rc.local
# reboot



Re: Xwindows Startup without user login

2013-04-09 Thread Jiri B
> > Haven't tried it, but SLiM (ports/x11/slim) has an autologin feature.
> 
> I will have a look at it.  Thanks,

Why do you need a DM if you need autologin into X?

Is it not possible to start xinit on a console?

jirib



Re: Xwindows Startup without user login

2013-04-09 Thread Duncan Patton a Campbell
On Wed, 3 Apr 2013 11:00:04 + (UTC)
Stuart Henderson  wrote:

> On 2013-04-03, Stuart Henderson  wrote:
> > On 2013-04-02, Duncan Patton a Campbell  wrote:
> >>> On Tuesday, April 2, 2013 05:02 CEST, Duncan Patton a Campbell 
> >>>  wrote: 
> >>> > Needs libpam :-/
> >>> 
> >> On Tue, 02 Apr 2013 12:27:23 +0200 "Sebastian Reitenbach" 
> >>  wrote:
> >>> there is security/openpam in the ports tree.
> >>
> >> Thank you!  I've pulled the port from snapshots and it built ;-)...
> >
> > Did you get nodm built, or just openpam?
> >
> > Because it looks like nodm requires libpam_misc, which isn't included in
> > the openpam package.
> >
> >
I've gone for the kind of kludge the nodm page claims to replace ;) 

> 
> Haven't tried it, but SLiM (ports/x11/slim) has an autologin feature.

I will have a look at it.  Thanks,

Dhu

> 


-- 
Ne obliviscaris, vix ea nostra voco.



Re: Xwindows Startup without user login

2013-04-03 Thread Stuart Henderson
On 2013-04-03, Stuart Henderson  wrote:
> On 2013-04-02, Duncan Patton a Campbell  wrote:
>>> On Tuesday, April 2, 2013 05:02 CEST, Duncan Patton a Campbell 
>>>  wrote: 
>>> > Needs libpam :-/
>>> 
>> On Tue, 02 Apr 2013 12:27:23 +0200 "Sebastian Reitenbach" 
>>  wrote:
>>> there is security/openpam in the ports tree.
>>
>> Thank you!  I've pulled the port from snapshots and it built ;-)...
>
> Did you get nodm built, or just openpam?
>
> Because it looks like nodm requires libpam_misc, which isn't included in
> the openpam package.
>
>

Haven't tried it, but SLiM (ports/x11/slim) has an autologin feature.



Re: Xwindows Startup without user login

2013-04-03 Thread Stuart Henderson
On 2013-04-02, Duncan Patton a Campbell  wrote:
>> On Tuesday, April 2, 2013 05:02 CEST, Duncan Patton a Campbell 
>>  wrote: 
>> > Needs libpam :-/
>> 
> On Tue, 02 Apr 2013 12:27:23 +0200 "Sebastian Reitenbach" 
>  wrote:
>> there is security/openpam in the ports tree.
>
> Thank you!  I've pulled the port from snapshots and it built ;-)...

Did you get nodm built, or just openpam?

Because it looks like nodm requires libpam_misc, which isn't included in
the openpam package.



Re: Xwindows Startup without user login

2013-04-02 Thread Duncan Patton a Campbell
On Tue, 02 Apr 2013 12:27:23 +0200
"Sebastian Reitenbach"  wrote:

> On Tuesday, April 2, 2013 05:02 CEST, Duncan Patton a Campbell 
>  wrote: 
>  
> > On Mon, 1 Apr 2013 20:54:58 -0600
> > Duncan Patton a Campbell  wrote:
> > 
> > > 
> > > Howdy Ryan?  
> > > 
> > > Thanks, this looks to be the sort of thing I'm after... hopefully I can 
> > > get it to run on OBSD now ;)
> > > 
> > 
> > Needs libpam :-/
> 
> there is security/openpam in the ports tree.
> 

Thank you!  I've pulled the port from snapshots and it built ;-)...

Dhu

> Sebastian
> 
> > 
> > 
> > > Dhu
> > > 
> > > On Mon, 1 Apr 2013 22:43:14 -0400
> > > Ryan Kavanagh  wrote:
> > > 
> > > > On Mon, Apr 01, 2013 at 08:14:20PM -0600, Duncan Patton a Campbell
> > > > wrote:
> > > > > I'm looking for the "right" way to start X on boot and run a default
> > > > > display program, much like xdm but with no login.
> > > > 
> > > > I don't know about the "right" way, but I use nodm on my Debian boxes. I
> > > > don't see it in the ports tree and I don't know if it will work on
> > > > OpenBSD, but it's worth a try.
> > > > 
> > > > The homepage[0] is out of date, but you can get the latest version
> > > > here[1].
> > > > 
> > > > Best wishes,
> > > > Ryan
> > > > 
> > > > [0] http://www.enricozini.org/sw/nodm/
> > > > [1] 
> > > > http://ftp.de.debian.org/debian/pool/main/n/nodm/nodm_0.11.orig.tar.gz
> > > > 
> > > > -- 
> > > > |_)|_/  Ryan Kavanagh   | Debian Developer
> > > > | \| \  http://ryanak.ca/   | GPG Key 4A11C97A
> > > > 
> > > 
> > > 
> > > -- 
> > > Ne obliviscaris, vix ea nostra voco.
> > 
> > 
> > -- 
> > Ne obliviscaris, vix ea nostra voco.
> 


-- 
Ne obliviscaris, vix ea nostra voco.



Re: Xwindows Startup without user login

2013-04-02 Thread Sebastian Reitenbach
On Tuesday, April 2, 2013 05:02 CEST, Duncan Patton a Campbell 
 wrote: 
 
> On Mon, 1 Apr 2013 20:54:58 -0600
> Duncan Patton a Campbell  wrote:
> 
> > 
> > Howdy Ryan?  
> > 
> > Thanks, this looks to be the sort of thing I'm after... hopefully I can get 
> > it to run on OBSD now ;)
> > 
> 
> Needs libpam :-/

there is security/openpam in the ports tree.

Sebastian

> 
> 
> > Dhu
> > 
> > On Mon, 1 Apr 2013 22:43:14 -0400
> > Ryan Kavanagh  wrote:
> > 
> > > On Mon, Apr 01, 2013 at 08:14:20PM -0600, Duncan Patton a Campbell
> > > wrote:
> > > > I'm looking for the "right" way to start X on boot and run a default
> > > > display program, much like xdm but with no login.
> > > 
> > > I don't know about the "right" way, but I use nodm on my Debian boxes. I
> > > don't see it in the ports tree and I don't know if it will work on
> > > OpenBSD, but it's worth a try.
> > > 
> > > The homepage[0] is out of date, but you can get the latest version
> > > here[1].
> > > 
> > > Best wishes,
> > > Ryan
> > > 
> > > [0] http://www.enricozini.org/sw/nodm/
> > > [1] http://ftp.de.debian.org/debian/pool/main/n/nodm/nodm_0.11.orig.tar.gz
> > > 
> > > -- 
> > > |_)|_/Ryan Kavanagh   | Debian Developer
> > > | \| \http://ryanak.ca/   | GPG Key 4A11C97A
> > > 
> > 
> > 
> > -- 
> > Ne obliviscaris, vix ea nostra voco.
> 
> 
> -- 
> Ne obliviscaris, vix ea nostra voco.



Re: Xwindows Startup without user login

2013-04-01 Thread Duncan Patton a Campbell
On Mon, 1 Apr 2013 20:54:58 -0600
Duncan Patton a Campbell  wrote:

> 
> Howdy Ryan?  
> 
> Thanks, this looks to be the sort of thing I'm after... hopefully I can get 
> it to run on OBSD now ;)
> 

Needs libpam :-/


> Dhu
> 
> On Mon, 1 Apr 2013 22:43:14 -0400
> Ryan Kavanagh  wrote:
> 
> > On Mon, Apr 01, 2013 at 08:14:20PM -0600, Duncan Patton a Campbell
> > wrote:
> > > I'm looking for the "right" way to start X on boot and run a default
> > > display program, much like xdm but with no login.
> > 
> > I don't know about the "right" way, but I use nodm on my Debian boxes. I
> > don't see it in the ports tree and I don't know if it will work on
> > OpenBSD, but it's worth a try.
> > 
> > The homepage[0] is out of date, but you can get the latest version
> > here[1].
> > 
> > Best wishes,
> > Ryan
> > 
> > [0] http://www.enricozini.org/sw/nodm/
> > [1] http://ftp.de.debian.org/debian/pool/main/n/nodm/nodm_0.11.orig.tar.gz
> > 
> > -- 
> > |_)|_/  Ryan Kavanagh   | Debian Developer
> > | \| \  http://ryanak.ca/   | GPG Key 4A11C97A
> > 
> 
> 
> -- 
> Ne obliviscaris, vix ea nostra voco.


-- 
Ne obliviscaris, vix ea nostra voco.



Re: Xwindows Startup without user login

2013-04-01 Thread Duncan Patton a Campbell
Howdy Ryan?  

Thanks, this looks to be the sort of thing I'm after... hopefully I can get it 
to run on OBSD now ;)

Dhu

On Mon, 1 Apr 2013 22:43:14 -0400
Ryan Kavanagh  wrote:

> On Mon, Apr 01, 2013 at 08:14:20PM -0600, Duncan Patton a Campbell
> wrote:
> > I'm looking for the "right" way to start X on boot and run a default
> > display program, much like xdm but with no login.
> 
> I don't know about the "right" way, but I use nodm on my Debian boxes. I
> don't see it in the ports tree and I don't know if it will work on
> OpenBSD, but it's worth a try.
> 
> The homepage[0] is out of date, but you can get the latest version
> here[1].
> 
> Best wishes,
> Ryan
> 
> [0] http://www.enricozini.org/sw/nodm/
> [1] http://ftp.de.debian.org/debian/pool/main/n/nodm/nodm_0.11.orig.tar.gz
> 
> -- 
> |_)|_/Ryan Kavanagh   | Debian Developer
> | \| \http://ryanak.ca/   | GPG Key 4A11C97A
> 


-- 
Ne obliviscaris, vix ea nostra voco.



Re: Xwindows Startup without user login

2013-04-01 Thread Ryan Kavanagh
On Mon, Apr 01, 2013 at 08:14:20PM -0600, Duncan Patton a Campbell
wrote:
> I'm looking for the "right" way to start X on boot and run a default
> display program, much like xdm but with no login.

I don't know about the "right" way, but I use nodm on my Debian boxes. I
don't see it in the ports tree and I don't know if it will work on
OpenBSD, but it's worth a try.

The homepage[0] is out of date, but you can get the latest version
here[1].

Best wishes,
Ryan

[0] http://www.enricozini.org/sw/nodm/
[1] http://ftp.de.debian.org/debian/pool/main/n/nodm/nodm_0.11.orig.tar.gz

-- 
|_)|_/  Ryan Kavanagh   | Debian Developer
| \| \  http://ryanak.ca/   | GPG Key 4A11C97A



Xwindows Startup without user login

2013-04-01 Thread Duncan Patton a Campbell
Howdy all?

I'm looking for the "right" way to start X on boot and run a default display 
program, much like xdm but with no login.

Any pointers to similar would be greatly appreciated,

thanks,

Dhu

-- 
Ne obliviscaris, vix ea nostra voco.