Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] gnome works only as a root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
biocore
n00b
n00b


Joined: 29 Sep 2014
Posts: 22

PostPosted: Fri Oct 03, 2014 10:04 pm    Post subject: [SOLVED] gnome works only as a root Reply with quote

hi guys, i'm facing this issue:

did a fresh install, gnome works but only on root, and not as a normal user
the normal user was created from the gnome shell, so after the installation
but when i start x, server terminates successfully and nothing happens

dbus is started and added as default
normal user is added in plugdev
did echo exec gnome in xinitrc and sed export
it returns me with gnome non existing.

solutions?

thanks in advance for any help


Last edited by biocore on Sat Oct 04, 2014 12:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Sat Oct 04, 2014 3:37 am    Post subject: Reply with quote

So you're saying when you login as a normal user and run "startx" it flickers to the X11 screen and then drops back to the command prompt?

Sounds like xinit ran out of commands.

First off, does running "gnome-session" do something other than saying "command not found" as a user?

I heard the best way for starting X was to not have an ~/.xinitrc and export your XSESSION variable in your ~/.profile to "Gnome" and let the default scripts do their magic...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sat Oct 04, 2014 8:15 am    Post subject: Reply with quote

why don t you use a login manager like lxdm, gdm, kdm, slim??

it seems you invoke startx as user in a shell right?
Back to top
View user's profile Send private message
biocore
n00b
n00b


Joined: 29 Sep 2014
Posts: 22

PostPosted: Sat Oct 04, 2014 8:24 am    Post subject: Reply with quote

eccerr0r wrote:
So you're saying when you login as a normal user and run "startx" it flickers to the X11 screen and then drops back to the command prompt?

Sounds like xinit ran out of commands.

First off, does running "gnome-session" do something other than saying "command not found" as a user?

I heard the best way for starting X was to not have an ~/.xinitrc and export your XSESSION variable in your ~/.profile to "Gnome" and let the default scripts do their magic...


so u r saying i don't need a xinitrc in my user but just export xsession? i think i did through echo

anyway, yes, just flickers and turns back to terminal, saying it doesn't find twm.

tw04l124 wrote:
why don t you use a login manager like lxdm, gdm, kdm, slim??

it seems you invoke startx as user in a shell right?


because i'm still comfiguring my system and i'm resolving several issues one at time

And, yes, i launch startx in shell
Back to top
View user's profile Send private message
biocore
n00b
n00b


Joined: 29 Sep 2014
Posts: 22

PostPosted: Sat Oct 04, 2014 10:25 am    Post subject: Reply with quote

as u said, how can i export the xsession variable?

EDIT: SOLVED! thanks to everyone for the support!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum