setfont modifies the font in the VGA console (what you get when you press CTRL-ALT-F1, etc) It won’t do anything in Terminal.
Normally only the root user can access the console device that setfont needs to connect to in order to make the font change. This is why you get an error message when you run it from your normal user account. An exception is when a user is logged into the VGA console… then the user has access to the console and setfont succeeds.
The fact that you get the error message whenever you start Terminal, means that you likely have some command in your .bashrc, .bash_profile, .bash_login, .profile or /etc/profile that is run whenever you start a terminal. Could it be that you have setfont in one of these places? otherwise, look for something else that may be accessing the console.
Related Posts:
- Error in linux console : Couldn’t get a file descriptor referring to the console
- curl: (6) Could not resolve host: google.com; Name or service not known
- tar: Cowardly refusing to create an empty archive
- Sleep for milliseconds
- Amazon Linux: apt-get: command not found
- What is the meaning of *nix?
- How do I find all files containing specific text on Linux?
- “Couldn’t find a file descriptor referring to the console” on Ubuntu bash on Windows
- How can I recursively find all files in current and subfolders based on wildcard matching?
- How to install grub after installing Windows 10
- How to print pthread_t
- -bash: syntax error near unexpected token `newline’ for display command
- Why am I getting “undefined reference to main”
- Python virtualenv questions
- SSH using python script
- How to activate virtualenv in Linux?
- mysql_config not found when installing mysqldb python interface
- Linux error while loading shared libraries: cannot open shared object file: No such file or directory
- Shell command to tar directory excluding certain files/folders
- QEMU: /bin/sh: can’t access tty; job control turned off
- Meaning of exit status 1 returned by linux command
- using pip3: module “importlib._bootstrap” has no attribute “SourceFileLoader”
- where does stdio.o live in linux machine?
- How can I kill a process by name instead of PID, on Linux?
- Extract file basename without path and extension in bash
- How to change permissions for a folder and its subfolders/files in one step
- mysql_config not found when installing mysqldb python interface
- linux command to get size of files and directories present in a particular folder?
- ./configure : /bin/sh^M : bad interpreter
- Compile the Fortran program in Windows using gfortran
- How can I set the ‘backend’ in matplotlib in Python?
- Yum fails with – There are no enabled repos.
- Unable to establish SSL connection upon wget on Ubuntu 14.04 LTS
- Writing a simple shell in C using fork/execvp
- Python 3.6 No module named pip
- Using ls to list directories and their total sizes
- configure: error: cannot run C compiled programs
- What does set -e mean in a bash script?
- php_network_getaddresses: getaddrinfo failed: Name or service not known (0) Failed To Connect..!
- C++ error: undefined reference to ‘clock_gettime’ and ‘clock_settime’
- How to set JAVA_HOME in Linux for all users
- “find: paths must precede expression:” How do I specify a recursive search that also finds files in the current directory?
- What is `S_ISREG()`, and what does it do?
- Difference between exec, execvp, execl, execv?
- Configuring Apache for localhost
- Restarting cron after changing crontab file?
- How to know what the ‘errno’ means?
- cd into directory without having permission
- Editing WordPress Permissions in LAMP – Ubuntu 11.10
- Rewrite URL to remap WordPress Permalink
- Using wp-uploads instead of wp-content/uploads
- What’s the proper way to setup WP-CLI on Ubuntu so that I don’t have to use the flag –allow-root?
- .htaccess file missing from WordPress install directory
- XAMPP/wordpress heartburn
- Can’t delete the two native plugins of WordPress
- User can not login
- A shorter way to automatically update WordPress?
- What user should I use for wp-cli on Ubuntu VPS [closed]
- Error establishing a database connection – WordPress setup, everything else is working
- WordPress cloning issue
- How to edit content in WordPress and the Polylang – plugin? – with demosite
- How to fix wp-login.php gives error 500 after migration?
- Timthumb isn’t displaying any images. “A TimThumb error has occured
- Problems loading stylesheet and permalinks after rebooting
- WordPress files owner changed silently
- How can I sort du -h output by size
- What exactly do the colors in htop status bars mean?
- Why is my crontab not working, and how can I troubleshoot it?
- Showing total progress in rsync: is it possible?
- How to bind MySQL server to more than one IP address?
- Why is “chmod -R 777 /” destructive?
- What’s the best way of handling permissions for Apache 2’s user www-data in /var/www?
- How to check if a library is installed?
- How do I do ‘mount –bind’ in /etc/fstab?
- Is it normal to get hundreds of break-in attempts per day?
- How to setup passwordless `sudo` on Linux?
- How do I prevent accidental rm -rf /*?
- How do I verify the speed of my NIC?
- What does Virtual memory size in top mean?
- What’s the best way to check if a volume is mounted in a Bash script?
- How do I find the UUID of a filesystem
- Find out symbolic link target via command line
- Meaning of directories on Unix and Unix like systems
- How to handle security updates within Docker containers?
- Job scheduling using crontab, what will happen when computer is shutdown during that time?
- Is it possible to make Nginx listen to different ports?
- how do you create an ssh key for another user?
- REJECT vs DROP when using iptables
- Linux command line best practices and tips?
- How to run command as user who has /usr/sbin/nologin as Shell?
- How to get pid of just started process
- How to disable everything in crontab -l?
- df says disk is full, but it is not
- Perform rsync while following sym links
- What is the maximum port number?
- How to sort ps output by process start time?
- Is there a proper way to clear logs?
- protocol version mismatch — is your shell clean?
- How do I join two named pipes into single input stream in linux
- How should an IT department choose a standard Linux distribution?