Ctrl-Alt-F7 or F8?

When switching between simultaneously logged in users, I
thought that ctrl-alt-F7 meant the first logged in user
and ctrl-alt-F8 the second. On my machine (suse 12.3, kde 4.10.2)
the roles of F7 and F8 are rather random between reboots.

Output from who:
User1 :0 2013-06-03 09:14 (console)
User1 pts/2 2013-06-03 09:14
User1 pts/0 2013-06-03 09:14
User1 pts/1 2013-06-03 09:14
User2 :1 2013-06-03 13:30 (localhost)

In this very situation, User1 is logged in first, then User2 via
lock screen - switch user -start new session.

ctrl-alt-F7 will activate User2 and ctrl-alt-F8 User1,
but often, after rebbot, it’s the other way around.

Is this random behaviour to be expected?

Chhers,
Ake

On 06/03/2013 03:36 PM, akeblomberg wrote:
> but often, after rebbot, it’s the other way around.

i have not seen what you describe, but i wonder:

does User1 stay logged in through a shutdown and restart? or is
User1 being auto-logged in via convenience, as established by root?

at the same time, does User2 also stay logged in through the same
shutdown and restart?

how are shutting down? (describe how you do that, whether it is via
clicks or the command line interface…if clicks, please announce
your desktop environment and version…in either case please tell
your operating system and version…


dd

I do have my X session on Ctrl-Alt-F8 most of the time as well since upgrading to 12.3 (I think; could have also been the update to KDE 4.10 which I already did on 12.2).
Could be related to plymouth…(some bug/race condition)
But I never bothered to find out yet, since everything else is working as expected and this doesn’t cause me troubles (i.e. I don’t care really ;))

OK,

SuSE 12.3 (Linux 3.7.10-1.11-desktop)
AMD Athlon Dual Core (64 bits)
KDE 4.10.2 “release 1”
Available updates for SuSE 12.3 applied (zypper).

Scenario:

Power on.
Login User1
Click lock screen -> switch user -> create new session
Login User2

At this moment it’s random whether ctrl-alt-F7 or
ctrl-alt-F8 will take me back to User1. However, the roles
of F7 and F8 stays the same until reboot.

Logging out first User2, then User1 and logging in again in the
same sequence as above does not change anything.

The roles of F7 and F8 may change after logout+reboot.
Sequence:
Connect to User2
Click Leave -> Logout
this takes me back to User1
Click Leave -> turnoff computer (or restart computer).
I don’t explicitly logout User1.

On 06/03/2013 06:26 PM, akeblomberg wrote:
> At this moment it’s random whether ctrl-alt-F7 or
> ctrl-alt-F8 will take me back to User1.

hmmmmm…sorry i don’t know (and don’t have a 12.x to test) hopefully
another will speak up.


dd

I don’t have two open sessions. Maybe I tried that once, but at most once.

If I go to a virtual console (CTL-ALT-F1 for example), then most of the time CTL-ALT-F7 gets me back. But occasionally it doesn’t, then I try CTL-ALT-F8.

Perhaps it has to do with whether Xorg crashes and is restarted.

In most cases first free vt starting with tty7 will be selected. Apparently something holds tty7 busy. Most obvious candidate is plymouth. Try rebooting several times with plymouth.enable=0 on kernel command line. If it consistently shows tty7, it is strong confirmation that there is race condition between stopping plymouth and starting kdm.

Since the plymouth update last Monday, KDM now consistently starts on tty7 again for me.:slight_smile: