Re: Fail to start KDE and Gnome - further test

2007-02-28 Thread Stephen Liu

--- Stephen Liu <[EMAIL PROTECTED]> wrote:

> 
> --- Armin Pirkovitsch <[EMAIL PROTECTED]> wrote:
> 
> > 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
> 
> Hi Armin,
> 
> 
> # cat /var/log/Xorg.0.log | grep xorg
> (**) Option "XkbRules" "xorg"
> (**) : XkbRules: "xorg"
> 
> 
> # cat /var/log/Xorg.0.log | grep conf
> Markers: (--) probed, (**) from config file, (==) default setting,
> (EE) Unable to locate/open config file
> Running "/usr/X11R6/bin/getconfig -X 6090 -I
> /etc/X11,/usr/X11R6/etc/X11,/usr/X11R6/lib/modules,/usr/X
>  
>  11R6/lib/X11/getconfig -v 0x10de -d 0x01df -r 0xa1 -s 0x1043
> -b 0x81f3 -c 0x0300"
> (==) Using default built-in configuration (53 lines)
> (==) --- Start of built-in configuration ---
> (==) --- End of built-in configuration ---
> Using the default mouse configuration.
> Using the default keyboard configuration.
> 
> Would it be "getconfig"?  Why I'm not allowed to copy
> /root/xorg.conf.ne /etc/X11/xorg and run xorg.conf there?
> 
> Unfortunataely xorg.0.log is a big file.  I have no idea where to
> look
> at the error message on running xorg.conf.  Any suggestion?  TIA
> 
> 
> B.R.
> satimis


Hi Armin and folks,

I made further test as follow;

# cp /root/xorg.conf.new /etc/X11/xorg.conf

Hard reboot X = [Ctrl]+[Alt]+[Back Space]

exited to runlevel 3

Login : satimis
Password: xxx

$ startx

KDE started with color looking strangely and finally PC hung.

Hard reboot and removed xorg.conf

# cat /var/log/Xorg.0.log
.
FreeFontPath:FPE "/usr/XR11R6/lib/X11/Fonts/misc/" refcount is 2.
should be 1: fixing
* end *

Any advice how to fix this problem.  TIA


B.R.
Stephen Liu

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE and Gnome

2007-02-28 Thread Stephen Liu

--- Armin Pirkovitsch <[EMAIL PROTECTED]> wrote:

> 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

Hi Armin,


# cat /var/log/Xorg.0.log | grep xorg
(**) Option "XkbRules" "xorg"
(**) : XkbRules: "xorg"


# cat /var/log/Xorg.0.log | grep conf
Markers: (--) probed, (**) from config file, (==) default setting,
(EE) Unable to locate/open config file
Running "/usr/X11R6/bin/getconfig -X 6090 -I
/etc/X11,/usr/X11R6/etc/X11,/usr/X11R6/lib/modules,/usr/X  
 11R6/lib/X11/getconfig -v 0x10de -d 0x01df -r 0xa1 -s 0x1043
-b 0x81f3 -c 0x0300"
(==) Using default built-in configuration (53 lines)
(==) --- Start of built-in configuration ---
(==) --- End of built-in configuration ---
Using the default mouse configuration.
Using the default keyboard configuration.

Would it be "getconfig"?  Why I'm not allowed to copy
/root/xorg.conf.ne /etc/X11/xorg and run xorg.conf there?

Unfortunataely xorg.0.log is a big file.  I have no idea where to look
at the error message on running xorg.conf.  Any suggestion?  TIA


B.R.
satimis

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE and Gnome

2007-02-28 Thread Armin Pirkovitsch
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
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE and Gnome

2007-02-28 Thread Stephen Liu
Hi Armin,

Tks for your advice.


--- Armin Pirkovitsch <[EMAIL PROTECTED]> wrote:

> Stephen Liu wrote:
> > Hi Jonathan Chen,
> > 
> > Tks for your advice.
> > 
> >  
> >> If you're going to use "startx" you will need a ${HOME}/.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 )
> 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.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE and Gnome

2007-02-27 Thread Armin Pirkovitsch
Stephen Liu wrote:
> Hi folks,
> 
> FreeBSD-6.2-amd64
> 
> This is a test, I insalled aprox >80% of the packages on Disc 2
> After installation completed PC rebooted to runlevel 3.  Login as user
> and run;
> 
> $ startkde
> warning:
> Kpersonalizer : Cannot connect to Xserer
> - repeated-
> 
> $ gnome-session
> (gnome-session 1968) gtk-Warning  ** cannot open displayed
> 
> $ startx
> 3 xterm windows started.  On xterm I can start KDE with a lot of
> warning displayed on xterm windonw.  But I can't start Gnome on xterm.
> 
> I can start "firefox" on xterm.  Now I'm posting on "firefox" browser.
> 
> Please advise where I have to check fixing the problems.  TIA

