12

I want to have a few console windows running tail -f on logs. Unfortunately this means that anyone with access to the computer can press Ctrl+c and have shell access.

So I want to lock the screen while still leave everything on the desktop visible.

So has anyone heard of a transparent screensaver or do you have a better idea on how to solve my problem?

Nifle
  • 34,998

4 Answers4

9

This question is old, but in case people stumble across it, I use xtrlock for this purpose:

$ apt-cache show xtrlock
[...]
Description-en: Minimal X display lock program
 xtrlock is a very minimal X display lock program, which uses nothing
 except the Xlib library.  It doesn't obscure the screen, it is
 completely idle while the display is locked and you don't type at it,
 and it doesn't do funny things to the X access control lists.

Changes the cursor to a padlock but otherwise makes no visible changes. To unlock, hit Enter, type password, hit Enter (there's no prompt).

5

This trick works for me:

$ xlock -mode blank -geometry 1x1

However, don't forget that for mission critical servers which hold private data, a screen saver is not enough. Screen savers are programs, they may eventually have bugs. Sometimes they segfault and that may be the reason for unwanted people to get access. During 10 years of linux I've seen xlock segfaulting a couple of times. Fortunately, only on my home workstation which was physically safe from intruders :-)

vtest
  • 5,358
1

What about running those tail -f in screen, then detach from the screen and run vlock?

choroba
  • 20,299
0

You could try using a combination of GoTTY and webscreensaver

GoTTY allows you to turn a console command into a web application, so all of its output can be seen on a web page. It also allows sending keys through, but you want to configure it to be read-only

webscreensaver, as the name suggests, shows a web page as a screensaver

GoTTY works on Mac OS as well