What is different when connecting via RDP vs connecting via console session / seat?

Having established XRDP and now being able to connect to it I would also like to make it behave the same as my local login to the computer in question.

The problem I’m experiencing manifests like this:

  1. Some apps “forget” their settings
  2. I’m constantly being asked for password

An example for #1 would be gnome-terminal which suddenly has a white background instead of default purple. Same goes for gnome session itself: auto-start apps don’t start, sidebar doesn’t load, etc. Some apps, like Firefox keep their wits about them though to make my confusion even deeper.

No. 2 is even more annoying: I’m greeted with two separate password prompts even before I can start using the desktop. And then if I should do sudo su, I will first be asked for password in the gnome-console window and then graphically on top of that too.

So obivously something isn’t being started the same way as with interactive console session.

What? Can I make it so that it would be?

Connecting older network to existing local area network

I’m attempting to connect two networks right now. The first is a peer to peer containing two systems, one running Windows XP and the other is a CNC router running IBM’s OS/2 Warp. This is an older network, I currently need the Windows XP to be able to view the CNC’s file server and put operations on the CNC router. I have a second network consisting of 4 Windows 10 computers and a few other systems such as a printer. My goal is to remove the Windows XP computer for various reasons and have the Windows 10 computers connect to the CNC router.

I’ve tried connecting all of the systems to the same network through ethernet cables, the Windows XP computer can successfully ping the Windows 10 computers however, the Windows XP computer and CNC router do not show up on the network.

Can I add another suitcase in one of my connecting flights?

I am flying from A to B, with a connecting flight through London Heathrow (i.e. A -> LHR -> B). Both flights are with the same company/conglomerate, and so my bags will still be in transit (and not with me).

I have a 10 hours wait in LHR and want to go downtown and do some substantial shopping (including alcohol). I plan to buy another suitcase, fill it with these shopping, and then dropping at the bag drop, so I can have it at my final destination.

Is it possible to do this? Can I add another suitcase in one of my flight connections?

Should I use public IP or private IP for connecting servers within the same VPC?

I have 2 Linux servers on AWS. Both servers are in the default vpc (aws default vpc). Both of these servers have their own Elastic IP. I also have a webServer which is inside the same vpc.

I want to run a replicated MySQL on these 2 servers, so one server would be master and the other slave.

I need to provide an ip address for each MySQL server, so in my.cnf, there is a setting: bind-address

Should I use the public or private IP for the bind-address or the private IP? (All the computers who need access to MySQL server are in the same vpc).

Note both servers are in the same Security Group and I have opened all the ports within the security group.

How to determine which network interface VPN is connecting through?

I help manage several remote systems that automatically connect to our VPN server when they boot using openvpn. At some of the sites, they connect to both the eth0 and wlan0 network interfaces but I do not know how to tell which interface the tun0 interface is being routed through. Any advice on how to determine this? I don’t want to remotely disable one or the other interface to check as I could lose my ability to log back and re-enable it.

What information for identification does a WiFi router get from a connecting device (android)? What information can be spoofed?

When i want my device to connect to a WiFi router and make the router not recognize the device i have to change the MAC and the hostname. Is this right? And what information will also be usually collected by a WiFi router? And how can i change the information my device is sending to the WiFi router to prevent my device from getting identified?

How can I add a .pem private key fingerprint entry to known_hosts before connecting with ssh?

I have host A in AWS as an EC2 instance.

I a private key embedded in a .PEM file that I can use to host A with SSH key Z. This works if I pass it to the ssh command using the -l argument, AND if I turn off strict host checking with -o StrictHostKeyChecking=no.

I would strongly prefer to leave strict host checking on even though I “know” this is the correct host because I’m interacting with the AWS interface, getting the ip/dns from them, and I’m inside of my own little VPC world.

It seems like the only way to provide the fingerprint -> host mapping is by providing it in a known_hosts file.

Is that correct?

If that is correct, how can I take the private key embedded in the .PEM file that I have from AWS and build the correct entry for the single fingerprint -> host mapping for a temporary known_hosts file that I can read when I’m logging into the EC2 instance?


  • Use ssh-keyscan. All this does is blindly accept the fingerprint of the remote client without validating that it matches with the key. I think?
  • Turn off StrictHostKeyChecking. I want to establish good practices early, and I need to know how to do this now, because I’m going to need to know how to do this in general. (By this I mean how to use SSH fingerprints to validate the identity of the host I’m connecting to, based on the key that I have.)
  • Mess around with ssh-add. I want to write this to a file that’s easy to lockdown access to, not put it into a running process.