Bug 1253915 - Recent Connection details are not being saved
Summary: Recent Connection details are not being saved
Keywords:
Status: CLOSED DUPLICATE of bug 1481957
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-viewer
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-15 15:08 UTC by Kelvin
Modified: 2019-03-22 11:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-22 11:16:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Kelvin 2015-08-15 15:08:59 UTC
Description of problem:

The Recent Connections list isn't being populated and is consistently empty.  I've experienced this since Ubuntu 14.04 through 15.04 which still ship with virt-viewer 1.0.  I decided to build from source expecting the problem was already resolved but have experienced the exact same symptoms.

Version-Release number of selected component (if applicable): 

Built from source using 2.0 tarball

How reproducible:

100% Consistent.

Steps to Reproduce:
1. Start guest.
2. Run remote-viewer binary.
3. Populate the connection url and connect to guest session.
4. Shutdown the guest.
5. Start guest again and run the remote-viewer binary.

No Recent Connection information is populated.

Actual results:

Empty Recent Connections box.

Expected results:

Previous successful connection URL's to be pre-populated.

Additional info:

kelvin@blackserver:~$ remote-viewer --debug spice://localhost:5900
(remote-viewer:28826): remote-viewer-DEBUG: fullscreen display 0: 0
(remote-viewer:28826): remote-viewer-DEBUG: Opening display to spice://localhost:5900
(remote-viewer:28826): remote-viewer-DEBUG: Guest (null) has a spice display

