[jaunty] MythbuntuControlCentre hangs when installing VNC service

Bug #336274 reported by Tomas Cassidy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
Undecided
Unassigned
mythbuntu-common (Ubuntu)
Fix Released
Undecided
Unassigned
mythbuntu-control-centre (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

$ lsb_release -a
/usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated
  import sets
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu jaunty (development branch)
Release: 9.04
Codename: jaunty

$ apt-cache policy x11vnc
x11vnc:
  Installed: 0.9.3.dfsg.1-1ubuntu1
  Candidate: 0.9.3.dfsg.1-1ubuntu1
  Version table:
 *** 0.9.3.dfsg.1-1ubuntu1 0
        500 http://au.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

$ apt-cache policy mythbuntu-control-centre
mythbuntu-control-centre:
  Installed: 0.33-0ubuntu1
  Candidate: 0.33-0ubuntu1
  Version table:
 *** 0.33-0ubuntu1 0
        500 http://au.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

I attempted to start the VNC service by selecting "Enable" in MythbuntuControlCentre and clicking "ApplY", but MCC appears to hang on "Configuring VNC Service" where the progressbar is at about 40%. If I kill this window with xkill, I can still start up a vnc service manually by running "x11vnc" from a terminal window. Also, running "sudo dpkg-reconfigure x11vnc" from a terminal window runs successfully with no output, as does "sudo apt-get install --reinstall x11vnc".

Revision history for this message
Mario Limonciello (superm1) wrote :

Can you please post the contents of these two commands:

ls -alh /root/.vnc

ls -alh $HOME/.vnc

So we can see what about your situation is causing the failure? I was able to do this fine on a fresh install.

Changed in mythbuntu:
status: New → Incomplete
Changed in mythbuntu-control-centre (Ubuntu):
status: New → Incomplete
Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :

I upgraded the packages today and I didn't get any errors when turning on the VNC service via MCC. A 'passwd' file exists in /root/.vnc/, and ~/.vnc doesn't exist. After restarting the computer I can't see any vnc service running and I can't connect via VNC. If I run x11vnc manually, I can connect via VNC to the computer but it doesn't seem to pick up the password in /root/.vnc/passwd.

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 336274] Re: [jaunty] MythbuntuControlCentre hangs when installing VNC service

Hi Thomas:

So x11vnc only starts in the the 'mythbuntu' gdm session. Are you using
that session?

On Mon, Mar 30, 2009 at 05:57, Tomas Cassidy <
<email address hidden> <tomas.cassidy%<email address hidden>>>wrote:

> I upgraded the packages today and I didn't get any errors when turning
> on the VNC service via MCC. A 'passwd' file exists in /root/.vnc/, and
> ~/.vnc doesn't exist. After restarting the computer I can't see any vnc
> service running and I can't connect via VNC. If I run x11vnc manually,
> I can connect via VNC to the computer but it doesn't seem to pick up the
> password in /root/.vnc/passwd.
>
> --
> [jaunty] MythbuntuControlCentre hangs when installing VNC service
> https://bugs.launchpad.net/bugs/336274
> You received this bug notification because you are a member of Mythbuntu
> Developers, which is subscribed to mythbuntu-control-centre in ubuntu.
>

--
Mario Limonciello
<email address hidden>
Sent from: Austin Texas United States.

Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :

I would guess so. I haven't changed anything from the installed defaults, where mythbuntu does auto-login to the user account setup in the installer and then starts mythfrontend.real automatically. I'm not sure when x11vnc is supposed to be started. The only evidence I can see of enabling the VNC service in MCC is the file /root/.vnc/passwd; there is no vnc process running anywhere after the computer does auto-login to mythfrontend.real.

Revision history for this message
Mario Limonciello (superm1) wrote :

Just did a fresh install and enabled it via ubiquity no trouble, so the session.sh is working. next question then is

what's ~/.dmrc look like for you?

Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :

$ cat .dmrc