There are two files that control which windowsmanager shall be used
(depending on whether you use a login manager or just startx)
One is called .xinitrc the other one .xsession - they are both in your
home directory - create them (you can create one of them and symlink the
other one) and add the start command to the file (full path) - and make
sure they are set executable (chmod 755 )
eg. for kde:
exec /usr/local/bin/startkde
eg for gnome:
exec /usr/local/bin/gnome-session


-- 
Armin Pirkovitsch
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE and Gnome

2007-02-27 Thread Armin Pirkovitsch
Stephen Liu wrote:
> Hi Jonathan Chen,
> 
> Tks for your advice.
> 
>  
>> If you're going to use "startx" you will need a ${HOME}/.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 )
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)

-- 
Armin Pirkovitsch
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE and Gnome

2007-02-27 Thread Stephen Liu
Hi Jonathan,

> I would suggest you configure /etc/ttys to start up KDM instead of
> using "startx"

I'm prepared running this box building servers for test.  I don't
expect the box booting straight to login page.  X is only for
communicating outside World.  I'm not used to running elinks, the text
broswer.

Tks.


B.R.
satimis

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE and Gnome

2007-02-27 Thread Stephen Liu
Hi Jonathan Chen,

Tks for your advice.

 
> If you're going to use "startx" you will need a ${HOME}/.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

Tks.


B.R.
Stephen Liu


Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE and Gnome

2007-02-27 Thread Jonathan Chen
On Tue, Feb 27, 2007 at 04:23:37PM +0800, Stephen Liu wrote:
> Hi Armin,
> 
> Tks for your advice.
> 
> > There are two files that control which windowsmanager shall be used
> > (depending on whether you use a login manager or just startx)
> > One is called .xinitrc the other one .xsession - they are both in
> > your
> > home directory - create them (you can create one of them and symlink
> > the
> > other one) and add the start command to the file (full path) - and
> > make
> > sure they are set executable (chmod 755 )
> > eg. for kde:
> > exec /usr/local/bin/startkde
> > eg for gnome:
> > exec /usr/local/bin/gnome-session
> 
> Done as per your advice.
> 
> $ cat ~/.xsession
> exec /usr/local/bin/startkde
> exec /usr/local/bin/gnome-session

You didn't follow his instructions. You only need *ONE* of the lines
in there - either "startkde" or "gnome-session".

> $ ls -al ~/.xsession
> -rwxr-xr-x  1 satimis  wheel  62 Feb 27 07:59 /home/satimis/.xsession
> 
> $ startkde

You will need to use "startx" instead.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
   Do not take life too seriously.
   You will never get out of it alive.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE and Gnome

2007-02-27 Thread Jonathan Chen
On Tue, Feb 27, 2007 at 01:26:41PM +0800, Stephen Liu wrote:
> Hi folks,
> 
> FreeBSD-6.2-amd64
> 
> This is a test, I insalled aprox >80% of the packages on Disc 2
> After installation completed PC rebooted to runlevel 3.  Login as user
> and run;
> 
> $ startkde
> warning:
> Kpersonalizer : Cannot connect to Xserer
> - repeated-
> 
> $ gnome-session
> (gnome-session 1968) gtk-Warning  ** cannot open displayed
> 
> $ startx
> 3 xterm windows started.  On xterm I can start KDE with a lot of
> warning displayed on xterm windonw.  But I can't start Gnome on xterm.
> 

If you're going to use "startx" you will need a ${HOME}/.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"

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Nyuck, nyuck, nyuck" - Curly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE and Gnome

2007-02-27 Thread Stephen Liu
Hi Armin,

Tks for your advice.

> There are two files that control which windowsmanager shall be used
> (depending on whether you use a login manager or just startx)
> One is called .xinitrc the other one .xsession - they are both in
> your
> home directory - create them (you can create one of them and symlink
> the
> other one) and add the start command to the file (full path) - and
> make
> sure they are set executable (chmod 755 )
> eg. for kde:
> exec /usr/local/bin/startkde
> eg for gnome:
> exec /usr/local/bin/gnome-session

Done as per your advice.

$ cat ~/.xsession
exec /usr/local/bin/startkde
exec /usr/local/bin/gnome-session

$ ls -al ~/.xsession
-rwxr-xr-x  1 satimis  wheel  62 Feb 27 07:59 /home/satimis/.xsession

$ startkde

ksplash: cannot connect to X server
kdeinit: Aborting, $DISPLAY is not set
Warning: Connect() failed: No such file or directory
ksmserver: Cannot connect to Xserver !
startkde: shutting down ...
Warning: Connect() failed: No such file or directory
Error: Can't contact kdeinit !
startkde running shutdown script
startkde : Done

Still failed.


B.R.
satimis

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fail to start KDE and Gnome

2007-02-26 Thread Stephen Liu
Hi folks,

FreeBSD-6.2-amd64

This is a test, I insalled aprox >80% of the packages on Disc 2
After installation completed PC rebooted to runlevel 3.  Login as user
and run;

$ startkde
warning:
Kpersonalizer : Cannot connect to Xserer
- repeated-

$ gnome-session
(gnome-session 1968) gtk-Warning  ** cannot open displayed

