You are not logged in.

#1 2012-05-19 06:37:46

cdwijs
Member
Registered: 2010-04-24
Posts: 309

not authorized when suspensing, but not when logged in from terminal

Hi All,

I have the following line in my inittab, to start an X server for the user "cedric"

x:5:once:/bin/su cedric -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"

This works great, my X server is started during the startup of the rest of the services. when I then try to mouns an USB stick, suspend or reboot the machine, I get the message "Not autorized"

When I then kill X, login from a terminal, and then start X, everything works great, I can mount USB sticks, and suspend my machine from the lxde session without any problem, the message "not autorized" never comes up anymore

What have I missed in the iniitab line above? Is there a better way to autostart the X server? How can I debug these messages?


Best regards,
Cedric

Offline

#2 2012-05-19 13:30:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: not authorized when suspensing, but not when logged in from terminal

Offline

Board footer

Powered by FluxBB