3

I'm midnight commander user on Ubuntu 18.04. When I start the terminal and then type mc, it starts immediately. But I don't want to type it every time I open terminal. So I added mc to end of .bashrc file. As result, mc is starting, but very slow — it added 3 sec delay.

Solutions like disable subshell aren't good. Hostname is resolving well. What else can i do?

Giacomo1968
  • 58,727

2 Answers2

0

Found this one using google trying to get autorun MC on Ubuntu Server when ssh connected. I found the solution:

Add "mc" into ~/.profile (or ~/.bash_profile or ~/.bash_login) instead of ~/.bashrc file. Then it would start normally and ctrl+o will work as expected.

Greenonline
  • 2,390
0

Try to start

mc --no-x11

It helps me in some environment