Re: problem with startx..!

2009-07-29 Thread Polytropon
On Wed, 29 Jul 2009 19:04:23 +0300, thanos trompoukis  wrote:
> The .xinitrc exists  and contains this:  startkde

This should be okay for the "startx" command, but display managers
such as xdm and kdm aren't interested in it.



> The .xsession does not exists.

This file is needed for display managers.



> What am I suppose to do now?
> I have no Idea.

It's quite easy. Create or modify so you have this:

1. ~/.xsession

#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc

This assumes that your shell is the C shell, FreeBSD's standard
dialog shell. This file is used by the display managers, such as
xdm. It sources your user's C shell settings from .cshrc so you
have these settings in X when, for example, you're starting an X
terminal. Then it continues running as .xinitrc ("exec" statement).

2. ~/.xinitrc

#!/bin/sh
exec startkde

This file is used when giving the "startx" command from the text
mode console or executed after login by a display manager, such
as xdm. It continues running as the "startkde" command, which is
supposed to launch your KDE session.

After creating the files, run

% chmod +x .xinitrc .xsession

Now you can

% startx

to start X and KDE, or use xdm or kdm - no matter which solution
you use, the config files are prepared to cope with both situations.


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: problem with startx..!

2009-07-29 Thread thanos trompoukis
Ok, thanks! Finaly figured it out.
It was missing .xsession and I create it.
Anyway Thank you very much for your help.
Thanx!





2009/7/29 Lowell Gilbert 

> thanos trompoukis  writes:
>
> > It seems to be like an other desktop environment very simple.
> > Now when I try startx I can see the same background I could see before
> > but now there are 3 windows (x-term) like the console window on KDE 3.5
> >
> > Why KDE not starts?
>
> Almost certainly because you didn't set it up to do so.
> Please read the documentation.  E.g.,
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
>
> --
> Lowell Gilbert, embedded/networking software engineer, Boston area
>
> http://be-well.ilk.org/~lowell/
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: problem with startx..!

2009-07-29 Thread Lowell Gilbert
thanos trompoukis  writes:

> It seems to be like an other desktop environment very simple.
> Now when I try startx I can see the same background I could see before
> but now there are 3 windows (x-term) like the console window on KDE 3.5
>
> Why KDE not starts?

Almost certainly because you didn't set it up to do so.
Please read the documentation.  E.g., 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: problem with startx..!

2009-07-29 Thread Jerry
On Wed, 29 Jul 2009 09:56:09 -0400
Lowell Gilbert  wrote:

> thanos trompoukis  writes:
> 
> > I removed .Xauthority and I still have the same problem
> 
> Then the error messages will have changed; look at the log again.

If present, delete:

..ICEauthority
..Xauthority

Check ownership on the Desktop/ directory if present as well as
the .xinitrc file. In fact, most, if not all of the files in the $HOME
directory should be owned by you.

This definitely sounds like a permission/file ownership problem. As
previously suggested, DO NOT run 'X' as a privileged user.

You might want to post the contents of the /var/log/Xorg.0.log to
"http://www.pastebin.ca"; so we can get a better idea of exactly what is
happening. I might suggest that you reboot the machine before starting
'X' also. Perhaps some program is hanging up and causing the problem.

Finally/ clean out your '/var/tmp' and '/tmp' directory before starting
'X'. there is always a possibility that something there has a
permissions/file ownership problem. It can't hurt.


-- 
Jerry
ges...@yahoo.com

Life being what it is, one dreams of revenge.

Paul Gauguin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: problem with startx..!

2009-07-29 Thread Polytropon
On Wed, 29 Jul 2009 18:24:14 +0300, thanos trompoukis  wrote:
> It seems to be like an other desktop environment very simple.
> Now when I try startx I can see the same background I could see before
> but now there are 3 windows (x-term) like the console window on KDE 3.5

This is twm. It's a window manager displaying three xterms. It's
not a desktop environment.



> Why KDE not starts?

