You are not logged in.

#1 2016-01-21 04:54:59

Mykander
Member
Registered: 2012-03-30
Posts: 18

User can't run X via system service?

I'm trying to run a service to execute startx on startup.  Startx as a command works fine when I run it as a user on the console, and runs perfectly fine if I run the service as root.  However as soon as I change the user (the same user it runs fine as when I manually start it) in the service file and try to run it I get an error message saying "Only console users are allowed to run the X server".  Is there some special group I need my account to be in, even though startx works manually?  Or do I need to just autologin and run it as the user directly via the rc files?

Offline

#2 2016-01-21 05:19:36

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,448

Offline

Board footer

Powered by FluxBB