Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104706 - "DBDesigner4: cannot connect to X server" when starting DBD
Summary: "DBDesigner4: cannot connect to X server" when starting DBD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: John N. Laliberte (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-03 06:06 UTC by Roman Le Négrate
Modified: 2005-10-07 06:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Le Négrate 2005-09-03 06:06:23 UTC
I emerged dbdesigner after adding the following line in
/etc/portage/package.keywords :

dev-db/dbdesigner ~x86

It successfully emerged, then I type "startdbd" to start DBDesigner but it
writes this :

roman roman # startdbd
Symbolic links exist
Starting DBDesigner4 ...
roman roman #

And nothing else happens. The DBDesigner log file ~/.DBDesigner4/DBD4.log contains :

DBDesigner4: cannot connect to X server

Whereas I think it is actually started since I'm using Gnome.

Reproducible: Always
Steps to Reproduce:
1. Add "dev-db/dbdesigner ~x86" to /etc/portage/package.keywords
2. emerge dbdesigner
3. startdbd

Actual Results:  
Symbolic links exist
Starting DBDesigner4 ...

And in the DBD4.log file :

DBDesigner4: cannot connect to X server

Expected Results:  
Starting DBDesigner window.

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/
http://gentoo.osuosl.org/ http://adelie.polymtl.ca/
ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.risq.qc.ca/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://gentoo.itdnet.net/gentoo/ http://trumpetti.atm.tut.fi/gentoo/
http://mir.zyrianes.net/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://files.gentoo.gr"
LINGUAS="en fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr eds
emboss encode esd fam fastcgi flac foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 hal howl imlib ipv6 jpeg kde libg++ libwww mad mikmod motif
mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline ruby sdl spell ssl svga tcpd tiff truetype
truetype-fonts type1-fonts vorbis xml2 xmms xv zlib linguas_en linguas_fr
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Christian Hartmann (RETIRED) gentoo-dev 2005-10-05 02:47:59 UTC
Tried starting it with a differnet user than root?
Comment 2 Roman Le Négrate 2005-10-07 06:21:00 UTC
Thank you, you are right. I was trying to launch it as root. Under a normal
users it works perfectly :-).