Results 1 to 6 of 6

Thread: Change Computer Name

  1. Back To Top    #1
    Esteemed Member josefko's Avatar
    Join Date
    May 2009
    Location
    Czech Republic
    Posts
    516
    Threads
    17
    Local Date
    Jun 6th 2020
    Local Time
    01:59 AM

    Change Computer Name

    I needed to change Kubuntu computer name, because my daughter's Windows computer didn't like, that my Kubuntu computer had the same name as is the name of my home network.

    I expected, that it would be a very simple GUI operation, but I didn't find appropriate edit box for it. At the end after crossing Google and I changed the name of my computer in the file /etc/hostname. Now the Windows computer is satisfied.

    I can't believe that there is not some GUI solution to this, is there?
    Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13

  2. Back To Top    #2
    Contributing Member
    Join Date
    Apr 2008
    Posts
    30
    Threads
    11
    Local Date
    Jun 5th 2020
    Local Time
    04:59 PM

    Re: Change Computer Name

    Yeah there should be a gui method for this I agree.
    Systemax PC<br />CPU: AMD Athlon 64x2 4400<br />RAM: 3 GB DDR2 800 (PC2-6400)<br />Display: Nvidia Geforce 7600 GS<br />Kubuntu 9.10

  3. Back To Top    #3
    Kubuntu as a Second Language
    Join Date
    Jul 2009
    Posts
    1,183
    Threads
    60
    Local Date
    Jun 5th 2020
    Local Time
    11:59 AM

    Re: Change Computer Name

    Now you know the easy way to do it.
    The GUI setup keeps changing with upgrades and sometimes doesn't work. IMHO setting up a network by editing the files is easy enough that it is worth learning. Once you know which files to edit it's generally faster anyway. Anyway, I'm glad you got it fixed.

  4. Back To Top    #4
    Ascendant Snowhog's Avatar
    Join Date
    Mar 2007
    Location
    Columbia Heights, MN
    Posts
    20,596
    Threads
    1012
    Local Date
    Jun 5th 2020
    Local Time
    01:59 PM

    Re: Change Computer Name

    You don't have to edit the /etc/hostname 'by hand.' From the CLI, just type:
    Code:
    sudo hostname new_hostname
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes
    Using Kubuntu Linux since March 23, 2007
    Twin Cities Bicycling Club - "And miles to go before I sleep."

  5. Back To Top    #5
    Esteemed Member josefko's Avatar
    Join Date
    May 2009
    Location
    Czech Republic
    Posts
    516
    Threads
    17
    Local Date
    Jun 6th 2020
    Local Time
    01:59 AM

    Re: Change Computer Name

    SOLUTION:
    There is no GUI solution in Kubuntu Jaunty.

    WORKAROUND:
    You need to adjust /etc/hostname and /etc/hosts to your needs. Should be self-explanatory once you're editing the files.

    Instead of changing file hostname you can run from the shell
    Code:
    sudo hostname new_hostname
    Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13

  6. Back To Top    #6
    Esteemed Member
    Join Date
    Mar 2007
    Posts
    596
    Threads
    231
    Local Date
    Jun 5th 2020
    Local Time
    06:59 PM
    The hostname command doesn't seem to change /etc/hostname (not surprising since it doesn't demand root privileges). There are two places I know of where the hostname is embedded: /etc/hostname and /etc/hosts. As far as I can tell, they both have to be changed by direct editing one way or another. This is an obvious function to put somewhere in System Settings.

Similar Threads

  1. Replies: 10
    Last Post: Feb 18th 2012, 08:46 AM
  2. How Do I Change Computer Administrator and Root?
    By mhumm2 in forum Install and Boot
    Replies: 12
    Last Post: Dec 5th 2009, 06:01 PM
  3. Replies: 5
    Last Post: Oct 19th 2009, 08:16 PM
  4. File Shares in 9.04 (no other computer sees 9.04 computer)
    By NowIsAllWeHave in forum Network Support
    Replies: 5
    Last Post: Aug 6th 2009, 07:39 PM
  5. Replies: 6
    Last Post: Jan 1st 1970, 12:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •