# Solved - "Couldn't get a file descriptor referring to the console"

**URL:** <https://dietpi.com/forum/t/solved-couldnt-get-a-file-descriptor-referring-to-the-console/6588>\
**Category:** Troubleshooting\
**Created:** [5 May 2022 07:34 UTC](https://dietpi.com/forum/t/solved-couldnt-get-a-file-descriptor-referring-to-the-console/6588 "2022-05-05T07:34:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![giuliomagnifico](https://dietpi.com/forum/user_avatar/dietpi.com/giuliomagnifico/32/1890_2.png) [@giuliomagnifico](https://dietpi.com/forum/u/giuliomagnifico)\
**Post date:** [5 May 2022 07:34 UTC](https://dietpi.com/forum/t/solved-couldnt-get-a-file-descriptor-referring-to-the-console/6588/1 "2022-05-05T07:34:03Z")

</div>

Hi,  
I don’t know why but since yesterday this error appeared in my shell using DietPI account, using root account there isn’t the error:

 ![Screen Shot 2022-05-05 at 09.31.08_compressed.jpg](https://dietpi.com/forum/uploads/default/original/2X/3/351e409335bb95eb6b42a98fd4a51fc335a4df31.jpeg)  
 ![Screen Shot 2022-05-05 at 09.31.14_compressed.jpg](https://dietpi.com/forum/uploads/default/original/2X/f/f53749123a181a2c8b0fd62e0e3aade2da3b7040.jpeg)  
Maybe it appears after I changed the FQDN name from DietPI to Pi-Hole, I don’t remember, maybe there’s another bash process active but I don’t see it.

(already tried to restart and changed the locale settings)

Thanks

---

<div class="post-metadata">

**Author:** ![giuliomagnifico](https://dietpi.com/forum/user_avatar/dietpi.com/giuliomagnifico/32/1890_2.png) [@giuliomagnifico](https://dietpi.com/forum/u/giuliomagnifico)\
**Post date:** [5 May 2022 07:40 UTC](https://dietpi.com/forum/t/solved-couldnt-get-a-file-descriptor-referring-to-the-console/6588/2 "2022-05-05T07:40:49Z")

</div>

Oh nevermind, I fixed by myself, [during my test to change the default font in console](https://dietpi.com/forum/t/change-default-font-terminal-in-dietpi/6501/1) I added a weird string to the .bashrc, I found it, deleted, reboot and the error is gone.

The nash error was to load another font from bashrc: /usr/bin/setfont /usr/share/consolefonts/Uni2-Fixed15.psf.gz

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [5 May 2022 16:06 UTC](https://dietpi.com/forum/t/solved-couldnt-get-a-file-descriptor-referring-to-the-console/6588/3 "2022-05-05T16:06:25Z")

</div>

Your should be able to change the default font (system-wide) via dpkg-reconfigure console-setup, if I’m not mistaken.

---

<div class="post-metadata">

**Author:** ![giuliomagnifico](https://dietpi.com/forum/user_avatar/dietpi.com/giuliomagnifico/32/1890_2.png) [@giuliomagnifico](https://dietpi.com/forum/u/giuliomagnifico)\
**Post date:** [5 May 2022 19:02 UTC](https://dietpi.com/forum/t/solved-couldnt-get-a-file-descriptor-referring-to-the-console/6588/4 "2022-05-05T19:02:52Z")

</div>

I think you can only change the locale, and I was trying to change all the font style, but I solved in this old thread: [https://dietpi.com/forum/t/change-default-font-terminal-in-dietpi/6501/14](https://dietpi.com/forum/t/change-default-font-terminal-in-dietpi/6501/14)
