Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: orthzar on May 27, 2011, 03:00:49 PM



Title: Gui fails to start in Ubuntu 11.04
Post by: orthzar on May 27, 2011, 03:00:49 PM
I am trying to get a mining rig going, but I first want to do a few things in the gui (e.g. making two accounts, etc).   I am trying to use my desktop for mining, as it has an Nvidia 9500 GT.

I am able to get the Bitcoin client gui working in Knoppix after some chmod work, but that is on my laptop.  My desktop is running Ubuntu 11.04, but the Bitcoin gui never comes up, and I get no output in the terminal.   I get plenty of network traffic and the debug.log file mentions downloading and connecting, therefore I can assume that bitcoin is downloading blocks.   Bitcoin is functioning but not showing much for its efforts.

Bitcoin 0.3.21 gui works in Knoppix (laptop, 32-bit).
Bitcoin 0.3.21 and 0.3.19 gui fails in Ubuntu 11.04 (desktop, amd 64-bit, near-new install).

I am thinking that Unity is the problem, but I have no proof.

What do ya'll think I can do to get the Bitcoin client gui working on my desktop?


Thanks in advance.


Title: Re: Gui fails to start in Ubuntu 11.04
Post by: Jason Keith on May 27, 2011, 03:34:31 PM
You're right that Unity is the problem. Logout and back in with KDE or something else. I've used Xubuntu and Lubuntu from the beginning and they both work with the GUI client.


Title: Re: Gui fails to start in Ubuntu 11.04
Post by: dolanor on May 27, 2011, 08:34:54 PM
Hello
Ubuntu 11.04 here and same problem.
But I run Gnome classical desktop...

The problem is in compiz.
Launching ubuntu in classic mode without special effect will permit launching bitcoin in gnome.
Then, if you launch compiz with --replace, it will kill the classic/no effect window manager to replace it by itself : bitcoin still here.
Then, kill compiz : bitcoin still here
Then, close bitcoin with CTRL + Q and relaunch compiz with --replace.
Relaunch bitcoin... If you are lucky enough you will see it appear in a totally white window then disappear  with an animation like if it has been minimized, but problem, it is nowhere to see in the taskbar

Should be investigated


Title: Re: Gui fails to start in Ubuntu 11.04
Post by: AngelusWebDesign on May 28, 2011, 10:38:57 PM
I am running a fresh install of Mint 11 (RC, with all updates installed).

I'm running Gnome, not Unity.


/bitcoin-0.3.21/bin/64# ./bitcoin
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

** (bitcoin:3753): WARNING **: Unable to create Ubuntu Menu Proxy: The connection is closed

(bitcoin:3753): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed


Title: Re: Gui fails to start in Ubuntu 11.04
Post by: AngelusWebDesign on May 28, 2011, 10:40:20 PM
If I can't get this working before my pool-of-choice sends me my first Bitcoin, will I still receive it? (Assuming I have my wallet ID?)


Title: Re: Gui fails to start in Ubuntu 11.04
Post by: Jason Keith on May 29, 2011, 02:44:47 AM
Yes. Getting those funds is all about having the wallet and has nothing to do with the client. Imagine sending that wallet to a friend who doesn't have the client and then destroying your copy of the wallet. Your friend would then get those funds and they would only need to install a client to manipulate them.


Title: Re: Gui fails to start in Ubuntu 11.04
Post by: dserrano5 on June 03, 2011, 02:25:51 PM
Hi,

This is my first post here. Just registered to share an alternate solution to this problem, which I faced too. Running the desktop in no-frills mode just sucks (at least in my computer: it looks like I lose any kind of 2D acceleration and whatnot).

Well, since the problem is in some piece of software running in the X11 server, just let bitcoin run in a different server, by using Xnest:

Quote
$ sudo apt-get install xnest
$ Xnest -geometry 800x600 :1 &
$ DISPLAY=:1 xcalc   ## <-- just a test—move the pointer over the xcalc window and press 'q' to exit
$ DISPLAY=:1 bitcoin &

When Xnest is run, a new, empty window will appear, which acts as a regular X11 client to the server, but can also act as a new server to clients. Then we fire bitcoin against this new server, which isn't running compiz, and enjoy.

If you wish to thank me, I welcome your bitcoin cents at (errr seems like copy-paste doesn't work among X11 servers, which makes sense) 19GgbRa54uQKkuvpWtajV86BurRuubvk12. Of course, not only cents but whole bitcoins are also accepted! ;)


Title: Re: Gui fails to start in Ubuntu 11.04
Post by: AngelusWebDesign on June 04, 2011, 04:56:51 AM
I still think whoever is in charge of the Bitcoin client should look into this.

I'm running Linux Mint, which is the NUMBER 2 Linux distro right now -- current version. 64-bit, which is 1/2 the users of that distro.

Not exactly a fringe distribution. There HAVE to be others like me.

And I'm running a fresh install too -- default everything. Nothing unusual about my machine or setup.

Matthew