List Info

Thread: Re: Fail to start KDE and Gnome




Re: Fail to start KDE and Gnome
country flaguser name
Hong Kong
2007-02-28 05:57:08
Hi Armin,

Tks for your advice.


--- Armin Pirkovitsch <a.pirkoinode.at> wrote:

> Stephen Liu wrote:
> > Hi Jonathan Chen,
> > 
> > Tks for your advice.
> > 
> >  
> >> If you're going to use "startx" you
will need a $/.xinitrc
> with
> >> the following contents:
> >>
> >> 	#/bin/sh
> >> 	startkde
> >>
> >> Make sure the file is 755 permissions. This
will start up X with
> KDE.
> >> I would suggest you configure /etc/ttys to
start up KDM instead of
> >> using "startx"
> > 
> > Your advice worked here starting KDE.
> > 
> > What I'm trying to do is running;
> > 
> > $ startkde
> > will start K desktop
> > 
> > $ gnome-session
> > will start Gnome desktop
> 
> This won't work since those are just the windowmanagers
- you need an
> X
> server to start them.
> However you could solve it with some small scripts:
> 
> 
> start-gnome.sh:
> ----------------
> #!/bin/sh
> rm -f ~/.xinitrc
> ln -s ~/.xinitrc_gnome ~/.xinitrc
> startx
> 
> ----------------
> ################
> .xinitrc_gnome:
> ----------------
> #!/bin/sh
> exec /usr/local/bin/gnome-session
> 
> ----------------
> ################
> start-kde.sh:
> ----------------
> #!/bin/sh
> rm -f ~/.xinitrc
> ln -s ~/.xinitrc_kde ~/.xinitrc
> startx
> 
> ----------------
> ################
> .xinitrc_gnome:
> ----------------
> #!/bin/sh
> exec /usr/local/bin/startkde
> 
> ----------------
> 
> make sure all of these files are executable (chmod 755
<file>)
> the .xinitrc* files have to be in your home directory
-
> start-gnome.sh
> and start-kde.sh in any directory in your PATH (eg.
~/bin if it's
> only
> for one user)


Something strange happened here.  If copying
"xorg.conf.new" on
/etc/X11/ and renaming it as "xorg.conf". I can't
start X, the HD only
turning.  Now I don't have /etc/X11/xorg.conf.  I can start
KDE (not
Gnome).  I don't know which "xorg.conf" I am now
running.

I can toggle resolution to increase font size on browser
witn
[Ctrl]+[Alt]+[+]


B.R.
satimis



Send instant messages to your online friends http://uk.messenger.yah
oo.com 
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Fail to start KDE and Gnome
country flaguser name
Austria
2007-02-28 06:12:45
Stephen Liu wrote:
[...]
> 
> Something strange happened here.  If copying
"xorg.conf.new" on
> /etc/X11/ and renaming it as "xorg.conf". I
can't start X, the HD only
> turning.  Now I don't have /etc/X11/xorg.conf.  I can
start KDE (not
> Gnome).  I don't know which "xorg.conf" I am
now running.

just have a look at /var/log/Xorg.0.log - it will tell you
which config
file is used

> 
> I can toggle resolution to increase font size on
browser witn
> [Ctrl]+[Alt]+[+]


-- 
Armin Pirkovitsch
a.pirkoinode.at
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )