cannot conect to Gnome/KDE via nxclient

Bug #133847 reported by Khorne
4
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

After yesterday update I can't connect to my system via nxclient with this information:
"Cannot find the Gnome environment. Please contact your system administrator."
No settings has been changed. It also occurs connection to KDE.
I'm using Compiz-Fusion on machine where nxserver works.

Revision history for this message
trollord (trollenlord) wrote :

Thank you for taking the time to report this bug and trying to help make Ubuntu better. However, it seems that you are not using a software package provided by the official Ubuntu repositories. Because of this the Ubuntu project can not support or fix your particular bug. Please report this bug to the provider of the software package. Thanks!

If you are interested in learning more about software repositories and Ubuntu the following pages should be informative:

1. [WWW] http://www.ubuntu.com/community/ubuntustory/components - information about Ubuntu repositories
2. [WWW] https://help.ubuntu.com/community/Repositories - information regarding managing repositories

Revision history for this message
Egon Willighagen (egonw) wrote :

I got the same for KDE. BTW. GNOME does show up for me, in full screen mode.

Revision history for this message
Hrotkó Gábor (roti-al) wrote :

I have the same problem. Even with the packages from the repo: freenx and qtnx. In that case, the log doesn't show any helpful message like in the official package's log. The interesting thing is, that with another user, I can login.

From offocial package's log:
success with other login:
Aug 25 18:10:15 mercury02 NXNODE-3.4.0-13[22186]: DEBUG: run command: trying to run command '/bin/bash -c 'exec -a - /bin/bash -c '\''/etc/gdm/Xsession gnome-session'\'' (eval) nxnode 3330

fail with my login
Aug 25 17:44:31 mercury02 NXNODE-3.4.0-13[21254]: DEBUG: command list: current element command is: '/bin/bash -c 'exec -a - /bin/bash -c '\''/usr/NX/bin/nxclient -dialog ok -caption Error -message '\''\'\'''\''Cannot find the Gnome environment. Please contact your system administrator.'\''\'\'''\'' -class error -display '\''\'\'''\'':1003'\''\'\'' Logger::log nxnode 8726

(dbus-x11 installed)

Changed in ubuntu:
status: Invalid → New
Revision history for this message
Hrotkó Gábor (roti-al) wrote :

I found the solution to my problem:

I played with libtrash and other trash things, and had this in my .bashrc and .bash_profile. When I removed these, nx started working.

# Include this in your ~/.bash_profile to enable libtrash every time you
# log in (or otherwise start a login shell)
#LIBTRASH=/usr/lib/libtrash/libtrash.so
LIBTRASH=/usr/lib/libtrash/libtrash.so.3.2

LIBTRASH_dest=$LIBTRASH
if test -L $LIBTRASH ; then
   LIBTRASH_dest="$(dirname $LIBTRASH)/$(ls -l "$LIBTRASH" | \
                                         sed -e 's/^.\+ -> //')"
fi

if test x${LD_PRELOAD+set} = x -a -f "$LIBTRASH_dest" ; then
   LD_PRELOAD="$LIBTRASH"
   export LD_PRELOAD
   if test x$0 = x-bash ; then
      exec bash ${1+"$@"}
   else
      exec $0 ${1+"$@"}
   fi
fi

Revision history for this message
David Tombs (dgtombs) wrote :

Closing due to previous comment: it was a user configuration issue.

Changed in ubuntu:
status: New → Invalid
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.