[Desktop]
Session=mythbuntu

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 336274] [NEW] [jaunty] MythbuntuControlCentre hangs when installing VNC service

Ok, then the next logical thing is the permissions on /root

Can you show ls -alhR /root ?

On 04/06/2009, Tomas Cassidy <email address hidden> wrote:
> $ cat .dmrc
>
> [Desktop]
> Session=mythbuntu
>
> --
> [jaunty] MythbuntuControlCentre hangs when installing VNC service
> https://bugs.launchpad.net/bugs/336274
> You received this bug notification because you are a member of Mythbuntu
> Developers, which is subscribed to mythbuntu-control-centre in ubuntu.
>

--
Sent from my mobile device

Mario Limonciello
<email address hidden>

Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :
Download full text (6.1 KiB)

$ sudo ls -alhR /root
/root:
total 76K
drwx------ 14 root root 4.0K 2009-04-01 22:53 .
drwxr-xr-x 22 root root 4.0K 2009-04-06 23:48 ..
drwx------ 2 root root 4.0K 2008-07-05 14:24 .aptitude
-rw------- 1 root root 146 2009-03-30 21:54 .bash_history
-rw-r--r-- 1 root root 2.2K 2008-12-24 05:53 .bashrc
drwx------ 3 root root 4.0K 2008-08-29 08:32 .dbus
-rw------- 1 root root 16 2009-03-03 22:17 .esd_auth
drwx------ 3 root root 4.0K 2009-03-10 00:38 .gconf
drwx------ 2 root root 4.0K 2009-03-10 00:38 .gconfd
drwx------ 3 root root 4.0K 2008-08-29 02:35 .gnome2
drwx------ 2 root root 4.0K 2008-08-29 02:35 .gnome2_private
drwxr-xr-x 3 root root 4.0K 2009-02-26 14:12 .mythtv
-rw-r--r-- 1 root root 140 2007-11-20 04:57 .profile
drwxr-xr-x 2 root root 4.0K 2008-08-29 00:35 .qt
-rw------- 1 root root 218 2009-04-01 22:53 .recently-used.xbel
drwx------ 2 root root 4.0K 2008-08-29 21:11 .ssh
drwx------ 3 root root 4.0K 2009-03-22 20:07 .synaptic
lrwxrwxrwx 1 root root 15 2008-09-12 17:43 .vim -> /home/htpc/.vim
drwxr-xr-x 2 root root 4.0K 2009-04-01 22:53 .vnc
drwxr-xr-x 3 root root 4.0K 2009-02-28 13:37 .xmltv

/root/.aptitude:
total 8.0K
drwx------ 2 root root 4.0K 2008-07-05 14:24 .
drwx------ 14 root root 4.0K 2009-04-01 22:53 ..
-rw-r--r-- 1 root root 0 2008-07-05 14:24 config

/root/.dbus:
total 12K
drwx------ 3 root root 4.0K 2008-08-29 08:32 .
drwx------ 14 root root 4.0K 2009-04-01 22:53 ..
drwx------ 2 root root 4.0K 2009-02-28 13:48 session-bus

/root/.dbus/session-bus:
total 16K
drwx------ 2 root root 4.0K 2009-02-28 13:48 .
drwx------ 3 root root 4.0K 2008-08-29 08:32 ..
-rw-r--r-- 1 root root 467 2008-12-13 21:25 033c12becf4285bae2afc16d48b6b8dc-0
-rw-r--r-- 1 root root 466 2009-03-10 00:35 ad9716f8540f2f65612232f349a93ec0-0

/root/.gconf:
total 12K
drwx------ 3 root root 4.0K 2009-03-10 00:38 .
drwx------ 14 root root 4.0K 2009-04-01 22:53 ..
drwx------ 3 root root 4.0K 2008-09-07 02:24 apps

/root/.gconf/apps:
total 12K
drwx------ 3 root root 4.0K 2008-09-07 02:24 .
drwx------ 3 root root 4.0K 2009-03-10 00:38 ..
-rw------- 1 root root 0 2008-09-07 02:24 %gconf.xml
drwx------ 2 root root 4.0K 2008-09-07 02:25 update-manager

