Ubuntu :: Find / Create A Hostname For VNC?

Dec 17, 2010

How do I make/find a host name in Ubuntu (10.04) so someone outside my local network can connect via VNC (Remote Desktop). I went to System> Preferences> Remote Desktop, but then it says

"Your desktop is only reachable over the local network. Others can access your computer using the address 192.168.1.102 or geordie-desktop.local."

*Note, would this error be due to my ISP?

View 2 Replies


ADVERTISEMENT

Software :: Find Out Where Is The HOSTNAME Defined

Mar 24, 2011

Normally each machine should have a host name such as [URL] Where should this HOSTNAME to be define normally? In ' /etc/sysconfig/network'? Else where?

View 9 Replies View Related

CentOS 5 :: How To Find Computer Hostname

Jun 17, 2011

I am having problems with this computer program called fluent. I have a service request open with them and they need to know my computer's hostname. ANything I have tried tells me that my computers hostname and fqdn is localhost.localdomain. The people on the service request seem to not believe me. Is there anyway that the computer hostname is hidden? This is what I have tried:

[powder@localhost ~]$ hostname
localhost.localdomain
[powder@localhost ~]$ dnsdomainname

[code]....

View 4 Replies View Related

General :: Bash Scripting - Executes A Few Perl Scripts - Create A New Array And Take The Hostname

Apr 4, 2011

I'm writing a bash script that executes a few perl scripts. One of the perl scripts that I need to execute requires two arguments with it. The arguments are stored in a txt file, each line contains a hostname and its corresponding IP address separated by a ":" (colon), the txt file looks like this below:

[Code]...

I'm not sure if it's the best way to accomplish this but here it goes. In the bash file, let's call it getHosts.sh, I create an array and assign each line of the file to an element in that array. I then think I need to create a new array where I take the hostname (which is before the ":") separate it from its IP address and place the IP address on a new line just below the hostname (this way I can reference to it like $hostNames[$x] would be the hostname, and $hostNames[$x+1] would be its IP address). So the new array would now look like this below:

[Code]...

View 4 Replies View Related

CentOS 5 Networking :: No Hostname - Cannot Find Valid BaseURL For Repo

May 12, 2011

I have a server running centos 5 located in a datacenter. I am setting it up as a web server but haven't bothered to move the domain from my current registrar to the server as there are a lot of things I need to get done before that. I am having a problem where I couldn't install httpd. So i tried some of the basic fixes i knew as far as yum clean all and checking that my /etc/resolv.conf was ok. I have the two nameservers I am using listed there but I have no hostname set because I simply dont have the domain transferred or anything like that yet. Is that the reason I am having these issues. I installed the system with a network install fine about a month ago so im not sure why I am having problems now.When i try to ping centos.org I get an unknown host www.centos.org error. I tried changing the resolv.conf to have localhost as the hostname and I still have the same issues. I havent made any changes to anything that would potentially cause this.

My etc/resolv.conf looks like this:
search
nameserver 12.34.567.8
nameserver 12.34.566.8

Also it seems the problem may have got worse after yum clean-all because before that when I would try 'yum install httpd' it would show the files and filesizes and ask to install, when I would select yes It would give an error showing it could not find the fastestmirror. Now it doesn't give any file size or files or an option to approve the install. It just responds with an error saying it could not retrieve mirrorlist
<urlopen error (-3, 'Temporary failure in name resolution' Error Cannot find a valid baseurl for repo: base

View 2 Replies View Related

General :: Ubuntu 9.10 Networking Hostname / Can Ping The Linux Box Using Its Hostname From A WinXp. But Cannot Do The Reverse?

Jan 3, 2010

I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.

View 7 Replies View Related

Ubuntu Networking :: Pinging Hostname Rather Than Hostname.local?

May 24, 2010

I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.

View 2 Replies View Related

Ubuntu Networking :: Hostname Changed But Email Still Using Old Hostname?

May 22, 2011

I have an ubuntu 10.04 server with hostname "abc.domain.com". However, due to migration, we had to change to hostname to something else, "xyz".

I have done changing /etc/hosts and /etc/hostname and run /etc/init.d/hostname start.

Checking the hostname and all shows it is now using hostsname of xyz. However, email sending out is still using old hostname. We have some scripts that will send out alerts like failed rsync or hdd space full to my email account. But I see the sender is still "root@abc.domain.com".

How do change that to xyz? I am using postfix. I have edited main.cf and restarted postfix but no go.

View 1 Replies View Related

Networking :: FC13 Install Can Ping By Hostname - Ssh By Hostname Fails

Jul 29, 2010

I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.

Here's the not-so-quick-and-dirty description of the situation:

I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.

I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).

The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.

Every machine has an equivalent resolv.conf:

As an example, I will show the output of a handful of my development machines:

I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:

columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200

Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL:
- Ping by IP address
- Ping by hostname
- ssh, scp, vnc, etc by IP addess

Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.

Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.

Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.

Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.

