In LXDE the command is lxde-logout, the problem is that if you set a custom header graphic for that menu it doesn't seem to show up if you run lxde-logout from terminal, but does work if you run it from the menu, so maybe there's some argument, though the man page is empty on this regard.
In LXDE the command is lxde-logout, the problem is that if you set a custom header graphic for that menu it doesn't seem to show up if you run lxde-logout from terminal, but does work if you run it from the menu, so maybe there's some argument, though the man page is empty on this regard.