Re: Not able to start X as normal user

2009-02-26 Thread Torgeir Veimo

On 26 Feb 2009, at 23:51, unni krishnan wrote:

 I am able to start X as root and using xfce as desktop interface.  
 Please help.


Are you running with selinux enabled?

-- 
Torgeir Veimo
torg...@pobox.com




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


Re: Not able to start X as normal user

2009-02-26 Thread Dan Nicholson
On Thu, Feb 26, 2009 at 2:51 PM, unni krishnan unnikrishna...@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
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Not able to start X as normal user

2009-02-26 Thread unni krishnan
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.li...@gmail.com wrote:

 On Thu, Feb 26, 2009 at 2:51 PM, unni krishnan unnikrishna...@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

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