Dear all,
I did the following steps
Setup openSuse (ver.11.4) minimal user (textmode).
Setup a Gnome environment for root acount: by login to root, using “#yast” to install 2 Gnome packages in patterns.
Set the login manager “#yast2 sysconfig set DISPLAYMANAGER=gdm”
Changed the default desktop environment “#yast2 sysconfig set DEFAULT_WM=gnome”
Then:
I could be able to use startx to load Gnome environment.
I created a new user by using “#usedadd” and “#userpasswd” on Gnome terminal.
Now:
When I switch account from current root into new user, there is a notice:
''Unable to start a new display
The name org.gnome.DisplayManager was not provided by any .service files."
And in the case when I start my server, it will be load the textmode first, if I do not want to login to root (by using “#su”), from any user, how can the user load Gnome environment.
Any help of yours would be appreciated !!! Please.
When I switch account from current root
Really. Why are you running as root?
Why not just make a proper install. I fail to the point of what you are trying to achieve.
On 11/02/2011 03:56 AM, luanle wrote:
> Setup a Gnome environment for root acount: by login to root
-=WELCOME=- new poster…it is a common misconception that procedures
and techniques learned on other operating systems are just what is
needed on Linux…but, unfortunately many of the administration
procedures which might be second nature to you on one system just will
NOT make you smile on another…with that, i say: never run any *nix
GUI (gnome, kde, xfce, lxde, etc etc etc) as root…ever.
more (including why and links to how to do it correctly) is covered in
this recent post:
http://forums.opensuse.org/english/get-technical-help-here/applications/466444-firefox-opensuse-11-2-a-2.html#post2393400
–
DD
openSUSE®, the “German Automobiles” of operating systems
On 2011-11-02 03:56, luanle wrote:
>
> Dear all,
>
> I did the following steps
> Setup openSuse (ver.11.4) minimal user (textmode).
> Setup a Gnome environment for root acount: by login to root, using
> “#yast” to install 2 Gnome packages in patterns.
It would have been better to set up minimal graphical server.
> Set the login manager “#yast2 sysconfig set DISPLAYMANAGER=gdm”
> Changed the default desktop environment “#yast2 sysconfig set
> DEFAULT_WM=gnome”
> Then:
> I could be able to use startx to load Gnome environment.
That’s wrong procedure. You should not use root to log in graphically.
> I created a new user by using “#usedadd” and “#userpasswd” on Gnome
> terminal.
You should have used YaST for that.
> Now:
> When I switch account from current root into new user, there is a
> notice:
That may not work, because you are not in runlevel 5. And startx as user,
while it is better, now needs a configuration change to even start.
Have a look in /etc/permissions.local.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
You can use init 5 as root to start the GUI it should then ask for a user log in. Never ever log to a GUI as root!