/root/.gconf/apps/update-manager:
total 12K
drwx------ 2 root root 4.0K 2008-09-07 02:25 .
drwx------ 3 root root 4.0K 2008-09-07 02:24 ..
-rw------- 1 root root 356 2008-09-07 02:25 %gconf.xml

/root/.gconfd:
total 8.0K
drwx------ 2 root root 4.0K 2009-03-10 00:38 .
drwx------ 14 root root 4.0K 2009-04-01 22:53 ..
-rwx------ 1 root root 0 2009-03-10 00:38 saved_state

/root/.gnome2:
total 12K
drwx------ 3 root root 4.0K 2008-08-29 02:35 .
drwx------ 14 root root 4.0K 2009-04-01 22:53 ..
drwx------ 2 root root 4.0K 2008-08-29 02:35 accels

/root/.gnome2/accels:
total 8.0K
drwx------ 2 root root 4.0K 2008-08-29 02:35 .
drwx------ 3 root root 4.0K 2008-08-29 02:35 ..

/root/.gnome2_private:
total 8.0K
drwx------ 2 root root 4.0K 2008-08-29 02:35 .
drwx------ 14 root root 4.0K 2009-04-01 22:53 ..

/root/.mythtv:
total 12K
drwxr-xr-x 3 root root 4.0K 2009-02-26 14:12 .
drwx------ 14 root root 4.0K 2009-04-01 22:53 ..
lrwxrwxrwx 1 root root 22 2009-02-28 13:26 config.xml...

Read more...

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 336274] Re: [jaunty] MythbuntuControlCentre hangs when installing VNC service
Download full text (7.0 KiB)

Ah yes. /root is only readable by root...

I think we need to set up this code then to copy to $HOME for jaunty, and
then for karmic write to home by default.

On Mon, Apr 6, 2009 at 08:51, Tomas Cassidy <
<email address hidden> <tomas.cassidy%<email address hidden>>>wrote:

