Hello:

thanks for the replies.

I tried creating a script in /etc

# cat /etc/apm/suspend
#!/bin/sh
pkill -USR1 xidle

and then I added this to my .xsession

$ cat .xsession
xidle &

Still, when resuming, my session is exposed.

This is my .xinitrc:

xmodmap -e "keycode 22 = BackSpace BackSpace BackSpace BackSpace
BackSpace BackSpace"
xset -b
exec startxfce4
#exec cwm

What am I doing wrong?

thanks,

Pau


2016-04-09 18:37 GMT+02:00 Marcus MERIGHI <mcmer-open...@tor.at>:
> Hello Pau,
>
> pau.amaro.seo...@gmail.com (Pau Amaro-Seoane), 2016.04.09 (Sat) 12:01 (CEST):
>> Dear all:
>>
>> I prefer to use stable releases of OpenBSD and use a /home encrypted
>> and I was wondering whether it is possible to keep that partition from
>> release to release. I mean, I would like to avoid the work of
>> encrypting a huge partition every time that I update the OS.
>
> If you use bsd.rd (install kernel downloaded and booted) and select
> "Upgrade" then your /home won't be newfs(8)ed.
>
> I have (on my single user notebook) /home unencrypted, my users home dir
> encrypted but just 1GB and a user/data mount with the big one.
>
> This way you get quick access to your home dir when fsck(8) has to be
> run.
>
> How do you unlock your encrypted /home before log in?
> How do you fsck your encrypted /home before log in?
> How do you mount your encrypted /home before log in?
>
>> I have seen this web page:
>> http://<notrepeated>.com/posts/openbsd-workstation.html
>> and I was wondering whether I could follow this to keep a separate partition.
>>
>> If this can be done, what would be the steps when I update to 6.0? I
>> would appreciate a dummy, step-by-step guide assuming that I am 5
>> years old.
>
> See above. Use your OpenBSD installation to download bsd.rd of the
> version you want. Move it to /bsd.rd. Reboot, enter "boot bsd.rd" at the
> boot prompt. Follow the instructions. Select "Upgrade".
>
>> Another question I have is how to bind a key to xlock + zzz, so that I
>
> Which window manager? Stock fvwm?
>
>> can lock the screen before suspending, or how to force xlock to be run
>> after resuming. The indications give in that page are not working for
>> me.
>
> apmd(8) can run scripts on wakeup/resume/standby/...
> But what you might really want is -startCmd of xlock(1).
>
> What about your encrypted partition when suspending?
>
> Bye, Marcus
>
>> !DSPAM:5709220f224631214552904!
_______________________________________________
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to