View previous topic :: View next topic |
Author |
Message |
biocore n00b

Joined: 29 Sep 2014 Posts: 22
|
Posted: Fri Oct 03, 2014 10:04 pm Post subject: [SOLVED] gnome works only as a root |
|
|
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 |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 10078 Location: almost Mile High in the USA
|
Posted: Sat Oct 04, 2014 3:37 am Post subject: |
|
|
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/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
Roman_Gruber Advocate

Joined: 03 Oct 2006 Posts: 3847 Location: Austro Bavaria
|
Posted: Sat Oct 04, 2014 8:15 am Post subject: |
|
|
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 |
|
 |
biocore n00b

Joined: 29 Sep 2014 Posts: 22
|
Posted: Sat Oct 04, 2014 8:24 am Post subject: |
|
|
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 |
|
 |
biocore n00b

Joined: 29 Sep 2014 Posts: 22
|
Posted: Sat Oct 04, 2014 10:25 am Post subject: |
|
|
as u said, how can i export the xsession variable?
EDIT: SOLVED! thanks to everyone for the support! |
|
Back to top |
|
 |
|