You are not logged in.

#1 2011-03-04 16:42:19

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

[solved] rc.conf per user

hi to all,

there is a way to create a similar rc.conf file but per user ?

thanks

Last edited by nTia89 (2011-03-05 12:00:43)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#2 2011-03-04 16:49:21

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [solved] rc.conf per user

do you just need this for running different daemons for different users?

Because other than that, I don't see a point to having different rc.conf files per user as the network, hostname etc in the rc.conf has to be standard for all users.

If you answered yes to the above question -- then simply start the appropriate daemons for the user in the .xinitrc file or in a script that you can execute on boot.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-03-04 17:22:45

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] rc.conf per user

yes, i need it to start daemon but

.xinitrc is executed when an x session start, right ?

so, this way doesn't work is i don't start an x session.....


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#4 2011-03-04 18:29:08

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [solved] rc.conf per user

Depends on exactly what you put in it, and exactly how you are starting X


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2011-03-05 12:00:12

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] rc.conf per user

thanks to everybody

solved with .xinitrc way


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#6 2011-03-05 15:31:29

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [solved] rc.conf per user

or use the session manager to handle that. for eg if you use gdm then it won't read .xinitrc.

Offline

#7 2011-03-05 19:42:56

Larsson
Member
From: Sweden
Registered: 2010-03-22
Posts: 156

Re: [solved] rc.conf per user

~/.bash_profile is executed on login.


"If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear." - A.A. Milne (Winnie-the-Pooh)

Offline

#8 2011-03-06 10:24:07

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: [solved] rc.conf per user

Also, ~/.profile is supposed to be a shell-agnostic way to do stuff at the start of a session.

Offline

Board footer

Powered by FluxBB