You are not logged in.
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
Read the note in https://wiki.archlinux.org/index.php/St … ot#inittab
Try https://wiki.archlinux.org/index.php/St … sh_profile instead.
Offline