$ startx
3 xterm windows started.  On xterm I can start KDE with a lot of
warning displayed on xterm windonw.  But I can't start Gnome on xterm.

I can start "firefox" on xterm.  Now I'm posting on "firefox" browser.

Please advise where I have to check fixing the problems.  TIA


B.R.
Stephen Liu

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kde and gnome/gtk font appearance...

2006-12-23 Thread Pramod Venugopal
I am not sure if this might help, but it does improve the way fonts are
rendered for me in KDE and Gnome.

Basically it turns on hinting.

Put this in a file called .fonts.conf in your home directory.
--8<--



  

  true

  

--8<--
- Pramod

On Sat, 2006-12-23 at 17:06 -0500, Andy Harrison wrote:
> On 12/23/06, Andy Harrison <[EMAIL PROTECTED]> wrote:
> > I was wondering if anyone could explain this discrepancy in font appearance.
> >
> > Here is how fonts appear on my desktop apps in gnome/metacity.
> >
> 
> Oops, first screenshot should be...
> 
> http://img134.imageshack.us/my.php?image=screenshotgnomebx8.jpg
> 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kde and gnome/gtk font appearance...

2006-12-23 Thread Andy Harrison

On 12/23/06, Andy Harrison <[EMAIL PROTECTED]> wrote:

I was wondering if anyone could explain this discrepancy in font appearance.

Here is how fonts appear on my desktop apps in gnome/metacity.



Oops, first screenshot should be...

http://img134.imageshack.us/my.php?image=screenshotgnomebx8.jpg

--
Andy Harrison
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kde and gnome/gtk font appearance...

2006-12-23 Thread Andy Harrison

I was wondering if anyone could explain this discrepancy in font appearance.

Here is how fonts appear on my desktop apps in gnome/metacity.

http://img110.imageshack.us/my.php?image=screenshotkdegfpfa8.jpg

Here is how fonts appear by default in kde/kwin.

http://img300.imageshack.us/my.php?image=screenshotkdewt9.jpg

And here is how fonts appear in kde/kwin after I manually run the
gnome-font-properties app.

http://img110.imageshack.us/my.php?image=screenshotkdegfpuh0.jpg


I've tried kde with and without xfs as well as xfstt.  In kde control
center, I've configured it to use the same exact fonts and font sizes
as gnome-font-properties.  I've also set the anti-aliasing options to
match up.

So basically I'd like to run kde with my fonts appearing like they do
in gnome.  Does anyone have advice?  Is there some gnome program I
could have kde automatically launch to get the results I want?

I'm running FreeBSD 6.1-RELEASE-p11, xorg-6.9.0_5, kde-3.5.5, gnome2-2.16.2.

--
Andy Harrison
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE and Gnome

2005-05-30 Thread Martin Alejandro Paredes Sanchez
El Lun 30 May 2005 20:51, Tina Neil escribió:
> I have a old laptop which after the suggestion of another programmer i
> installed FreeBSD. I have used this some before, but because it is free we
> have decided to use this for are small club.  I have a compaq armanda and i
> installed both KSE and Gnome and when i go to use them it says Command not
> found. Is it me or the laptop. also can you tell me how to get my computer
> to "start" with gnome instead of going into the text part of FreeBSD.
> Please Help

read this information

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

maps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE and Gnome

2005-05-30 Thread Eric Kjeldergaard
2005/5/31, Tina Neil <[EMAIL PROTECTED]>:
> I have a old laptop which after the suggestion of another programmer i 
> installed FreeBSD. I have used this some before, but because it is free we 
> have decided to use this for are small club.  I have a compaq armanda and i 
> installed both KSE and Gnome and when i go to use them it says Command not 
> found. Is it me or the laptop. also can you tell me how to get my computer to 
> "start" with gnome instead of going into the text part of FreeBSD.
> Please Help

In order to start KDE, for example, you would first `echo startkde >
~/.xinitrc` and then startx would bring it up.  GNOME has something
similar, though I can't remember it offhand.  In order to start with a
graphical login manager, you edit /etc/ttys.  Both of these questions
can readily be answered by reading the handbook available free and
online at www.freebsd.ord/handbook.  Please consult the FreeBSD
Handbook as the first source to find answers to your FreeBSD
questions.

-- 
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


KDE and Gnome

2005-05-30 Thread Tina Neil
I have a old laptop which after the suggestion of another programmer i 
installed FreeBSD. I have used this some before, but because it is free we have 
decided to use this for are small club.  I have a compaq armanda and i 
installed both KSE and Gnome and when i go to use them it says Command not 
found. Is it me or the laptop. also can you tell me how to get my computer to 
"start" with gnome instead of going into the text part of FreeBSD. 
Please Help

FM robotics lead programer
Nathan J. Neil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Meta-ports like KDE and Gnome, WindowMaker?

2005-04-13 Thread Chris
I know there is the meta-port, KDE. And you have Gnome and its major
ports like Fifth-Toe etc. Are there things similar but for WindowMaker?

-- 
Best regards,
Chris

If you've got them by the balls,
their hearts and minds will follow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"