View previous topic :: View next topic |
Author |
Message |
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Tue Dec 14, 2004 10:59 pm Post subject: desktop |
|
|
When I installed gentoo and booted it! It booted fine, I botted as root. It is working fine, netword is well. But There is a problem: how to come into a graphical environment. I emerged kde, it was doing it quite a long time. Now when it is emerged, how do I start it. Do I must to emerge some other packages in order to desktop to work? |
|
Back to top |
|
|
phoenixreborn n00b
Joined: 19 Jan 2004 Posts: 48 Location: Salt Lake City, UT, USA
|
Posted: Tue Dec 14, 2004 11:50 pm Post subject: |
|
|
First I would recommend editing your /etc/rc.conf file to let it know which GUI you want as your default. Mine is the following, but be sure to put your KDE version in there.
Code: | XSESSION="kde-3.3.1" |
After that all you need to run should be startx |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Dec 15, 2004 12:02 am Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Wed Dec 15, 2004 2:19 am Post subject: |
|
|
And then? |
|
Back to top |
|
|
phoenixreborn n00b
Joined: 19 Jan 2004 Posts: 48 Location: Salt Lake City, UT, USA
|
Posted: Wed Dec 15, 2004 2:44 am Post subject: |
|
|
After editing that file what happens when you run the "startx" command? |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Wed Dec 15, 2004 2:48 am Post subject: |
|
|
And how do I know whick kde am I using? |
|
Back to top |
|
|
phoenixreborn n00b
Joined: 19 Jan 2004 Posts: 48 Location: Salt Lake City, UT, USA
|
Posted: Wed Dec 15, 2004 3:43 am Post subject: |
|
|
If your question is in regards to which one you emerged please run the command.
If you are running your gui and want to find out which version you are in go into konqueror and choose Help -> About. |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Wed Dec 15, 2004 2:05 pm Post subject: |
|
|
WEhen I run startx, it gave me out this: startx: command not found |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Wed Dec 15, 2004 3:03 pm Post subject: |
|
|
Hm, do anybody know? |
|
Back to top |
|
|
Zyne Guru
Joined: 08 Jun 2004 Posts: 334
|
Posted: Wed Dec 15, 2004 3:15 pm Post subject: |
|
|
do env-update, and logoff as root, login as a reg user and you should be fine |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2308 Location: Bretagne
|
Posted: Wed Dec 15, 2004 3:28 pm Post subject: |
|
|
Dear Eleanor, seems like you'll have to do this too:
In your /etc/rc.conf, do not forget to precise your display manager::
Code: | DISPLAYMANAGER="kdm" |
then :
Code: | # echo "exec startkde" > ~/.xinitrc |
When you've edited your ~/.xinitrc properly you can run startx and to make KDE start every time you boot:
Code: | # rc-update add xdm default |
Is that clear enough ??? Maybe a bit messy
Anyway you'll find everything you need in the docs
Good luck!!!
[EDIT] There it is http://www.gentoo.org/doc/en/kde-config.xml [/EDIT] |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Wed Dec 15, 2004 3:57 pm Post subject: |
|
|
kwin: cannot connect to X server. This displays me when I run command startx as regular user it is working just fine and it start with a console and nothing else. There I can't do nothing, what goes wrong that is doesn't start my desktop correctly! |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Wed Dec 15, 2004 4:07 pm Post subject: |
|
|
This is what I get as a result:
eleanor@localhost / $ startx
xauth: error in locking authority file /home/eleanor/.Xauthority
xauth: error in locking authority file /home/eleanor/.Xauthority
xauth: error in locking authority file /home/eleanor/.Xauthority
xauth: error in locking authority file /home/eleanor/.Xauthority
Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.4.26-gentoo-r6 i686 [ELF]
Current Operating System: Linux localhost 2.4.26-gentoo-r6 #2 Sun Dec 12 08:21:04 GMT 2004 i686
Build Date: 12 December 2004
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 15 17:04:57 2004
(EE) Unable to locate/open config file
Using vt 7
xf86AutoConfig: Primary PCI is 1:0:0
Running "/usr/X11R6/bin/getconfig -X 60700000 -I /etc/X11,/usr/X11R6/etc/X11,/usr/X11R6/lib/modules,/usr/X11R6/lib/X11/getconfig -v 0x1002 -d 0x475a -r 0x7a -s 0x1002 -b 0x0084 -c 0x0300"
getconfig.pl: Version 1.0.
getconfig.pl: Xorg Version: 6.7.0.0.
getconfig.pl: 23 built-in rules.
getconfig.pl: rules file '/usr/X11R6/lib/X11/getconfig/xorg.cfg' has version 1.0.
getconfig.pl: 1 rule added from file '/usr/X11R6/lib/X11/getconfig/xorg.cfg'.
getconfig.pl: Evaluated 24 rules with 0 errors.
getconfig.pl: Weight of result is 500.
New driver is "ati"
(==) Using default built-in configuration (53 lines)
(EE) open /dev/fb0: No such file or directory
Could not init font path element /usr/share/fonts/Speedo/, removing from list!
Could not init font path element /usr/share/fonts/Type1/, removing from list!
Could not init font path element /usr/share/fonts/CID/, removing from list!
waiting for X server to shut down X connection to :0.0 broken (explicit kill or server shutdown).
xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0.0"
xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0.0"
xauth: error in locking authority file /home/eleanor/.Xauthority
Couldnt get a file descriptor referring to the console
eleanor@localhost / $ |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Wed Dec 15, 2004 4:13 pm Post subject: |
|
|
And this If I try to connect as root:
localhost root # startkde
xset: unable to open display ""
xset: unable to open display ""
xsetroot: unable to open display ''
startkde: Starting up...
startkde: Running kpersonalizer...
kwin: cannot connect to X server
kpersonalizer: cannot connect to X server |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2308 Location: Bretagne
|
Posted: Wed Dec 15, 2004 5:31 pm Post subject: |
|
|
What about your xorg.conf?
And did you try what we suggested??? |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Wed Dec 15, 2004 5:35 pm Post subject: |
|
|
What is xorg.conf?
Yes I did and it seemed to be working only as root. If I want to startx as regular user that can't be done. But as root it is working properly! |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2308 Location: Bretagne
|
Posted: Wed Dec 15, 2004 6:10 pm Post subject: |
|
|
First of all have you emerged xorg or xfree????
/etc/X11/xorg.conf is the configuration file of the server xorg
To make your user able to use startx you have to allow him to use the video peripherals. Have you done it? |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Wed Dec 15, 2004 6:21 pm Post subject: |
|
|
But why must I emerge xorg. I already emerged kde, it is most popular than xorg I thing, but it is almost the same.
Why must I do video peripherals. No I think I haven't done it yes, how can I do it. Do I must to use only the video peripherals to make user able to use startx, or I must make something else? |
|
Back to top |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Wed Dec 15, 2004 6:28 pm Post subject: |
|
|
eleanor wrote: | But why must I emerge xorg. I already emerged kde, it is most popular than xorg I thing, but it is almost the same.
Why must I do video peripherals. No I think I haven't done it yes, how can I do it. Do I must to use only the video peripherals to make user able to use startx, or I must make something else? |
xorg is the X server and kde runs on top of xorg, so you need xorg and it has already been merged when you merged kde as a dependency. You now simply need to set up the X server, so that it and on top of it kde can run.
These should get you started:
http://www.gentoo.org/doc/en/xorg-config.xml
http://www.gentoo.org/doc/en/nvidia-guide.xml (in case you have a nvidia graphic card)
http://www.gentoo.org/doc/en/ati-faq.xml (in case you have an ati graphic card)
Good luck!
_________________ The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2308 Location: Bretagne
|
Posted: Wed Dec 15, 2004 6:33 pm Post subject: |
|
|
thx ralph
run a
for the moment and answer the questions it will ask you.
And follow the doc of course
then if you got a problem, ask us again ok??
cheers |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Thu Dec 16, 2004 6:02 am Post subject: |
|
|
I ran xorgconfig commnd, and now it don't wanna boot desktop! What shall I do? |
|
Back to top |
|
|
Jengu Guru
Joined: 28 Oct 2004 Posts: 384
|
Posted: Thu Dec 16, 2004 7:12 am Post subject: |
|
|
eleanor wrote: | I ran xorgconfig commnd, and now it don't wanna boot desktop! |
In order for people on the forums to help you, you need to be clear about exactly what error your computer is giving you. I have no idea what you mean by "it don't wanna boot desktop!" It might not want to start for one of a gajillion reasons.
Anyway, lemme fill you in:
1. Xorg + KDE = Desktop. You need both. If you emerge'd KDE, then it should've emerge'd Xorg automatically too, so you shouldn't have to worry about that.
2. There is a file, /etc/X11/xorg.conf -- this file contains the settings for your monitor and video card. If you type the command:
It should try to make this file for you automatically.
3. Xorg is very minimalistic -- it just gets a black and white screen with a mouse cursor up and running. To get a desktop, once Xorg starts running, kde needs to start. To get that to happen, you should edit the file /etc/rc.conf at the bottom line, the XSESSION line, and edit like other poster said above.
4. Once you have done all that, type startx to start Xorg and kde. If for some reason this doesn't work, come back here and post again with the error message you received.
Also, when you type startx, make sure you are logged in as a normal user not as root. Also, when you want to do something as root, type:
NOT su root. Typing su root will cause pathing problems. Do su - instead. When you're done as root, type:
NOT su user. su'ing again will cause pathing problems so that xorg may not start. Use exit to go back to a normal user.
I think that's all the gotchas |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Thu Dec 16, 2004 4:53 pm Post subject: |
|
|
As normal user:
eleanor@localhost eleanor $ startx
xauth: timeout in locking authority file /home/eleanor/.Xauthority
As root it gives me an error:
VGA(0): given depth(16) is not supported by this driver
Screens found, but none have a usable configuration |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2308 Location: Bretagne
|
Posted: Thu Dec 16, 2004 5:52 pm Post subject: |
|
|
Ok :
1- what type of graphic card do you have? Nvidia or Ati ?
2-did you emerge the appropriate drivers for it? |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Sat Dec 18, 2004 5:25 am Post subject: |
|
|
I have ATI card. How can I emerge the appropriate drivers for it! |
|
Back to top |
|
|
|