Link to home
Start Free TrialLog in
Avatar of foreverdita
foreverdita

asked on

No xinitrc file for users - I want root to be the user

OK, when I remote into my linux box as root, I want to be able to start the xWindow on start up.  I do not have a xinitrc file, do not know what's supposed to be in it aside from the startx command and do not know where to put it so that any user who logs on gets the windows x.

Can someone help me?  Thanks!

Avatar of willy134
willy134

what distribution of linux are you using?  What do you want to start?  How are you remoting into your box?  Are you do xdmcp queries?

Try this put

startkde

in a file called .xinitrc in your home directory.
Avatar of foreverdita

ASKER

Please forgive my ignorance - I have never used Linux before.  Do I name the file .xinirtc?  If so, how do I create that file using a linux command?
I want to start windows x - it says to put this line in my .xinitrc file, which I do not have.

/usr/share/xpde/bin/startxpde

yes name the file .xinitrc

Just open up and editor and do it.

vi example

vi .xinitrc
---it will start vi (a console based editor)
then type in

i                                     ----starts insert mode
/usr/share/xpede/bin/startxpde

escape button then type :x (colon x)
that should create the file for you.
OK, I did that.  And now when I go to the box, it should give me the xpde, correct?
You don't really want to run X session as root.
ASKER CERTIFIED SOLUTION
Avatar of willy134
willy134

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial