Сan't VT switch

Minimum OS build in Suse Studio, based on 42.2 (hack, really)).

After select other VT can’t go back in graphical session (VT7), there only some stupid picture. Driver nouveau, Xorg.0.log:

  2077.082] (WW) xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted
  2077.082] (EE) 
Fatal server error:
  2077.082] (EE) xf86OpenConsole: Switching VT failed
  2077.082] (EE) 
  2077.082] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 

How to fix it?

Hi
Does it work if you use the command chvt 7 from the console session (or chvt 8)? If so then your missing a keyboard package…

  • with same result.
    chvt: vt7 -> vt* - Ok, go back to vt7 - stupid picture and ‘(EE) xf86OpenConsole: Switching VT failed’.
    Maybe wrong permissions?
  • Сonsole in graphic mode, if it is important.

On Thu 01 Jun 2017 02:36:02 AM CDT, joneone wrote:

  • with same result.
    chvt: vt7 -> vt* - Ok, go back to vt7 - stupid picture and ‘(EE)
    xf86OpenConsole: Switching VT failed’.
    Maybe wrong permissions?

Hi
Could be, build a 42.1 minimal image and then upgrade or create
an autoyast file to build from with 42.2…?


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.20.2|4.4.62-18.6-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Sorry, I tested chvt as root. Starting from user:

chvt: ioctl VT_ACTIVATE: Operation not permitted

More and more interestingly!
I tried several different DM, at first there was Slim DM (this topic), then LXDM - is much better, VT switch works, but after login not working tab-complete in terminal (!??), and at last LightDM - all Ok, VT switch works!

But somebody could explain competently such strangenesses in system? Yes, I do not know much and I want to learn more! :wink:

Hi
You would need to look at the autoxml files and see what packages are used with LightDM compared to the others.

This sounds like missing logind integration. Could you show “loginctl list-sessions” and “loginctl show-session N” for each session number returned by “list-sessions”? Both for SDDM and lightdm?

I need to know about it more. While I don’t understand all the mechanics.