> > > thanks for the reply,here is the error when i run gnome-session > > > dbus-update-activation-environment:error : unable to connect to D-Bus: > > > Unable to autolaunch a dbus-daemon without a $DISPLAY for x11 > > > gnome-session-binary[2855]:WARNING: using null backend for session > > > tracking > > > gnome-session-binary[2855]:WARNING: unable to find required component > > > 'org.gnome.Shell'unable to init server:could not connect: Connection > > > refused > > > > > > ** (gnome-session-failed:2867): WARNING **:cannot open display: > > > could you tell me how can i resolve this error? > > > > > It looks like $DISPLAY is not set and/or passed when starting gnome-session > > > > My system uses a combination of ~/.xsession and startx to start X11 > > > > In startx there is a line: > > > > export DISPLAY=:0.0 > > > > ..and ~/.xsession calls gnome-session > > > thanks for the reply, > yes when i enter $DISPLAY it shows nothing,i just install fluxbox it works > fine > but i don't understand why gnome is not opening could you please guide me > more detaile thanks in advance. > I'm not sure how you are starting X11, but in ~.xsession or ~/.xinitrc where you put "gnome-session", you can try putting "DISPLAY=:0.0 gnome-session".
That being said, I would have thought your startx would have set $DISPLAY anyway - did you look at your startx script? -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
