Difference between revisions of "Linux - Troubleshooting"

From The TinkerNet Wiki
Jump to navigation Jump to search
Line 1: Line 1:
== Boot Problems ==
+
==Boot Problems==
 
[https://prognotes.net/2018/04/linux-mint-initramfs-prompt-at-boot/ Mint fails to boot.  Lands in BusyBox with an '''(initramfs)''' prompt]
 
[https://prognotes.net/2018/04/linux-mint-initramfs-prompt-at-boot/ Mint fails to boot.  Lands in BusyBox with an '''(initramfs)''' prompt]
  
Line 41: Line 41:
  
 
[https://forums.linuxmint.com/viewtopic.php?t=231342#p1225436 Re: Linux Mint 18 Remote Desktop (No Security types supported)]
 
[https://forums.linuxmint.com/viewtopic.php?t=231342#p1225436 Re: Linux Mint 18 Remote Desktop (No Security types supported)]
<div class="postbody"><div id="post_content1225436"><div class="content" style="margin-left: 40px">It wouldn't matter if the box you're coming from is Windows 7/8/10, MacOS, or Linux, or if you're running RealVNC, tightVNC, or Remmina--you'll have the same problem. The encryption used by Vino-server on Ubuntu/LM seems to be incompatible with that used by anything else and the result is no security type (0) instead of off/none (1) or normal (2). The only way to make it work is to diable its incompatible encyrption. One way is:<br /> <br /> '''gsettings set org.gnome.Vino require-encryption false'''<br /> <br /> Once you do that, you want to ensure VNC/5900+ is not open in your firewall (gufw). You can then tunnel VNC through ssh ([[Software - SSH|install OpenSSH Server]]) or use RDP (install xrdp) for security. However, if you do the latter, you'll find Vino also doesn't spawn on port 5910+ as xrdp expects. So you'll have to edit the xrdp config file and replace port=-1 with port=5900 to get it to work. You'll also have to have a logged in session running on the server for this VNC to work.<br /> <br /> Install xrdp on a Raspberry Pi and it just works.I have several running headless for various functions. sessman runs on 3350 and xrdp on 3389. Upon connection, Xvnc wakes up on 5910 for xrdp to link to.</div> <div class="signature" id="sig1225436" style="margin-left: 40px">Desktop: HP Z240 Quad-Core Xeon, 32GB RAM, 500GB SSD, Nvidia graphics, 27" monitor<br /> Laptop:::: HP Zbook Quad-Core i7,,,,, 32GB RAM, 500GB SSD, Nvidia graphics, 15" display<br /> OS Both: Linux Mint 18 Sarah Cinnamon, kernel 4.4.0-45.66</div> </div> </div>
+
<div class="postbody"><div id="post_content1225436"><div class="content" style="margin-left: 40px">It wouldn't matter if the box you're coming from is Windows 7/8/10, MacOS, or Linux, or if you're running RealVNC, tightVNC, or Remmina--you'll have the same problem. The encryption used by Vino-server on Ubuntu/LM seems to be incompatible with that used by anything else and the result is no security type (0) instead of off/none (1) or normal (2). The only way to make it work is to diable its incompatible encyrption. One way is:<br /> <br /> '''gsettings set org.gnome.Vino require-encryption false'''<br /> <br /> Once you do that, you want to ensure VNC/5900+ is not open in your firewall (gufw). You can then tunnel VNC through ssh ([[Software - SSH|install OpenSSH Server]]) or use RDP (install xrdp) for security. However, if you do the latter, you'll find Vino also doesn't spawn on port 5910+ as xrdp expects. So you'll have to edit the xrdp config file and replace port=-1 with port=5900 to get it to work. You'll also have to have a logged in session running on the server for this VNC to work.<br /> <br /> Install xrdp on a Raspberry Pi and it just works.I have several running headless for various functions. sessman runs on 3350 and xrdp on 3389. Upon connection, Xvnc wakes up on 5910 for xrdp to link to.</div> <div class="signature" id="sig1225436" style="margin-left: 40px">Desktop: HP Z240 Quad-Core Xeon, 32GB RAM, 500GB SSD, Nvidia graphics, 27" monitor<br /> Laptop:::: HP Zbook Quad-Core i7,,,,, 32GB RAM, 500GB SSD, Nvidia graphics, 15" display<br /> OS Both: Linux Mint 18 Sarah Cinnamon, kernel 4.4.0-45.66</div>
 +
 
 +
== Mint 19.3 machine periodically fails to properly use my local DNS server ==
 +
</div> </div>Dunno what's causing this, but a quick fix seems to be:
 +
 
 +
* <code>sudo service systemd-resolved restart</code>
 +
 
 +
<br />

Revision as of 14:14, 7 July 2021

Boot Problems

Mint fails to boot. Lands in BusyBox with an (initramfs) prompt

One of my Mint 19.1 machines seems to regularly refuse to acknowledge mouse clicks...

Mint 19 Update Manager occasionally seems to have an issue where it cannot refresh the update list.

Most likely, it is a repository problem that will resolve itself if you just wait a bit & try again.

Mint is trying to eliminate Samba...

Unable to launch "cinnamon-session-cinnamon"

apt install mint-meta-cinnamon

"You have X broken package on your system!

I was updating, upgrading Thunderbird from the Update Manager. I got a message:

"You have 1 broken package on your system!
Use the "Broken" filter to locate it."

What is that, how do I run it?

  • sudo apt-get install -f

I was removing unwanted software from my Linux Mint machine and went too far...

  • Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" not found; Falling back to default session
  • aaarrrggg...
  • Open an SSH session to the machine
    • apt install mint-meta-cinnamon
  • aaahhh...   :)

RDP

In order to access a machine through RDP, the user MUST have a valid .xsession file.


Re: Linux Mint 18 Remote Desktop (No Security types supported)

It wouldn't matter if the box you're coming from is Windows 7/8/10, MacOS, or Linux, or if you're running RealVNC, tightVNC, or Remmina--you'll have the same problem. The encryption used by Vino-server on Ubuntu/LM seems to be incompatible with that used by anything else and the result is no security type (0) instead of off/none (1) or normal (2). The only way to make it work is to diable its incompatible encyrption. One way is:

gsettings set org.gnome.Vino require-encryption false

Once you do that, you want to ensure VNC/5900+ is not open in your firewall (gufw). You can then tunnel VNC through ssh (install OpenSSH Server) or use RDP (install xrdp) for security. However, if you do the latter, you'll find Vino also doesn't spawn on port 5910+ as xrdp expects. So you'll have to edit the xrdp config file and replace port=-1 with port=5900 to get it to work. You'll also have to have a logged in session running on the server for this VNC to work.

Install xrdp on a Raspberry Pi and it just works.I have several running headless for various functions. sessman runs on 3350 and xrdp on 3389. Upon connection, Xvnc wakes up on 5910 for xrdp to link to.
Desktop: HP Z240 Quad-Core Xeon, 32GB RAM, 500GB SSD, Nvidia graphics, 27" monitor
Laptop:::: HP Zbook Quad-Core i7,,,,, 32GB RAM, 500GB SSD, Nvidia graphics, 15" display
OS Both: Linux Mint 18 Sarah Cinnamon, kernel 4.4.0-45.66

Mint 19.3 machine periodically fails to properly use my local DNS server

Dunno what's causing this, but a quick fix seems to be:

  • sudo service systemd-resolved restart