LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hostname and VNC in FC 6, please help me! (https://www.linuxquestions.org/questions/linux-newbie-8/hostname-and-vnc-in-fc-6-please-help-me-518235/)

capslockaus 01-10-2007 10:35 PM

Hostname and VNC in FC 6, please help me!
 
Hi All,

Please help me to change hostname and config vnc under feodra core 6.

Thank you very much.

dubya 01-11-2007 12:39 AM

Hello, wecome to LQ!

Could you maybe be more specific in your question? I mean, have you tried anything yet? Where are you in the process, ie, have you installed VNC yet?

capslockaus 01-11-2007 01:16 AM

Quote:

Originally Posted by dubya
Hello, wecome to LQ!

Could you maybe be more specific in your question? I mean, have you tried anything yet? Where are you in the process, ie, have you installed VNC yet?

Thank you for your reply.

First, I'd like to change PC name after install FC 6.

Next, I'd like to use VNC from window to remote this server.

So, please kindly show me step by step to do it

Thanks a lot

billymayday 01-11-2007 02:04 AM

If you are running gnome, I think it's under network settings that you change the hostname (sorry, I don't use the gui on my fc6 box).

From terminal, you can change it in /etc/sysconfig/network. I don't think the hostname command changes it permanently in FC6

billymayday 01-11-2007 02:10 AM

Fired up an FC6 gui - looks like its the DNS tab under System -> Administration -> Network

capslockaus 01-11-2007 03:36 AM

Quote:

Originally Posted by billymayday
Fired up an FC6 gui - looks like its the DNS tab under System -> Administration -> Network

Thanks,

My scenario: I just changed hostname to mylinux

then use ifconfig to show IP address. Next, from PC running window ping mylinux cannot find this host. Tracert via IP address just get the default name when install FC6 not mylinux. Could you give me advice ?

billymayday 01-11-2007 04:05 AM

What's the default name?

Inability to ping simply relates to name resolution - ie your windows mchine doesn't know where to find your linux machine.

If you don't want to run a DNS server, you'll find a file on your windows machine called host or hosts that you should be able to add an IP and name to find the linux box

Quigi 01-11-2007 12:06 PM

Quote:

Originally Posted by capslockaus
from PC running window ping mylinux cannot find this host.

Windows doesn't know about "mylinux" -- how could it?

Quote:

Originally Posted by billymayday
you'll find a file on your windows machine called host or hosts that you should be able to add an IP and name to find the linux box

In C:\windows\system32\drivers\etc\hosts, add a line like
Code:

192.168.2.33 mylinux
but adjust the IP address. Of course you're free to tell Windows any name you like; using the same name as the machine's hostname (mylinux) is just convenient for reducing confusion.


All times are GMT -5. The time now is 05:19 AM.