[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Not able to start X as normal user
From:       unni krishnan <unnikrishnan.a () gmail ! com>
Date:       2009-02-27 7:20:52
Message-ID: 1f8bbe3c0902262308v5b967a57oe0fbde46f6b95d9 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Dan,

  setuid was not set. I have set that and X is working now.

bash-3.2$ ls -l /usr/bin/Xorg
-rwsrwxrwx 1 root root 1563180 Feb 19 15:31 /usr/bin/Xorg
bash-3.2$

Thanks for the solution :-)

-- 
---------------------
With regards,
Unnikrishnan.A

"A candle loses nothing by lighting another candle"

On Fri, Feb 27, 2009 at 4:43 AM, Dan Nicholson <dbn.lists@gmail.com> wrote:

> On Thu, Feb 26, 2009 at 2:51 PM, unni krishnan <unnikrishnan.a@gmail.com>
> wrote:
> > Hi
> >
> > I am getting following error when starting X as normal user :
> >
> > Build Operating System: Linux 2.6.27.10 i686
> > Current Operating System: Linux host.webofunni.com 2.6.27.10 #1 SMP
> PREEMPT
> > Wed Dec 24 21:37:14 CET 2008 i686
> > (WW) xf86ReadBIOS: Failed to open /dev/mem (Operation not permitted)
> > (WW) xf86OpenConsole: chown /dev/tty7 failed: Operation not permitted
> > (WW) xf86OpenConsole: chown /dev/tty0 failed: Operation not permitted
> > xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
> >
> > I am able to start X as root and using xfce as desktop interface. Please
> > help.
>
> Is Xorg setuid to root?
>
> sudo chown root $prefix/Xorg
> sudo chmod u+s $prefix/Xorg
>
> --
> Dan
>

[Attachment #5 (text/html)]

Dan,<br><br>  setuid was not set. I have set that and X is working now. \
<br><br>bash-3.2$ ls -l /usr/bin/Xorg <br>-rwsrwxrwx 1 root root 1563180 Feb 19 15:31 \
/usr/bin/Xorg<br>bash-3.2$ <br><br>Thanks for the solution :-) <br> <br>-- \
<br>---------------------<br>With regards,<br>Unnikrishnan.A<br><br>&quot;A candle \
loses nothing by lighting another candle&quot;<br><br><div class="gmail_quote">On \
Fri, Feb 27, 2009 at 4:43 AM, Dan Nicholson <span dir="ltr">&lt;<a \
href="mailto:dbn.lists@gmail.com">dbn.lists@gmail.com</a>&gt;</span> wrote:<br> \
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); \
margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Thu, Feb 26, \
2009 at 2:51 PM, unni krishnan &lt;<a \
href="mailto:unnikrishnan.a@gmail.com">unnikrishnan.a@gmail.com</a>&gt; wrote:<br>

&gt; Hi<br>
&gt;<br>
&gt; I am getting following error when starting X as normal user :<br>
&gt;<br>
&gt; Build Operating System: Linux 2.6.27.10 i686<br>
&gt; Current Operating System: Linux <a href="http://host.webofunni.com" \
target="_blank">host.webofunni.com</a> 2.6.27.10 #1 SMP PREEMPT<br> &gt; Wed Dec 24 \
21:37:14 CET 2008 i686<br> &gt; (WW) xf86ReadBIOS: Failed to open /dev/mem (Operation \
not permitted)<br> &gt; (WW) xf86OpenConsole: chown /dev/tty7 failed: Operation not \
permitted<br> &gt; (WW) xf86OpenConsole: chown /dev/tty0 failed: Operation not \
permitted<br> &gt; xf86EnableIOPorts: failed to set IOPL for I/O (Operation not \
permitted)<br> &gt;<br>
&gt; I am able to start X as root and using xfce as desktop interface. Please<br>
&gt; help.<br>
<br>
</div>Is Xorg setuid to root?<br>
<br>
sudo chown root $prefix/Xorg<br>
sudo chmod u+s $prefix/Xorg<br>
<br>
--<br>
<font color="#888888">Dan<br>
</font></blockquote></div><br><br clear="all"><br><br>



_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic