
Hello all, I have a laptop running Kubuntu 11.04. In attempting to upgrade to 11.10 via the internet the upgrade fails citing unable to get Kubuntu -wallpaper, so I downloaded the alternate cd, disconnected from the internet and attempted to upgrade from the cd using 'sh cdromupgrade'. Normally I would use my own logon but in a last desperate attempt I changed to root. Results are shown below: root@Toshiba:/media/cdrom0# sh cdromupgrade No protocol specified /usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning) can't load DistUpgradeViewGtk (No module named vte) can't load DistUpgradeViewGtk3 (Namespace Gtk not available for version 3.0) No protocol specified update-manager: cannot connect to X server :0 Is there something wrong with the command I have used? Thanks Bob

Hi Bob, Quoting Bob <enquiries@lorneholidays.com.au>:
Hello all, I have a laptop running Kubuntu 11.04. In attempting to upgrade to 11.10 via the internet the upgrade fails citing unable to get Kubuntu -wallpaper, so I downloaded the alternate cd, disconnected from the internet and attempted to upgrade from the cd using 'sh cdromupgrade'. Normally I would use my own logon but in a last desperate attempt I changed to root. Results are shown below:
root@Toshiba:/media/cdrom0# sh cdromupgrade No protocol specified /usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning) can't load DistUpgradeViewGtk (No module named vte) can't load DistUpgradeViewGtk3 (Namespace Gtk not available for version 3.0) No protocol specified update-manager: cannot connect to X server :0
Is there something wrong with the command I have used?
Not the command itself - you just have an access problem running it as root. The Xserver providing your desktop is owned by you, and nobody else can draw windows on it (not even root) Use "sudo sh cdromupgrade" instead, that should work. Alternatively you can allow access via "xhost +". I am running KDE since Monday, I just had my disk filled with a 240GB .xsession-errors. Great! The console output goes to all virtual text consoles so in that case I cannot use them either (your commands are drowning in a flood of "No space left on device" errors). Another plus for Ubuntu 11;-) Do you really want to upgrade? ;-) Regards Peter

Peter Ross wrote:
Hi Bob,
Quoting Bob <enquiries@lorneholidays.com.au>:
Hello all, I have a laptop running Kubuntu 11.04. In attempting to upgrade to 11.10 via the internet the upgrade fails citing unable to get Kubuntu -wallpaper, so I downloaded the alternate cd, disconnected from the internet and attempted to upgrade from the cd using 'sh cdromupgrade'. Normally I would use my own logon but in a last desperate attempt I changed to root. Results are shown below:
root@Toshiba:/media/cdrom0# sh cdromupgrade No protocol specified /usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning) can't load DistUpgradeViewGtk (No module named vte) can't load DistUpgradeViewGtk3 (Namespace Gtk not available for version 3.0) No protocol specified update-manager: cannot connect to X server :0
Is there something wrong with the command I have used?
Not the command itself - you just have an access problem running it as root.
His other problem is that it can't find the vte (GTK terminal emulator) library, which probably means he needs a package like python-vte installed.
The Xserver providing your desktop is owned by you, and nobody else can draw windows on it (not even root)
Use "sudo sh cdromupgrade" instead, that should work.
I am not familiar with cdromupgrade; if it is some third-party "i found it on a blog somewhere", then don't use it; stick to d-r-u. https://help.ubuntu.com/community/UpgradeNotes
Alternatively you can allow access via "xhost +".
Urk. At least limit that to "xhost + localhost" or so, lest he be open to keyboard sniffing attacks from the network. In any case he probably has -nolisten tcp in his equivalent of /etc/X11/xinit/xserverrc.
I am running KDE since Monday, I just had my disk filled with a 240GB .xsession-errors. Great!
$ cat ~/.xsession-errors Debian's /etc/X11/Xsession script will use /tmp/.xsession-$USER if this file exists and is not writable. We arrange for this to be the case so that /tmp, not /home, will fill up if an X client spews shit to stderr. $ ls -l ~/.xsession-errors lrwxrwxrwx 1 twb twb 28 Jun 26 2010 /home/twb/.xsession-errors -> Preferences/.xsession-errors $ ls -l ~/Preferences/.xsession-errors -r--r----- 1 twb twb 216 Mar 12 2010 /home/twb/Preferences/.xsession-errors