Because... maybe you're missing the correct startup files. X display
managers (xdm, kdm, gdm) and the startx command behave a bit differently.
The easiest way to be able to use *any* method of starting is to have
the following files in your home directory:

1. ~/.xsession

#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc



1. ~/.xinitrc

#!/bin/sh
[ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc
# ... your further startup commands here, e. g.
xsetroot -solid rgb:3b/4c/7a
xset b 100 1000 15 &
xset r rate 250 30 &
xset s off &
xset -dpms &
# this starts your desired window manager / DE
exec startkde

Refer to the KDE documentation about what's the correct name to start
KDE. I think it's "startkde", but I may be wrong because I am not using
KDE, so it's honestly just a guess.

Make sure that both files are +x attributes.

% chmod +x .xinitrc .xsession




-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: problem with startx..!

2009-07-29 Thread thanos trompoukis
It seems to be like an other desktop environment very simple.
Now when I try startx I can see the same background I could see before
but now there are 3 windows (x-term) like the console window on KDE 3.5

Why KDE not starts?







2009/7/29 Lowell Gilbert 

> thanos trompoukis  writes:
>
> > I removed .Xauthority and I still have the same problem
>
> Then the error messages will have changed; look at the log again.
>
> --
> Lowell Gilbert, embedded/networking software engineer, Boston area
>
> http://be-well.ilk.org/~lowell/
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: problem with startx..!

2009-07-29 Thread Lowell Gilbert
thanos trompoukis  writes:

> I removed .Xauthority and I still have the same problem

Then the error messages will have changed; look at the log again.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: problem with startx..!

2009-07-28 Thread Lowell Gilbert
thanos trompoukis  writes:

>> Can you rm /home/efialtis/.Xauthority?
>>
>
>
>
>
> When I try rm /home/efialtis/.Xauthority   it ask me this:
>
>override rw---  root/wheel  for .Xaouthority?
>
>
> What am I suppose to do?

Get root to remove it.

And don't run X as root again.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: problem with startx..!

2009-07-28 Thread Lowell Gilbert
thanos trompoukis  writes:

> *Hi all,
>
> I login to my system and try to type: startx
> I get a blank screen (grey colored) that I can see my mouse and nothing
> else.
> and after a few minutes I get this message:*
>
> *AUDIT: Tue Jul 28 16:38:34 2009: 983 x: client 1 rejected from local host
> Xlib: conneciton to ":0.0" refused by Server
> Xlib: No protocol specified
>
>
> ...
> giving up
> /usr/X11R6/bin/xinit  unable to connect to X server
>
>
> waiting for X server to shut down FreeFontPath: FPE
> "/usr/X11R6/lib/X11/fonts/msc/" refcount is 2, should be 1; fixing.
>
> /usr/X11R6/bin/xinit: Server error
> /usr/X11R6/bin/Xauth: error in locking authority file
> /home/efialtis/.Xauthority*

Can you rm /home/efialtis/.Xauthority?

>
>
> *I use KDE 3.5 But when I try "startx" as root it works, and is loading KDE
> fine.
> What's wrong?
>
> *recently I change the font (I don't know if this related with)
>
> Thanx!
>
> *
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: problem with startx..!

2009-07-28 Thread Jerry
On Tue, 28 Jul 2009 16:54:08 +0300
thanos trompoukis  wrote:

> *Hi all,
> 
> I login to my system and try to type: startx
> I get a blank screen (grey colored) that I can see my mouse and
> nothing else.
> and after a few minutes I get this message:*
> 
> *AUDIT: Tue Jul 28 16:38:34 2009: 983 x: client 1 rejected from local
> host Xlib: conneciton to ":0.0" refused by Server
> Xlib: No protocol specified
> 
> 
> ...
> giving up
> /usr/X11R6/bin/xinit  unable to connect to X server
> 
> 
> waiting for X server to shut down FreeFontPath: FPE
> "/usr/X11R6/lib/X11/fonts/msc/" refcount is 2, should be 1; fixing.
> 
> /usr/X11R6/bin/xinit: Server error
> /usr/X11R6/bin/Xauth: error in locking authority file
> /home/efialtis/.Xauthority*
> 
> 
> 
> *I use KDE 3.5 But when I try "startx" as root it works, and is
> loading KDE fine.
> What's wrong?
> 
> *recently I change the font (I don't know if this related with)

I have heard of a problem when X is started as root and then later
started as an ordinary user. Evidently, the permissions on the files,
and directories are set for root and the regular user cannot access
them. I am not sure if that is the problem in your case; however, the
fact that X works as root might be an indication of it.

You might want to check the appropriate directory and file ownership's
and permissions.


-- 
Jerry
ges...@yahoo.com

"Then you admit confirming not denying you ever said that?"
"NO! ... I mean Yes!  WHAT?"
"I'll put `maybe.'"
-- Bloom County
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


problem with startx..!

2009-07-28 Thread thanos trompoukis
*Hi all,

I login to my system and try to type: startx
I get a blank screen (grey colored) that I can see my mouse and nothing
else.
and after a few minutes I get this message:*

*AUDIT: Tue Jul 28 16:38:34 2009: 983 x: client 1 rejected from local host
Xlib: conneciton to ":0.0" refused by Server
Xlib: No protocol specified


...
giving up
/usr/X11R6/bin/xinit  unable to connect to X server


waiting for X server to shut down FreeFontPath: FPE
"/usr/X11R6/lib/X11/fonts/msc/" refcount is 2, should be 1; fixing.

/usr/X11R6/bin/xinit: Server error
/usr/X11R6/bin/Xauth: error in locking authority file
/home/efialtis/.Xauthority*



*I use KDE 3.5 But when I try "startx" as root it works, and is loading KDE
fine.
What's wrong?

*recently I change the font (I don't know if this related with)

Thanx!

*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem with startx

2007-11-24 Thread Garrett Cooper

Siraj Shaikh wrote:

I installed freebsd (6.2) from scratch. Download, updated the ports
tree. Upgraded all the ports. Installed Xorg (it was xorg-7.3). When I
typed in

startx

it worked fine. Then I proceeded to install gnome2-lite using

pkg_add -r gnome2-lite

That worked fine. Tried to start startx/gnome2 (after following the
instructions here:
http://www.freebsd.org/gnome/docs/faq2.html#full-gnome). I want gnome2
to start when I type in startx. I have done this in the past, never
had trouble. But when I rebooted and typed in startx, I had a problem
about

Shared object "libintl.so.6" not found, required by "gnome-session"

and then went to UPDATING and performed

portupgrade -r gettext

Now, I try startx, it doesnt work at all. It gives me the same error

Shared object "libintl.so.6" not found, required by "gnome-session"

followed by

waiting for X server to shutdown FreeFontPath: FPE
"/usr/local/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing

Please help! All I want to do is to be able to run gnome2.

Thanks

Siraj


Looks like you need to reinstall gettext. See: 
.

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


Problem with startx

2007-11-24 Thread Siraj Shaikh
I installed freebsd (6.2) from scratch. Download, updated the ports
tree. Upgraded all the ports. Installed Xorg (it was xorg-7.3). When I
typed in

startx

it worked fine. Then I proceeded to install gnome2-lite using

pkg_add -r gnome2-lite

That worked fine. Tried to start startx/gnome2 (after following the
instructions here:
http://www.freebsd.org/gnome/docs/faq2.html#full-gnome). I want gnome2
to start when I type in startx. I have done this in the past, never
had trouble. But when I rebooted and typed in startx, I had a problem
about

Shared object "libintl.so.6" not found, required by "gnome-session"

and then went to UPDATING and performed

portupgrade -r gettext

Now, I try startx, it doesnt work at all. It gives me the same error

Shared object "libintl.so.6" not found, required by "gnome-session"

followed by

waiting for X server to shutdown FreeFontPath: FPE
"/usr/local/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing

Please help! All I want to do is to be able to run gnome2.

Thanks

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