View 3 Replies View Related

OpenSUSE Install :: Set $HOSTNAME To Dynamically Update With The Hostname That Is Specified For The Ip In DNS?

Apr 6, 2010

How do I set $HOSTNAME to dynamically update with the hostname that is specified for the ip in DNS?

View 3 Replies View Related

General :: Difference Between $HOSTNAME And $(hostname)

Jan 21, 2010

the difference between $HOSTNAME and $(hostname)?

View 5 Replies View Related

Ubuntu :: PDF -Cannot Find Or Create The Font TimesNewRoman - Bold

Nov 17, 2010

We are having problems opening some PDF files: get error and whole document is unreadable using acrobat 9.x on karmic. "Cannot find or create the font 'TimesNewRoman,Bold'.Some characters may not display or print correctly." I also ran upgrade from ubuntu software center and retried but same problem.

View 1 Replies View Related

Fedora Installation :: Can't Find Xorg.conf / Create It?

May 27, 2010

Just have F-13 32 bit installed. But can't find xorg.conf. The screen resolution is only 800x600. The LCD display and the video card can support 1640x1280. Please where can I find a standard xorg.conf. Or how to create it here?

View 14 Replies View Related

CentOS 5 Server :: X86_64 Xen Xm Create Cannot Find Device Driver?

Apr 27, 2009

I am trying to create a xen vm on CentOs 5.3 using the following config file:

name = "vm5"
maxmem = 512
memory = 512
vcpus = 1

[Code]...

I'm assuming that it can't find a driver for a cdrom - but I am not too sure of that.

View 4 Replies View Related

Fedora Hardware :: Find The Volume And Mountit Or Set Fstab To Create The Mount Point

Jan 13, 2010

Gateway m275 laptop with builtin smartcard reader. I've done modeprobe - <mmc module of all types> after having removed modprobe.conf file. I see that there is a pcmcia rules, Do I add all modules to this list so hat it can be probed. Once pccardctl is working, how do I find the volume and mountit or set fstab to create the mount point or to have it automatically mounted in media.

View 1 Replies View Related

Programming :: Bash - Recursive Find - Create Parent Folder - Moving File

Dec 5, 2010

I'm starting bash shell script and I'm looping without any solution.

I'm trying to find some files under a folder hierarchy and in case of errors moving these files to a destination folder under the same hierarchy recreating this hierarchy if not exists.

Finding all ._* files under /src and moving them to /dest recreating folder1 or the others which contains ._* files but without moving files which does not correspond to the pattern.

Code:

I tried find command and I'am getting all needed files

Code:

But I don't know how to use the output to get the parent folder of files which are found to

1- create folder with mkdir -p /dest/folder1 or /dest/folder1/folder4

2- move found files from /src/... to /dest/... with rm command

I'm working on a find command as this trying to do all in the same line but ... little lost

Code:

View 8 Replies View Related

Ubuntu :: Can't Find/create Libz.a / "-lz" Option?

May 14, 2010

