Re: [blfs-support] xinit-1.4.1

2020-09-17 Thread Ken Moffat via blfs-support
On Thu, Sep 17, 2020 at 12:31:28PM -0500, Bruce Dubbs via
blfs-support wrote:
> On 9/17/20 10:58 AM, Hans Meier via blfs-support wrote:
> > Hello,
> > 
> > Is sed -e correct in xinit-1.4.1 on the last command?  Should it
> > not be sed -i ?
> > 
> > 
> > sed -e '/$serverargs $vtarg/ s/serverargs/: #&/'
> > $XORG_PREFIX/bin/startx sed -i '/$serverargs $vtarg/
> > s/serverargs/: #&/' $XORG_PREFIX/bin/startx
> > 
> > 
> > I use blfs 10.0.
> 
> Yes, you are right, it should be -i.  We will need to note this in
> the errata.
> 
> Thanks for the report.
> 
>   -- Bruce
> 
I see it has been like that for a year.  Making xorg suid is
generally considered a bad idea now that we have the ability to run
X in user mode. I have to assume very few people have tried it,
which is why nobody mentioend it until now.

For capturing messages (apart from what is in the X log) I use
commands like:
$startx 2>&1 | tee myxmessages

ĸen

-- 
A really good hydrophobe has to be trained on dehydrated water from
birth.  I mean, that costs a fortune in magic alone.  But they make
great weather magicians.  Rain clouds just give up and go away.
-- The Colour of Magic
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] xinit-1.4.1

2020-09-17 Thread Bruce Dubbs via blfs-support

On 9/17/20 10:58 AM, Hans Meier via blfs-support wrote:

Hello,

Is sed -e correct in xinit-1.4.1 on the last command?
Should it not be sed -i ?


sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' $XORG_PREFIX/bin/startx
sed -i '/$serverargs $vtarg/ s/serverargs/: #&/' $XORG_PREFIX/bin/startx


I use blfs 10.0.


Yes, you are right, it should be -i.  We will need to note this in the 
errata.


Thanks for the report.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] xinit-1.4.1

2020-09-17 Thread Hans Meier via blfs-support

Hello,

Is sed -e correct in xinit-1.4.1 on the last command?
Should it not be sed -i ?


sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' $XORG_PREFIX/bin/startx
sed -i '/$serverargs $vtarg/ s/serverargs/: #&/' $XORG_PREFIX/bin/startx


I use blfs 10.0.


Regards
  Hans
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page