Originally Posted by
hikariws
It's the DNS server. By WAN do u mean local network adapter, or router's WAN? Internet is working.
Indeed, I have a Xauthority setting so I'm able to run sudo GUI apps over PuttY, specially scite. I could remove it to see if it's the cause, but I need it active.
What's the best way to do it? I'm also concerned that it seems harder to solve than I expected.
Code:
sudo -H {name-of-program}
Can your system ping 1.1.1.1 AND google.com? There's some sort of networking issue at some point. For some setups, DNS needs to work to resolve the hostname. If that fails, then authentication for different needs fails. A local login shouldn't fail, but if there are LDAP/AD accounts, those could fail if the credentials aren't cached.
I always found running putty + some X/server problematic. The solution I ended up with was to run a small Linux VM and use the normal X/Server for all remote access needs. Of course, the other solution is to purchase a commercial X/Server which supports a broader range of needs than the Windows ports. I think the best X/Servers consolidated into just a few companies. They were ~ $200 when I last used them in the early 2000s. So ... I really don't know anything. From around 2010 - 2015, I used NX clients from Windows to connect into full desktops on Linux. Started with FreeNX, but it wasn't all that stable. Didn't like NoMachine's limitations, then found x2go and switched. Ran with that for a few years. It was very stable from Windows and from Linux workstations. I still use it when traveling, but inside the LAN, I'm on Linux workstations pretty much by default.
Bookmarks