> $ sudo ls -alhR /root
> /root:
> total 76K
> drwx------ 14 root root 4.0K 2009-04-01 22:53 .
> drwxr-xr-x 22 root root 4.0K 2009-04-06 23:48 ..
> drwx------ 2 root root 4.0K 2008-07-05 14:24 .aptitude
> -rw------- 1 root root 146 2009-03-30 21:54 .bash_history
> -rw-r--r-- 1 root root 2.2K 2008-12-24 05:53 .bashrc
> drwx------ 3 root root 4.0K 2008-08-29 08:32 .dbus
> -rw------- 1 root root 16 2009-03-03 22:17 .esd_auth
> drwx------ 3 root root 4.0K 2009-03-10 00:38 .gconf
> drwx------ 2 root root 4.0K 2009-03-10 00:38 .gconfd
> drwx------ 3 root root 4.0K 2008-08-29 02:35 .gnome2
> drwx------ 2 root root 4.0K 2008-08-29 02:35 .gnome2_private
> drwxr-xr-x 3 root root 4.0K 2009-02-26 14:12 .mythtv
> -rw-r--r-- 1 root root 140 2007-11-20 04:57 .profile
> drwxr-xr-x 2 root root 4.0K 2008-08-29 00:35 .qt
> -rw------- 1 root root 218 2009-04-01 22:53 .recently-used.xbel
> drwx------ 2 root root 4.0K 2008-08-29 21:11 .ssh
> drwx------ 3 root root 4.0K 2009-03-22 20:07 .synaptic
> lrwxrwxrwx 1 root root 15 2008-09-12 17:43 .vim -> /home/htpc/.vim
> drwxr-xr-x 2 root root 4.0K 2009-04-01 22:53 .vnc
> drwxr-xr-x 3 root root 4.0K 2009-02-28 13:37 .xmltv
>
> /root/.aptitude:
> total 8.0K
> drwx------ 2 root root 4.0K 2008-07-05 14:24 .
> drwx------ 14 root root 4.0K 2009-04-01 22:53 ..
> -rw-r--r-- 1 root root 0 2008-07-05 14:24 config
>
> /root/.dbus:
> total 12K
> drwx------ 3 root root 4.0K 2008-08-29 08:32 .
> drwx------ 14 root root 4.0K 2009-04-01 22:53 ..
> drwx------ 2 root root 4.0K 2009-02-28 13:48 session-bus
>
> /root/.dbus/session-bus:
> total 16K
> drwx------ 2 root root 4.0K 2009-02-28 13:48 .
> drwx------ 3 root root 4.0K 2008-08-29 08:32 ..
> -rw-r--r-- 1 root root 467 2008-12-13 21:25
> 033c12becf4285bae2afc16d48b6b8dc-0
> -rw-r--r-- 1 root root 466 2009-03-10 00:35
> ad9716f8540f2f65612232f349a93ec0-0
>
> /root/.gconf:
> total 12K
> drwx------ 3 root root 4.0K 2009-03-10 00:38 .
> drwx------ 14 root root 4.0K 2009-04-01 22:53 ..
> drwx------ 3 root root 4.0K 2008-09-07 02:24 apps
>
> /root/.gconf/apps:
> total 12K
> drwx------ 3 root root 4.0K 2008-09-07 02:24 .
> drwx------ 3 root root 4.0K 2009-03-10 00:38 ..
> -rw------- 1 root root 0 2008-09-07 02:24 %gconf.xml
> drwx------ 2 root root 4.0K 2008-09-07 02:25 update-manager
>
> /root/.gconf/apps/update-manager:
> total 12K
> drwx------ 2 root root 4.0K 2008-09-07 02:25 .
> drwx------ 3 root root 4.0K 2008-09-07 02:24 ..
> -rw------- 1 root root 356 2008-09-07 02:25 %gconf.xml
>
> /root/.gconfd:
> total 8.0K
> drwx------ 2 root root 4.0K 2009-03-10 00:38 .
> drwx------ 14 root root 4.0K 2009-04-01 22:53 ..
> -rwx------ 1 root root 0 2009-03-10 00:38 saved_state
>
> /root/.gnome2:
> total 12K
> drwx------ 3 root root 4.0K 2008-08-29 02:35 .
> drwx------ 14 root root 4.0K 2009-04-01 22:53 ..
> drwx------ 2 root root 4.0K 2008-08-29 02:35 accels
>
> /root/....

Read more...

Revision history for this message
Mario Limonciello (superm1) wrote :

fixed in mythbuntu-common revno 65
fixed in mythbuntu-control-centre revno 250

Changed in mythbuntu:
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythbuntu-common - 0.25-0ubuntu1

---------------
mythbuntu-common (0.25-0ubuntu1) jaunty; urgency=low

  [ Mario Limonciello ]
  * Remove mythbrowser from list of plugins (LP: #353736)

  [ Nick Fox ]
  * Add script for VNC passwd in user HOME (LP: #336274)

 -- Mario Limonciello <email address hidden> Fri, 10 Apr 2009 01:27:11 -0500

Changed in mythbuntu-common (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythbuntu-control-centre - 0.36-0ubuntu1

---------------
mythbuntu-control-centre (0.36-0ubuntu1) jaunty; urgency=low

  [ Mario Limonciello ]
  * Remove any checks for copying a dmrc around. We now key off the gdm
    conf by default. (LP: #353072)
  * Remove mythbrowser from the glade file. (LP: #353736)
  * Catch a ValueError caused by using NIS. We can't support automatic
    login for this scenario. (LP: #313876)

  [ Nick Fox ]
  * Move VNC Password to ~/.vnc (LP: #336274)

 -- Mario Limonciello <email address hidden> Fri, 10 Apr 2009 01:33:00 -0500

Changed in mythbuntu-control-centre (Ubuntu):
status: Incomplete → Fix Released
Changed in mythbuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.