Thanks Trent, On 26/10/11 10:59, Trent W. Buck wrote:
Peter Ross wrote:
Hi Bob,
Quoting Bob<enquiries@lorneholidays.com.au>:
Hello all, I have a laptop running Kubuntu 11.04. In attempting to upgrade to 11.10 via the internet the upgrade fails citing unable to get Kubuntu -wallpaper, so I downloaded the alternate cd, disconnected from the internet and attempted to upgrade from the cd using 'sh cdromupgrade'. Normally I would use my own logon but in a last desperate attempt I changed to root. Results are shown below:
root@Toshiba:/media/cdrom0# sh cdromupgrade No protocol specified /usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning) can't load DistUpgradeViewGtk (No module named vte) can't load DistUpgradeViewGtk3 (Namespace Gtk not available for version 3.0) No protocol specified update-manager: cannot connect to X server :0
Is there something wrong with the command I have used? Not the command itself - you just have an access problem running it as root. His other problem is that it can't find the vte (GTK terminal emulator) library, which probably means he needs a package like python-vte installed.
The Xserver providing your desktop is owned by you, and nobody else can draw windows on it (not even root)
Use "sudo sh cdromupgrade" instead, that should work. I am not familiar with cdromupgrade; if it is some third-party "i found it on a blog somewhere", then don't use it; stick to d-r-u.
https://help.ubuntu.com/community/UpgradeNotes 'cdromupgrade' is the script on the Kubuntu Alternate disc for upgrading an existing installation - official script - not from another source. It is surprising that is requires python-vte to be installed if that is not part of a standard installation, but it appears to be so?
Bob

Thanks Peter, On 26/10/11 09:51, Peter Ross wrote:
Hi Bob,
Quoting Bob<enquiries@lorneholidays.com.au>:
Hello all, I have a laptop running Kubuntu 11.04. In attempting to upgrade to 11.10 via the internet the upgrade fails citing unable to get Kubuntu -wallpaper, so I downloaded the alternate cd, disconnected from the internet and attempted to upgrade from the cd using 'sh cdromupgrade'. Normally I would use my own logon but in a last desperate attempt I changed to root. Results are shown below:
root@Toshiba:/media/cdrom0# sh cdromupgrade No protocol specified /usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning) can't load DistUpgradeViewGtk (No module named vte) can't load DistUpgradeViewGtk3 (Namespace Gtk not available for version 3.0) No protocol specified update-manager: cannot connect to X server :0
Is there something wrong with the command I have used? Not the command itself - you just have an access problem running it as root.
The Xserver providing your desktop is owned by you, and nobody else can draw windows on it (not even root)
Use "sudo sh cdromupgrade" instead, that should work. I had already tried that and it failed too - hence the attempt to use root :-(
Alternatively you can allow access via "xhost +".
I am running KDE since Monday, I just had my disk filled with a 240GB .xsession-errors. Great!
The console output goes to all virtual text consoles so in that case I cannot use them either (your commands are drowning in a flood of "No space left on device" errors). Another plus for Ubuntu 11;-)
Do you really want to upgrade? ;-) That is a question I am now asking myself. I have upgraded another machine running an i5 processor and HD 5700 series card. and now have no sound - and no solution at this stage. It seems there are a few bugs in the latest version. Perhaps I'll wait a while before any further upgrades.
Bob

Peter Ross <Peter.Ross@bogen.in-berlin.de> wrote:
I am running KDE since Monday, I just had my disk filled with a 240GB .xsession-errors. Great!
That's amazing.
The console output goes to all virtual text consoles so in that case I cannot use them either (your commands are drowning in a flood of "No space left on device" errors). Another plus for Ubuntu 11;-)
Console output only goes to tty1 by default on my system. Actually, I am not sure where this is configured - it could be sysctl.conf, from memory. You might be able to fix it there.

Quoting "Jason White" <jason@jasonjgw.net>:
Peter Ross <Peter.Ross@bogen.in-berlin.de> wrote:
I am running KDE since Monday, I just had my disk filled with a 240GB .xsession-errors. Great!
That's amazing.
The console output goes to all virtual text consoles so in that case I cannot use them either (your commands are drowning in a flood of "No space left on device" errors). Another plus for Ubuntu 11;-)
Console output only goes to tty1 by default on my system.
Actually, I am not sure where this is configured - it could be sysctl.conf, from memory. You might be able to fix it there.
Thanks. Will do that. The sound is not working either, and even a simple olvwm does not work reliable. If I want to resize a window the mouse cannot click anything afterwards. I probably make a fresh install of Debian or FreeBSD or PCBSD or something else soon, working with the computer is a nightmare since last Friday afternoon's Ubuntu 11.10 upgrade. Regards Peter

Peter Ross <Peter.Ross@bogen.in-berlin.de> wrote:
I probably make a fresh install of Debian or FreeBSD or PCBSD or something else soon, working with the computer is a nightmare since last Friday afternoon's Ubuntu 11.10 upgrade.
I run Debian testing on my laptop and Debian Unstable on my desktop machine, both of which are mostly reliable. If I wanted even more reliability I'd choose Debian stable. I've heard positive remarks about Arch Linux recently, but I haven't tried it; I don't have any reason to be distribution switching at the moment.
participants (4)
-
Bob
-
Jason White
-
Peter Ross
-
Trent W. Buck