Wrong keyboard layout and no shutdown/restart

Forum / NoMachine for Linux / Wrong keyboard layout and no shutdown/restart

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #47422
    ZombieHunter
    Participant

    I did a normal installation of MX Linux.
    Then I did install NoMachine and did set the runlevel to 3 (Multi-User Mode / no X11) since this PC has no monitor.

    First thing is that the keyboard layout is wrong when I connect with NoMachine. Why is that?
    It’s right when I login at the physical machine.
    There is only one user and I use this user when I connect with NoMachine.

    Second thing is that the shutdown dialog has shutdown and restart greyed out and is missing other things I have at the physical machine. With NoMachine I only have “log out”.

    And certain other things are not there like the MX Updater that is missing from the systray (if it is called like this in Linux).

    I connect to MX from Windows 11.

    #47491
    Britgirl
    Keymaster

    For the first point, you’re right. So we are going to implement a new key which will allow you to set the keyboard for virtual sessions when there is no physical display present. For example, it could be something like this #DisplayKeyboard “us”.

    Try with a policy kit rule like this:
    1) Create the file /etc/polkit-1/rules.d/50-nomachine.rules (as root).
    2) Then the rule

    polkit.addRule(function(action, subject) {polkit.log(action + ", " + subject);if (~["org.freedesktop.login1.power-off","org.freedesktop.login1.power-off-multiple-sessions","org.freedesktop.login1.reboot","org.freedesktop.login1.reboot-multiple-sessions"].indexOf(action.id)) {return polkit.Result.YES;}});

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.