When i boot my system it shows failed to start vitrual console setup

i started using linux just a week ago and i an having this problem since i dont know if it is a real error while my desktop works fine but i am still concerned if this cause any future problem


i dont know which log to send from where

dont know if this will help
https://0x0.st/Xcse.txt

does your system boot normally? If so, post the logs of systemctl status systemd-vconsole-setup

     Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static)
     Active: failed (Result: exit-code) since Tue 2024-06-11 17:40:24 IST; 17min ago
       Docs: man:systemd-vconsole-setup.service(8)
             man:vconsole.conf(5)
    Process: 436 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=1/FAILURE)
   Main PID: 436 (code=exited, status=1/FAILURE)
        CPU: 8ms

Jun 11 17:40:23 gold-ml10gen9 systemd[1]: Starting Virtual Console Setup...
Jun 11 17:40:24 gold-ml10gen9 systemd-vconsole-setup[442]: loadkeys: Unable to open file: in: No such file or directory
Jun 11 17:40:24 gold-ml10gen9 systemd-vconsole-setup[436]: /usr/bin/loadkeys failed with exit status 1.
Jun 11 17:40:24 gold-ml10gen9 systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE
Jun 11 17:40:24 gold-ml10gen9 systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'.
Jun 11 17:40:24 gold-ml10gen9 systemd[1]: Failed to start Virtual Console Setup.
~

can you post the logs of this: cat /etc/vconsole.conf

1 Like

Check your /etc/vconsole.conf.

Consult the man pages referred to above.

See also: https://wiki.archlinux.org/title/Installation_guide#Localization

‘KEYMAP=in’
just that

it should have some otehr lines, at least mine has :person_shrugging:

# Written by systemd-localed(8) or systemd-firstboot(1), read by systemd-localed
# and systemd-vconsole-setup(8). Use localectl(1) to update this file.
KEYMAP=us
XKBLAYOUT=us
XKBMODEL=pc105+inet
XKBOPTIONS=terminate:ctrl_alt_bksp

It doesn’t seem to be correctly configured.

Please refer to the following article for how to put correct keymap into that file:

https://wiki.archlinux.org/title/Linux_console/Keyboard_configuration#

idk what should i do maybe its because of system spec or something

use the above post’s link and enter the configuration you need (run locatectl status)

System Locale: LANG=en_IN
VC Keymap: (unset)
X11 Layout: in
X11 Variant: eng

~ …
do i have to set keymap

try adding XKBLAYOUT=in to the /etc/vconsole.conf.

× systemd-vconsole-setup.service - Virtual Console Setup
     Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; st>
     Active: failed (Result: exit-code) since Tue 2024-06-11 18:29:33 IST; 4min>
       Docs: man:systemd-vconsole-setup.service(8)
             man:vconsole.conf(5)
    Process: 442 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited>
   Main PID: 442 (code=exited, status=1/FAILURE)
        CPU: 8ms

Jun 11 18:29:33 gold-ml10gen9 systemd[1]: Starting Virtual Console Setup...
Jun 11 18:29:33 gold-ml10gen9 systemd-vconsole-setup[451]: loadkeys: Unable to >
Jun 11 18:29:33 gold-ml10gen9 systemd-vconsole-setup[442]: /usr/bin/loadkeys fa>
Jun 11 18:29:33 gold-ml10gen9 systemd[1]: systemd-vconsole-setup.service: Main >
Jun 11 18:29:33 gold-ml10gen9 systemd[1]: systemd-vconsole-setup.service: Faile>
Jun 11 18:29:33 gold-ml10gen9 systemd[1]: Failed to start Virtual Console Setup.
lines 1-15/15 (END)

```still the error

how do in know what is the right keymap for me

You could list all the keymaps available: localectl list-keymaps and pick the one that matches your keyboards layout.

sorry but my keyboard uses inscript with104 keys but i cant find it


while error is still there but

     Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; st>
     Active: active (exited) since Tue 2024-06-11 19:51:03 IST; 1min 58s ago
       Docs: man:systemd-vconsole-setup.service(8)
             man:vconsole.conf(5)
    Process: 431 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited>
   Main PID: 431 (code=exited, status=0/SUCCESS)
        CPU: 47ms

Jun 11 19:51:02 gold-ml10gen9 systemd[1]: Starting Virtual Console Setup...
Jun 11 19:51:03 gold-ml10gen9 systemd[1]: Finished Virtual Console Setup.
lines 1-11/11 (END)

It’s a known old issue. Try some search in the forum.
Anyway, it is a harmless issue.

1 Like

All of my Endeavour OS systems have always shown this error on startup. I had just assumed it was a normal thing, like failing to launch a feature my system didn’t support/need, because everything worked :sweat_smile:

I’m curious now to know if it’s something one could expect not to see.

1 Like