Results 11 to 19 of 19
startx is a command, this does not get put into a file, you execute it after you login.
To get startx to work, I will elaborate on my earlier post.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-16-2005 #11
startx is a command, this does not get put into a file, you execute it after you login.
To get startx to work, I will elaborate on my earlier post.
Login as regular user
do
su >root password
nano -w .xinitrc
add this line
exec startkde
Now you can login ro X.
If you get Error, no usable screens found, you will need to do "xorgconfig"
Put all your info in, then do startxHow to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 06-16-2005 #12Just Joined!
- Join Date
- Jun 2005
- Location
- Northern California
- Posts
- 19
I got startx to work. I am typing using Konqueror from KDE right now. I was wondering if there was an init file or something (login.init??) that I could put startx in if I wanted to automaticially start xserver and log in through it.
I also still have not figured out how to run programs that I have installed using emerge.
Thanks for all the help
- 06-16-2005 #13
So you want to boot directly into graphical mode when you boot up?
This is fairly easy.
Firstly, we need to tell Linux that we want to use a graphical display manager. We do this by, as root:
(you can, of course, use any other text editor, like nano or (*shudder*) Emacs here)Code:vi /etc/rc.conf
Find the "DISPLAYMANAGER" line. Set it equal to "kdm", so:
Also, be sure that you uncomment the line if it's commented.Code:DISPLAYMANAGER="kdm"
Finally, we have to tell Linux to load the displaymanager on boot:
This adds the graphical login to every runlevel.Code:rc-update add xdm default
Also, as far as another user works, I HIGHLY recommend using a non-root user. The "su" command (which stands for "switch user", not "superuser") will let you switch to root if you need to. Basically, su without a user name assumes root, so the following will make you root:
This lets you do administrative tasks even within a regular user.Code:su <ENTER ROOT PASSWORD>
Now then, as far as running an app that you've emerged, what sort of program are you running?
Some things, like libraries or plugins, are not run at all. But for example, if we emerge, lessay Firefox:
The command to actually run Firefox is "firefox", not "mozilla-firefox".Code:emerge mozilla-firefox
I hope that helps!
- 06-16-2005 #14I had always read that it was superuser.The "su" command (which stands for "switch user", not "superuser") will let you switch to root if you need to
But switchuser does make more sense.
If I want to switch from root to regular user. Or regular user to regular user,
I use the su - <username> to do it.How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 06-16-2005 #15Just Joined!
- Join Date
- Jun 2005
- Location
- Northern California
- Posts
- 19
Thanks for the help with all of that so far. I am now able to start up some programs, but none that need graphics to use (i.e. games). It says 'unable to find display driver'. I assume this means I need a linux display driver for my vid card. Easy enough.
Speaking of display driver, is there any way to increase the resolution of the command line interface?
And another KDE question, can I run startx on one of my terminals (Alt-2) and still be able to access the command line interface on the others?
- 06-16-2005 #16
For what you want i think you need Alt + F7.
Or when in X, just open a terminal, go to the K >System>TerminalHow to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 06-16-2005 #17Just Joined!
- Join Date
- Jun 2005
- Location
- Northern California
- Posts
- 19
Alt-F7 is correct to get to my gui from any other command line terminal, but how do I get back to alt-f1 through f6. Pressing the buttons from KDE doesnt do anything. Except alt-f4, that closes whatever is open.
- 06-16-2005 #18
Ctrl + Alt + F1-F6 will work
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 06-16-2005 #19Just Joined!
- Join Date
- Jun 2005
- Location
- Northern California
- Posts
- 19
So it does! Thanks for all the help.


Reply With Quote
