I'm experimenting running some things with a seond user. It's possible to configure a key (in my case "Pause", which seems I never ever pressed in my life an does nothing otherwise) to do "swtch user".
However, you then have to select this user (which the is locked, although I never asked for a lock).
Would there be any way to have a "move to the next user" function? As I only have two users, I fon't need a choice :)
Thierry
On 06/26/2018 12:04 AM, Thierry de Coulon wrote:
Would there be any way to have a "move to the next user" function? As I only have two users, I fon't need a choice :)
This is very old, but I'm very behind, so it all evens out. :) Maybe you've found a solution by now, but just in case you haven't...
The standard switch session keys don't do what you need? Ctrl-Alt-F7 for first logged in GUI session, Ctrl-Alt-F8 for second, etc.
On Thursday 19 July 2018 22.25:25 Dan Youngquist wrote:
On 06/26/2018 12:04 AM, Thierry de Coulon wrote:
Would there be any way to have a "move to the next user" function? As I only have two users, I fon't need a choice :)
This is very old, but I'm very behind, so it all evens out. :) Maybe you've found a solution by now, but just in case you haven't...
The standard switch session keys don't do what you need? Ctrl-Alt-F7 for first logged in GUI session, Ctrl-Alt-F8 for second, etc.
Very good. And bypasses the lock. Wouldthere be a way to map these commands to a single key? YOu can setup shirtcuts to switch desktops and screens, but not sessions.
Anyway, thank you, this will me useful.
Thierry
Am Donnerstag, 19. Juli 2018 schrieb Thierry de Coulon:
On Thursday 19 July 2018 22.25:25 Dan Youngquist wrote:
On 06/26/2018 12:04 AM, Thierry de Coulon wrote:
Would there be any way to have a "move to the next user" function? As I only have two users, I fon't need a choice :)
This is very old, but I'm very behind, so it all evens out. :) Maybe you've found a solution by now, but just in case you haven't...
The standard switch session keys don't do what you need? Ctrl-Alt-F7 for first logged in GUI session, Ctrl-Alt-F8 for second, etc.
Very good. And bypasses the lock. Wouldthere be a way to map these commands to a single key? YOu can setup shirtcuts to switch desktops and screens, but not sessions.
You can use chvt as root, e.g instead of Ctrl+Alt+8 you use: # chvt 8
Nik
Anyway, thank you, this will me useful.
Thierry
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On 07/19/2018 01:52 PM, Thierry de Coulon wrote:
The standard switch session keys don't do what you need? Ctrl-Alt-F7 for first logged in GUI session, Ctrl-Alt-F8 for second, etc.
Wouldthere be a way to map these commands to a single key? YOu can setup shirtcuts to switch desktops and screens, but not sessions.
If there's a way to do that, it wouldn't be handled by the GUI. The virtual sessions, and the Ctrl-Alt-Fx keystrokes, are set up before the GUI starts, maybe by the init system when the multiuser runlevel starts. Maybe you could make a script to determine which graphical sessions are active, then switch to the next one, and assign the script to a hotkey. But all that is way above my pay grade.
On Friday 20 July 2018 18.36:17 Dan Youngquist wrote:
If there's a way to do that, it wouldn't be handled by the GUI. The virtual sessions, and the Ctrl-Alt-Fx keystrokes, are set up before the GUI starts, maybe by the init system when the multiuser runlevel starts. Maybe you could make a script to determine which graphical sessions are active, then switch to the next one, and assign the script to a hotkey. But all that is way above my pay grade.
I'm afraid it's way above mine too :)
Am Freitag, 20. Juli 2018 schrieb Thierry de Coulon:
On Friday 20 July 2018 18.36:17 Dan Youngquist wrote:
If there's a way to do that, it wouldn't be handled by the GUI. The virtual sessions, and the Ctrl-Alt-Fx keystrokes, are set up before the GUI starts, maybe by the init system when the multiuser runlevel starts. Maybe you could make a script to determine which graphical sessions are active, then switch to the next one, and assign the script to a hotkey. But all that is way above my pay grade.
I'm afraid it's way above mine too :)
Nothing special here. Modify your /etc/sudoers so that it contains an entry like this:
%sudo ALL=(ALL:ALL) ALL, (root) NOPASSWD: /bin/chvt
and then use xbindkeys to bind e.g F8 to switch to console 8 with "sudo /bin/chvt 8", that's all.
Nik
On Saturday 21 July 2018 18.14:42 Dr. Nikolaus Klepp wrote:
Nothing special here. Modify your /etc/sudoers so that it contains an entry like this:
%sudo ALL=(ALL:ALL) ALL, (root) NOPASSWD: /bin/chvt
and then use xbindkeys to bind e.g F8 to switch to console 8 with "sudo /bin/chvt 8", that's all.
Nik
Thanks Nik. Took me some time to install and understand, but it works great once you get in correctly.
Thierry