We are running Ubuntu and I want to install an oldish drawing program (inkscape, although that's not relevant). The configure file for inkscape wants libpng and the configure file for libpng wants something called "zlib" which it checks for via the "-lz" option.

There appears to be something available online called zlib but it only makes "uncompress.so" I am getting absolutely nowhere trying to figure out whether I should just rename it as libz.a (seems wrong) or whether I even have the right package to make whatever libpng wants when it is asking for the "-lz" option.

Mods: If this is in the wrong place, feel free to move. If it's in the wrong forum, please let me know if you know what the right forum might be!

(the system won't let me use the nickname everyone calls me by!)

View 4 Replies View Related

General :: "can't Find Specified Sfx Module" When Trying To Create Self Extracting File With 7zip

Oct 19, 2010

I am trying to create a self extracting file for Windows from Ubuntu 10.04 using 7zip.

I tried these commands:

7zr -sfx7z.sfx a output.exe *.txt
7zr -sfx/usr/local/etc/7z.sfx a output.exe *.txt

Both show this error:

Error: can't find specified sfx module

System error: E_FAIL

I have all the .sfx modules on /home/username/.sfx/ because I use them previously with "rar" and it worked fine, but it's not working for 7zip. I also copied 7z.sfx to /usr/local/etc/ to test the second command like shown here but I get the same error.

View 1 Replies View Related

Ubuntu :: Using Variables In Hostname?

Aug 27, 2010

I'm have been tasked with created a base Ubuntu image that can be used for cloning to multiple machines. As this is a network environment, each hostname will obviously need to be unique. Rather than manually changing the hostname each time a new, cloned machine is rolled out, I was wondering if there is a way to use a variable in the hostname (i.e., use a variable to truncate the the last 6 digits of the MAC address to the end of the static hostname--or any other unique variable for that matter--so it would look like hostname00E6D4).

View 7 Replies View Related

Ubuntu :: How Does Hostname Get Set On Karmic

Mar 24, 2010

I just set up a new karmic server, and the hostname is being set properly, but I'm not exactly sure how, since there is no longer an init script that sets it (it used to be /etc/init.d/hostname.sh on my older servers). Now I'm curious: what is the new mechanism by which the server's hostname is set at boot time?

View 3 Replies View Related

Ubuntu :: How To Put `hostname` In Uppercase

May 3, 2010

How i put `hostname` in uppercase in this case:date +"%Y%m%d%T" > date_`hostname`.txt Best wishes,Andr Barradas

View 3 Replies View Related

Ubuntu :: SSH After Changing The Hostname?

May 14, 2010

I just have a simple question. When I installed Lucid a few weeks ago, I didnt feel very inspired, and thus left the host name at default. I just changed the hostname today, and I discovered that I can no longer resolve the host for ssh connections to the computer. When I changed the hostname files, I followed this guide: [URL].. Is there a file that I need to change regarding SSH that has a hostname in it?

Specifically, Im trying to ssh and VNC connect to the Ubuntu box from my iPhone. I have a PuTTY client installed on it (from the app store, called iSSH) and up until now, it worked.

View 9 Replies View Related

Ubuntu :: Set /etc/hostname And /etc/hosts?

Dec 4, 2010

Ubuntu 10.10 64 bit

I need to set /etc/hostname and /etc/hosts so that on running;

$ hostname
Code:
ub1004
$ hostname -a
Code:
ub1004

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Can't Ping By Its Hostname

Jan 3, 2010

I have installed a ubuntu 9.10 server to use mostly as a fileserver. When I installed the server I set it up as DHCP and later on I have changed the /etc/network/interfaces file, the /etc/hosts file and the /etc/hostname file. I have the ip 192.168.1.100 set on the server and I can ping and SSH this address. But I can not ping my server by it's hostname enighet. I am setting up a NFS server and I would like to use my servers hostname when I do this. Why can I not ping my server by it's hostname? These are the 3 files I have changed...

Code:
johan@enighet:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo

[Code]....

View 2 Replies View Related

Ubuntu :: Hostname Is Getting Set To 'localhost' On Startup?

Feb 22, 2010

Everytime I turn on the computer, the hostname is getting changed back to localhost.

Code:
cat /etc/hosts
127.0.0.1najilelocalhost
# The Following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet

[Code]....

(side note: man hosts says that the name is based off the hostname file, but that's clearly not the case here. It's being named off the /etc/hosts file. Why did we move away from /etc/hostname? It's SOO much easier)

These computers (It's more then one) were all installed with the minimal Ubuntu disk and then installed basic software such as xorg, nautilus, gdm, and openoffice.

View 4 Replies View Related

Ubuntu Networking :: SSH Not Working By IP But With Hostname

Jul 19, 2010

I just finished installing ubuntu server 9.10 - fairly new. I couldn't run SSH when I use IP address of the server. I've also setup DynDNS that returns responses when I ping. SSH works fine when I use the hostname of my server (leopard) but SSH doesn't work when I use IP.I was expecting IP for "eth0" something starting with 192.168.x.x as are my other computers running WIN on the same network.Any ideas why

1) Why am I not able to run SSH from IP assigned to server by DHCP. It works when I use machine hostname (leopard)
2) Why SSH isn't working from DynDNS web hostname when it responses back the ping command.

View 6 Replies View Related

Ubuntu Networking :: No Address Associated With Hostname?

Oct 6, 2010

ok so when i sudo apt-get update i get a bunch of crap that says no address associated with hostname

ive googled this and changed my /etc/hosts to all sorts of things and no luck apache wont even work now either. this server is for a few websites the company i work for hosts. currently i swaped it over to another windows based comp but we want it on ubuntu.

ive heard this is dns related? and that a FQDN is needed? if so im not sure how to re write my /hosts file but as of not it looks like this:

Code:
127.0.0.1localhost
63.119.120.135speed
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback

[Code].....

View 9 Replies View Related

Ubuntu :: Difference Between /etc/hosts And /etc/hostname?

Oct 8, 2010

What is the difference between /etc/hosts and /etc/hostname?

I think the /etc/hosts file stores all ip address associated with this computer, but what about /etc/hostname?

It sounds almost like the computer name, but what is it used for?

View 6 Replies View Related

Ubuntu :: Set Hostname And FQDN On Server 10.04?

Oct 16, 2010

How to set the hostname and FQDN on Ubuntu Server 10.04?

View 5 Replies View Related

Ubuntu Servers :: Can't Set Hostname On LAMP 10.4

Dec 22, 2010

I've looked at several tutorials and since i'm a newb I can't figure them out. I'm trying to set my hostname on my LAMP 10.04. What files do I need to configure? (all IP's below are fake)

Here are the first lines from /etc/apache2/sites-available/default

Code:
<VirtualHost 111.111.111.111:80>
ServerAdmin webmaster@localhost
/etc/apache2/ports.conf has these lines after the comments

[Code]....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved