How to lock Solaris 10 in the shell

How can I lock the screen using the shell?

System:

  • Solaris 10
  • GNOME desktop computer setting

For some factor Launch > Lock Screen does not function. A solution for that would certainly additionally be much valued. Thanks.

1
2022-06-07 14:35:32
Source Share
Answers: 3

Is the system making use of the gnome screen saver?

If it is after that you can do this:

$ gnome-screensaver-command --lock
0
2022-06-07 15:01:39
Source

After reviewing @egorgry is solution, I attempted xlock arbitrarily. I figured xset functioned, and also lock is what I'm attempting to attain so why not attempt xlock? It functioned!

So for future reference:

The xlock command secures your screen.

1
2022-06-07 14:59:35
Source

usage xset - q to see if securing is made it possible for or disabled. read the xset male to see just how to transform these setups. I wish this aids you.

0
2022-06-07 14:58:11
Source