12.2 - Can't start the X Server on standard user

Hi,

I use opensuse 12.2.

I have a problem to launch x server in standard user.

First problem: xorg cna’t move /var/log/xorg.log. I have fix this problem with “chown”, but next:

xf860OpenConsole: cannot open /dev/tty0 (no such file or directory)

I have totally deleted user account and files in /home/, same problem.

For information, x server start in root… In English (i’m French…)

Any Idea?

On 02/24/2012 08:36 AM, djynn620 wrote:
> Any Idea?

i read this and think it addresses your problem, while i really don’t
know how to implement it…but, maybe you will:

startx should not be run as root (unless you want to start an X session
as root which you
don’t), rather you need to have the Xorg binary setuid again if
you want to be able start an X session as a regular user.

so said Guido Berhoerster in the opensuse-factory mail list posting
“Problems with X on installed GNOME livecd” 21 Feb 2012
Message-ID: <20120221093325.GB2593@hal>

helpful?


DD http://tinyurl.com/DD-Caveat
What does DistroWatch write about YOU?: http://tinyurl.com/SUSEonDW

Bonjour ! /usr/bin/Xorg doit appartenir à root.root
chown root.root /usr/bin/Xorg
et être setuid :
chmod +s /usr/bin/Xorg

On 02/27/2012 09:26 AM, dferrec wrote:
>
> Bonjour ! /usr/bin/Xorg doit appartenir à root.root
> chown root.root /usr/bin/Xorg
> et être setuid :
> chmod +s /usr/bin/Xorg

does that mean you fixed it?

if yes :slight_smile:
if not :frowning:
if you don’t know either :expressionless:


DD
What does DistroWatch write about YOU?: http://tinyurl.com/SUSEonDW

Fixed what ? I explained how to do the setuid stuff.
But there must be something else with the tty0, /dev/ not mounted ?
that I can’t tell…

> I explained how to do the setuid stuff

i’m not very good at French…
and even worse at 12.2, so i’m sorry i tried to help.
out.


DD
What does DistroWatch write about YOU?: http://tinyurl.com/SUSEonDW

ok

The solution of dferrec work.

But why not executing this command in installation stage?

seen at the systemd mailinglist:

Le mardi 28 février 2012 à 00:52 +0000, Colin Guthrie a écrit :
> Hi,
>
> I’m getting bug reports about startx not registering user sessions under
> systemd.
>
> With console-kit, ck-xinit-session did the job and I was hoping someone
> (Fred - maybe you’ve done it on SuSE?) had written the equiv for logind?

openSUSE no longer supports starting X when not using a DM, sorry :wink:

Frederic Crozat <fcrozat@suse.com>
SUSE