Forum Discussion
Mac and RDP Issues
In a shell/terminal window, type
hostname
That'll return the hostname of the Mac... e.g.
bash-3.2 hostname
this-host.domain.com
bash-3.2
So in /etc/hosts, the easiest thing to do is to add that (this-host.domain.com) as an alias for localhost... So the line in /etc/hosts that currently reads
::1 localhost
should be changed to read
::1 localhost this-host.domain.com
The important thing is that whatever the hostname command returns needs to be in /etc/hosts to make it resolvable (Actually that's a little white lie... if you're somewhere that has the output from hostname resolvable already.. e.g. DHCP with DDNS) would work already.
You can test your entry by typing
ping `hostname`
The Backtick characters are important... If ping says it can't resolve the name, then /etc/hosts isn't correct.
H
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com