UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi there,
could someone explain me briefly how I could find out localhost and localdomain info? I'm about to use VNCViewer. And the command should be simple as "vncviewer" (address)? So what would be the correct address if the computer is called for example "pc3" and the localhost "host" and the domain "domain" - pc3@host.domain:0? Or do I simply put it 'pc3.localhost.localdomain'? And what to do with the firewall if...? Well, I'm lost!
And one question more: I managed to use remote desktop on my computer but the windows appears all confused. Solutions? This is the report that comes out:
Quote:
Originally Posted by ursinus
Desktop name "LibVNCServer"
Connected to VNC server, using protocol version 3.3
VNC server default format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct
Using default colormap and visual, TrueColor, depth 24.
Got 256 exact BGR233 colours out of 256
Using BGR233 pixel format:
8 bits per pixel.
True colour: max red 7 green 7 blue 3, shift red 0 green 3 blue 6
The windows hostname is not the same as the linux hostname. The windows hostname is tied with the file and printer sharing service, and broadcast to everyone else in the network it's hostname to tie it with an IP address...
Now, in linux, there is no service that really does that unless you install extra software, the hostname you give your computer will not be broadcasted to other computers.
So if you call your computer pc3, the other computers won't know pc3 is equal to 192.168.0.102 , for example.
If you want to call your computers by hostname, you have to specify the IP and hostname match in the host file.
localhost will always point to the computer itself, and not another computer, same with 127.0.0.1.
If you launch a VNC server on your computer, you can access it from the same computer by connection to localhost.
The domain name... I never had to bother with that too much :P
I use "ifconfig | grep 192" . grep will search for the string 192, and print out the lines that contain it. Since my ip pretty much always begins with that, it'll pretty much always tell me my ip
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.