You are not logged in.

#1 2006-11-27 08:51:06

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Autostarting startx as user

Hi,

I'm having a seemingly simple problem I still can't solve:

1. I auto-login using agetty
looks like this in my inittab:

c1:2345:respawn:/sbin/agetty -n -l /usr/local/sbin/autologin 38400 vc/1 linux

2. I want to autostart my fluxbox (preferably via startx) and tried it like this:

x:5:respawn:/usr/bin/startx

(changing initdefault to 5 above as well ofc).

Well this works, but I always start the X server as root - not as the user. How can I cahnge this?

Thanks in advance smile

Offline

#2 2006-11-27 09:16:21

PJ
Member
From: Sweden
Registered: 2005-10-11
Posts: 602

Re: Autostarting startx as user

Offline

#3 2006-11-27 09:47:58

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Re: Autostarting startx as user

Ah, thanks and sorry. Only found this guide. smile

Offline

Board footer

Powered by FluxBB