(remote-viewer:28826): GSpice-CRITICAL **: spice_session_set_shared_dir: assertion 'dir != NULL' failed
(remote-viewer:28826): remote-viewer-DEBUG: After open connection callback fd=-1
(remote-viewer:28826): remote-viewer-DEBUG: Opening connection to display at spice://localhost:5900
(remote-viewer:28826): remote-viewer-DEBUG: New spice channel 0xc99eb0 SpiceMainChannel 0
(remote-viewer:28826): remote-viewer-DEBUG: notebook show status 0xc0c1e0
(remote-viewer:28826): remote-viewer-DEBUG: main channel: opened
(remote-viewer:28826): remote-viewer-DEBUG: notebook show status 0xc0c1e0
(remote-viewer:28826): remote-viewer-DEBUG: virt_viewer_app_set_uuid_string: UUID changed to ee967950-974d-4296-965f-e2c54a517f06
(remote-viewer:28826): remote-viewer-DEBUG: No guest-specific fullscreen config, using fallback
(remote-viewer:28826): remote-viewer-DEBUG: app is not in full screen
(remote-viewer:28826): remote-viewer-DEBUG: virt_viewer_app_set_uuid_string: UUID changed to ee967950-974d-4296-965f-e2c54a517f06
(remote-viewer:28826): remote-viewer-DEBUG: No guest-specific fullscreen config, using fallback
(remote-viewer:28826): remote-viewer-DEBUG: app is not in full screen
(remote-viewer:28826): remote-viewer-DEBUG: New spice channel 0xd9e970 SpiceUsbredirChannel 3
(remote-viewer:28826): remote-viewer-DEBUG: new usbredir channel
(remote-viewer:28826): remote-viewer-DEBUG: New spice channel 0xda0cd0 SpiceUsbredirChannel 2
(remote-viewer:28826): remote-viewer-DEBUG: new usbredir channel
(remote-viewer:28826): remote-viewer-DEBUG: New spice channel 0xda3020 SpiceUsbredirChannel 1
(remote-viewer:28826): remote-viewer-DEBUG: new usbredir channel
(remote-viewer:28826): remote-viewer-DEBUG: New spice channel 0xda52a0 SpiceUsbredirChannel 0
(remote-viewer:28826): remote-viewer-DEBUG: new usbredir channel
(remote-viewer:28826): remote-viewer-DEBUG: New spice channel 0xab7a30 SpiceRecordChannel 0
(remote-viewer:28826): remote-viewer-DEBUG: New spice channel 0xdaca90 SpicePlaybackChannel 0
(remote-viewer:28826): remote-viewer-DEBUG: new audio channel
(remote-viewer:28826): remote-viewer-DEBUG: New spice channel 0xdb9bb0 SpiceCursorChannel 0
(remote-viewer:28826): remote-viewer-DEBUG: New spice channel 0xdbc0d0 SpiceDisplayChannel 0
(remote-viewer:28826): remote-viewer-DEBUG: New spice channel 0xdbd760 SpiceInputsChannel 0
(remote-viewer:28826): remote-viewer-DEBUG: new inputs channel
(remote-viewer:28826): remote-viewer-DEBUG: creating spice display (#:0)
(remote-viewer:28826): remote-viewer-DEBUG: Insert display 0 0xc24750
(remote-viewer:28826): remote-viewer-DEBUG: Found a window without a display, reusing for this display...
(remote-viewer:28826): remote-viewer-DEBUG: Preparing main window resize
(remote-viewer:28826): remote-viewer-DEBUG: Decided todo 800x600 (desktop is 800x600, fullscreen is 1920x1080
(remote-viewer:28826): remote-viewer-DEBUG: notebook show display 0xc0c1e0
(remote-viewer:28826): remote-viewer-DEBUG: Allocated 800x600
(remote-viewer:28826): remote-viewer-DEBUG: Child allocate 800x600
(remote-viewer:28826): remote-viewer-DEBUG: notebook show status 0xc0c1e0
(remote-viewer:28826): remote-viewer-DEBUG: notebook show display 0xc0c1e0
(remote-viewer:28826): remote-viewer-DEBUG: notebook show status 0xc0c1e0
(remote-viewer:28826): remote-viewer-DEBUG: notebook show display 0xc0c1e0
(remote-viewer:28826): remote-viewer-DEBUG: Preparing main window resize
(remote-viewer:28826): remote-viewer-DEBUG: Decided todo 1920x1080 (desktop is 1920x1080, fullscreen is 1920x1080
(remote-viewer:28826): remote-viewer-DEBUG: Allocated 1855x1056
(remote-viewer:28826): remote-viewer-DEBUG: Child allocate 1855x1043
(remote-viewer:28826): remote-viewer-DEBUG: notebook show status 0xc0c1e0
(remote-viewer:28826): remote-viewer-DEBUG: notebook show display 0xc0c1e0
(remote-viewer:28826): remote-viewer-DEBUG: Not removing main window 0 0xbaa0c0
(remote-viewer:28826): remote-viewer-DEBUG: Destroy SPICE channel SpicePlaybackChannel 0
(remote-viewer:28826): remote-viewer-DEBUG: zap audio channel
(remote-viewer:28826): remote-viewer-DEBUG: Destroy SPICE channel SpiceRecordChannel 0

(remote-viewer:28826): GSpice-CRITICAL **: spice_session_set_shared_dir: assertion 'dir != NULL' failed
(remote-viewer:28826): remote-viewer-DEBUG: notebook show status 0xc0c1e0
(remote-viewer:28826): remote-viewer-DEBUG: Guest blackwindows display has disconnected, shutting down
(remote-viewer:28826): remote-viewer-DEBUG: Disposing window 0xbaa0c0

(remote-viewer:28826): remote-viewer-DEBUG: Set connect info: (null),(null),(null),-1,(null),(null),(null),0

Comment 1 Eugene 2018-01-31 01:27:42 UTC
A'm confirming that. Version 6 has this stupid bug. Otherwise v5 is ok.
Tested on Windows 7 SP1.

Comment 2 andcycle-bugzilla.redhat.com 2018-09-30 19:12:23 UTC
and this bus exist in version 7, well done.

Comment 3 Daniel Berrangé 2019-03-22 11:16:23 UTC

*** This bug has been marked as a duplicate of bug 1481957 ***


Note You need to log in before you can comment on or make changes to this bug.