You are not logged in.

#1 2016-08-21 15:29:37

sdfanm
Member
Registered: 2016-08-21
Posts: 11

[SOLVED] Cant start desktop enviornment

Ive installed arch linux before couple of days.
Ive installed xorg and gnome (kde although but its a different problem)
i can enter the xorg and to the xterm in it but when i trying to start gnome(gnome-session)
i get this error

gnome-session
dbus-update-activation-environment: error: unable to connect to D-Bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

** (process:1095): WARNING **: Could not make bus activated clients aware of XDG_CURRENT_DESKTOP=GNOME environment variable: The connection is closed
Terminated

what can I do?
another things to post here?

Last edited by sdfanm (2016-08-22 14:08:15)

Offline

#2 2016-08-21 18:37:44

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] Cant start desktop enviornment

You can't start gnome from within X.  Instead, you need to use .xinitrc or some other desktop manager.  See https://wiki.archlinux.org/index.php/GN … ting_GNOME for more information.

Offline

#3 2016-08-22 07:01:44

sdfanm
Member
Registered: 2016-08-21
Posts: 11

Re: [SOLVED] Cant start desktop enviornment

circleface wrote:

You can't start gnome from within X.  Instead, you need to use .xinitrc or some other desktop manager.  See https://wiki.archlinux.org/index.php/GN … ting_GNOME for more information.

I've tried it before I tried to start it from within the X.
I've added
exec gnome-session
to the xinitrc file

Offline

#4 2016-08-22 07:05:07

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: [SOLVED] Cant start desktop enviornment

Why not use a greeter (lxdm or gdm)?

Did you read: https://wiki.archlinux.org/index.php/GN … ting_GNOME


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2016-08-22 07:47:03

sdfanm
Member
Registered: 2016-08-21
Posts: 11

Re: [SOLVED] Cant start desktop enviornment

graysky wrote:

Why not use a greeter (lxdm or gdm)?

Did you read: https://wiki.archlinux.org/index.php/GN … ting_GNOME

after adding this

export XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME
export GNOME_SHELL_SESSION_MODE=classic
exec gnome-session --session=gnome-classic

i get this informational message

aiglx suspending aiglx clients for vt switch


this is all my xinitrc file

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
done
unset f
fi

#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
exec twm
export XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME
export GNOME_SHELL_SESSION_MODE=classic
exec gnome-session --session=gnome-classic

Offline

#6 2016-08-22 07:52:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Cant start desktop enviornment

Read the xinitrc page: yours is wrong https://wiki.archlinux.org/index.php/Xinitrc

And please use code, not quote, tags when pasting to the boards.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2016-08-22 14:07:49

sdfanm
Member
Registered: 2016-08-21
Posts: 11

Re: [SOLVED] Cant start desktop enviornment

jasonwryan wrote:

Read the xinitrc page: yours is wrong https://wiki.archlinux.org/index.php/Xinitrc

And please use code, not quote, tags when pasting to the boards.

you're right the problem was with the
exec twm

Offline

Board footer

Powered by FluxBB