LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-30-2004, 03:28 PM   #1
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Rep: Reputation: 30
.xinitrc - root is the only one with this file


This is probably a simple question, but is there a reason why root is the only user with the .xinitrc file - located here /root

I have other users on this system, shouldn't their corresponding .xinitrc file be in /home/%username%

I am running slackware 10

cheers
Jurgen
 
Old 09-30-2004, 03:51 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
when you create users, if you want them to have xinitrc, it needs to be in the skeleton.

it's easy enough to create, and being a preference thing anyways, why can't the users create it themselves?
 
Old 09-30-2004, 06:20 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Slack by default doesn't create a ~/.xinitrc or
provide a template ...

I think someone mentioned that running xfce (or
another one of the smaller wm's) will create one,
though ...


Cheers,
Tink
 
Old 09-30-2004, 06:22 PM   #4
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
awesome, I was just wasnt sure if i could create the file.

i know this is a bit off the topic, but how can i have a user logged in automatically and then startx ? (all automatic)

cheers
 
Old 09-30-2004, 06:31 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What do you mean OffTopic?
This is YOUR thread :}


It can easily be done if you use kdm (or gdm, for
that matter) ... both allow you to set an option for
automagic login. Not sure about a command-line
login or using xdm...


Cheers,
Tink
 
Old 09-30-2004, 06:34 PM   #6
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
how do i know what i am using? i doubt that i am using any of those... but you never know... i am using fluxbox.
 
Old 09-30-2004, 06:39 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
That's your WM mate ... how do you start X?

Manually, from a text login?


Cheers,
Tink
 
Old 09-30-2004, 06:43 PM   #8
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Original Poster
Rep: Reputation: 30
haha ...yeah sorry, yeah test login - currently from a ssh session, thats the whole reason for this - I cant close the ssh session coz it closes everything. I guess im using xdm then... bugger!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File owner and File group locked - root deiphage Linux - Hardware 5 02-05-2005 01:30 PM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 10:50 AM
where is .xinitrc file in suse? ksgill Linux - Newbie 1 07-15-2004 10:38 PM
What the /etc/X11/xinit/xinitrc file should look like? Duukkis Linux - Software 6 05-29-2003 08:56 AM
can't find the .xinitrc file deezay Linux - General 2 04-10-2002 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration