LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-16-2020, 07:14 PM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Rep: Reputation: 61
Question Kubuntu 18.04 - How the heck do I change the IP address that "Desktop Sharing" is listening to?


This window right here

How can I change that address? For me it's listing an IP address that I believe is a Vbox virtual nic. I want it to listen to an actual IP address reachable on my home network and I can't for the life of me figure out how to adjust it. Clickin on that little (i) icon just tells me

Quote:
The address is just a hint - you can use any address that can reach your computer. Desktop Sharing tries to guess your address from your network configuration, but does not always succeed in doing so. If your computer is behind a firewall it may have a different address or be unreachable for other computers.
Surely there is a script or something I can edit?
 
Old 05-17-2020, 05:01 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I believe the default NAT network is 10.0.x.0/24 and would guess your virtual machine is using bridged mode.

If the virtual machine networking adapter is configured for NAT then it is using an internal DHCP server provided by VirtualBox.

If the virtual machine networking adapter is configured for Bridged mode then it will acquire an address from your LAN network DHCP server and be just like any other device.

You might have a virtual adapter i.e virb0 but that would not be a 192.168.0.x ip address.

Last edited by michaelk; 05-17-2020 at 05:07 PM.
 
1 members found this post helpful.
Old 05-17-2020, 06:00 PM   #3
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by michaelk View Post
I believe the default NAT network is 10.0.x.0/24 and would guess your virtual machine is using bridged mode.

If the virtual machine networking adapter is configured for NAT then it is using an internal DHCP server provided by VirtualBox.

If the virtual machine networking adapter is configured for Bridged mode then it will acquire an address from your LAN network DHCP server and be just like any other device.

You might have a virtual adapter i.e virb0 but that would not be a 192.168.0.x ip address.
There is 5 VM's running on this machine, they are all configured specifically how they need to be (running IP cameras and what not). I appreciate the response but is there a way to just edit directly the Desktop Sharing IP? I suppose I should just contact the devs of KDE directly somehow.
 
Old 05-17-2020, 06:28 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I had just installed Kubuntu as a VirtualBox VM just a few days ago and actually verified the image you posted.

It is not a hint and what is displayed is the actual IP address of the virtual network adapter. Again if the virtual network adapter is configured as bridged mode, that IP is on your LAN and you do not have to do anything special. On a small home network running the latest DHCP server the IP address typically do not change but just to be sure you should be able to add them as a DHCP address reservation.

If your VMs network adapters are running as NAT and you do not want to change that setting you can configure port forwarding just like "real hardware" Each VM network will be a different IP address as posted above.
 
1 members found this post helpful.
Old 05-17-2020, 06:35 PM   #5
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by michaelk View Post
I had just installed Kubuntu as a VirtualBox VM just a few days ago and actually verified the image you posted.

It is not a hint and what is displayed is the actual IP address of the virtual network adapter. Again if the virtual network adapter is configured as bridged mode, that IP is on your LAN and you do not have to do anything special. On a small home network running the latest DHCP server the IP address typically do not change but just to be sure you should be able to add them as a DHCP address reservation.

If your VMs network adapters are running as NAT and you do not want to change that setting you can configure port forwarding just like "real hardware" Each VM network will be a different IP address as posted above.
None of my VMs are Kubuntu. My host OS is (that's where I want to VNC into). I actually disabled my VM's from starting at boot, rebooted the machine, and the first thing I ran was KRFB (Desktop Sharing) and it actually had the right IP address listed in there. However once the VM's are started the application (KRFB) appears to crash and will not launch again. I'm not sure what the issue is or how to fix it and I'm getting really frustrated with it.

Also, that image I posted is just a hot link to the actual KDE setup guide.

Last edited by wh33t; 05-17-2020 at 06:37 PM.
 
Old 05-17-2020, 06:56 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
OK, sorry for the confusion.

I don't know what could be causing the problem unless there is a conflict somewhere. I have played with RDP on VB hosts but not RFB.
 
1 members found this post helpful.
Old 05-17-2020, 10:42 PM   #7
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by michaelk View Post
OK, sorry for the confusion.

I don't know what could be causing the problem unless there is a conflict somewhere. I have played with RDP on VB hosts but not RFB.
No worries.

While I've got ya here though, would you happen to know...

Can I upgrade from 18.04lts to 20.04lts? That should be possible right?
 
Old 05-17-2020, 10:47 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Yes, it is possible.
 
Old 05-18-2020, 12:14 AM   #9
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Code:
wh33t@wh33tserv1:~$ sudo do-release-upgrade 
[sudo] password for wh33t: 
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS develoment release 
set Prompt=normal in /etc/update-manager/release-upgrades.
wh33t@wh33tserv1:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic
wh33t@wh33tserv1:~$
Am I doing something wrong?
 
Old 05-18-2020, 04:16 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
No, I missed that upgrades will not be enabled until July.
https://help.ubuntu.com/community/FocalUpgrades/Kubuntu
 
1 members found this post helpful.
Old 05-18-2020, 10:15 AM   #11
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Quote:
Am I doing something wrong?
Try running:
Code:
$ sudo do-release-upgrade -d
That should do the trick. The -d flag is for development release and is needed since an upgrade from one lts to the next is not officially supported until the 20.04.1 version is released in July. I've upgraded 3 kubuntu 18.04 installs to 20.04 installs without issue using this method. As with any upgrade, be sure to do a backup before trying this.
 
1 members found this post helpful.
Old 05-18-2020, 10:14 PM   #12
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by kilgoretrout View Post
Try running:
Code:
$ sudo do-release-upgrade -d
That should do the trick. The -d flag is for development release and is needed since an upgrade from one lts to the next is not officially supported until the 20.04.1 version is released in July. I've upgraded 3 kubuntu 18.04 installs to 20.04 installs without issue using this method. As with any upgrade, be sure to do a backup before trying this.
If I do that will I still be on the actual 20.04lts release when it does officially release?
 
Old 05-19-2020, 12:22 AM   #13
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Quote:
If I do that will I still be on the actual 20.04lts release when it does officially release?
Short answer, yes. Long answer: 20.04lts has been officially released. 20.04.1lts will be released in July. As a matter of policy, Ubuntu does not recommend updating from 18.04lts to 20.04lts until the first point release of the new lts which will be 20.04.1lts. It's always been like that and gives them time to work out any bugs on the new lts release. The method I gave you is the common workaround for people that don't want to wait for the first point release.

There is always risk when upgrading to a new release and you should always do a full backup first and understand how to restore your original installation if something goes wrong. That will be true even if you wait to July when 20.04.1lts is released. The cleanest, most reliable way is to do a fresh install of kubuntu 20.04. However, then you lose all your configuration and have to install all the software you want all over again as well as reconfigure everything again.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which of these distros would be best for a desktop? Just asking for the heck of it LinuxGeek2305 Linux - Desktop 19 12-08-2013 08:28 PM
ubuntu-desktop vs. kubuntu-desktop vs. xubuntu-desktop vs. lubuntu-desktop vs. unity Kenny_Strawn Ubuntu 18 05-13-2011 09:20 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
What the heck is "rb"? hottdogg Linux - General 1 02-26-2006 10:43 PM
Yo Jeremy...How the heck did you change your response headers???? ForumKid Linux - General 9 01-18-2002 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration