Re: KDM stopping

2008-11-28 Thread Pieter Donche


On Thu, 27 Nov 2008, Lowell Gilbert wrote:


Pieter Donche [EMAIL PROTECTED] writes:


FreeBSD-7.0-RELEASE, with KDE as desktop environment and KDM as
display manager.

I have 2 users, say user1 and user2.
Boot, KDM login as user1, OK.
Then I do a close session.
OK, KDM presents me again with the KDM login screen, login as user2, OK.
Then again, close session.
Now, the KDM login screen does not come back. I am stuck with
a cursor blinking at the upper left corner.
Ctrl-Alt-F1 brings me to the console, Ctrl-Alt-F7: no X, just a
login:prompt

If I reboot and do the same thing, but now first with user2, then user1
- exactly same behaviour (X dies at the second close session). So,
it's not connected with user2.

Anyone a idea what could be wrong? Below are some log details:


Does this happen with xdm as well?
Have you checked with the FreeBSD kde mailing list?


If I switch in KDM to using TWM window manager (instead of KDE), login and 
then logout, I'm stuck in the same way.


XDM: If I edit /etc/ttys to use  xdm   instead of kdm and reboot
I get login/password prompt, then a very primitive TWM window manager,
When choose exit on the menu (with one gets by left-clicking the mouse)
the frames arround the windows disappear and I don't get the menu
back, the only thing I can do is to to console mode and shutdown -r now
(and first edit /etc/ttys again for kdm)

Is there a command to
- restart the kdm window manager (after it died) from a root console prompt?
- stop en start a running kwm window manager from a root console prompt?

Concerning my initial problem - I remember that I wanted to change the
home-dir of both user1 and user2, therefore in console as root did a
rmuser, then adduser for both.  Can this cause this dying of KDM manager?




The /var/log/kdm-log shows:
--
...
X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.0-RELEASE i386
Current Operating System: FreeBSD pclinwi74.cmi.ua.ac.be 7.0-RELEASE FreeBSD 7.
0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/
obj/usr/src/sys/GENERIC i386
Build Date: 13 February 2008  05:50:12PM

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 Nov 26 16:27:31 2008
(EE) Unable to locate/open config file
New driver is i810
(==) Using default built-in configuration (55 lines)
(EE) Failed to load module fbdev (module does not exist, 0)
(II) Module ddc already built-in
(II) Module ramdac already built-in
FreeFontPath: FPE /usr/local/lib/X11/fonts/misc/ refcount is 2, should be 1;
fixing.
FreeFontPath: FPE /usr/local/lib/X11/fonts/misc/ refcount is 2, should be 1;
fixing.
(EE) I810(0): V_BIOS address 0x0 out of range

Fatal server error:
Caught signal 11.  Server aborting


X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.0-RELEASE i386
Current Operating System: FreeBSD pclinwi74.cmi.ua.ac.be 7.0-RELEASE FreeBSD 7.
0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/
obj/usr/src/sys/GENERIC i386
Build Date: 13 February 2008  05:50:12PM


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 Nov 26 16:43:42 2008
(EE) Unable to locate/open config file
New driver is i810
(==) Using default built-in configuration (55 lines)
(EE) Failed to load module fbdev (module does not exist, 0)
(EE) I810(0): V_BIOS address 0x0 out of range
(EE) I810(0): VBE initialization failed.
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
---

/var/log/messages  contains:
--
..
Nov 26 16:29:03 pclinwi74 kernel: pid 853 (Xorg), uid 0: exited on signal 11 (c
ore dumped)
Nov 26 16:29:03 pclinwi74 kdm-bin[850]: X server for display :0 terminated unex
pectedly
Nov 26 16:29:03 pclinwi74 kdm-bin: :0[1137]: IO Error in XOpenDisplay
Nov 26 16:29:03 pclinwi74 kdm-bin[850]: Display :0 cannot be opened
Nov 26 16:29:03 pclinwi74 kdm-bin[850]: Unable to fire up local display :0; dis
abling.
Nov 26 16:29:30 pclinwi74 login: ROOT LOGIN (root) ON ttyv0
Nov 26 16:43:40 pclinwi74 shutdown: reboot by root:
Nov 26 16:43:42 pclinwi74 kdm-bin[850]: X server for display :0 terminated unex
pectedly
Nov 26 16:43:42 pclinwi74 kdm-bin[850]: Unable to fire up local display :0; dis
abling.
Nov 26 16:43:42 pclinwi74 syslogd: 

Re: KDM stopping

2008-11-28 Thread Polytropon
On Fri, 28 Nov 2008 09:37:24 +0100 (CET), Pieter Donche [EMAIL PROTECTED] 
wrote:
 
 XDM: If I edit /etc/ttys to use  xdm   instead of kdm and reboot
 I get login/password prompt, then a very primitive TWM window manager,

These are the default settings (TWM with some xterms). You can edit
your ~/.xinitrc in order to launch the window manager or desktop
environment you like.



 When choose exit on the menu (with one gets by left-clicking the mouse)
 the frames arround the windows disappear and I don't get the menu
 back, the only thing I can do is to to console mode and shutdown -r now
 (and first edit /etc/ttys again for kdm)

The session controller for this setting isn't the window manager,
it is one of the xterms which you can close using the exit command
or pressing Ctrl+D when focused. What you did: You terminated the
window manager so the xterms are there on their own, without any
window manager (you see that you can still select focus, but there
are no window decorations).



 Is there a command to
 - restart the kdm window manager (after it died) from a root console prompt?

I think you can do this using the kdm command.



 - stop en start a running kwm window manager from a root console prompt?

At last, kill X with Ctrl+Alt+Backspace, then run kdm again.



 Concerning my initial problem - I remember that I wanted to change the
 home-dir of both user1 and user2, therefore in console as root did a
 rmuser, then adduser for both.  Can this cause this dying of KDM manager?

I don't think so, because kdm works on a higher level where the
user settings are not important. But... the more I think about it...
it could be possible because KDM remembers users that have been logged
in and presents a list of users on the system. Maybe it fails to
retrieve the needed data, maybe the user database is corrupted or
entries refer to non-existing home directories or login shells?



-- 
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 [EMAIL PROTECTED]


Re: KDM stopping

2008-11-27 Thread Lowell Gilbert
Pieter Donche [EMAIL PROTECTED] writes:

 FreeBSD-7.0-RELEASE, with KDE as desktop environment and KDM as
 display manager.

 I have 2 users, say user1 and user2.
 Boot, KDM login as user1, OK.
 Then I do a close session.
 OK, KDM presents me again with the KDM login screen, login as user2, OK.
 Then again, close session.
 Now, the KDM login screen does not come back. I am stuck with
 a cursor blinking at the upper left corner.
 Ctrl-Alt-F1 brings me to the console, Ctrl-Alt-F7: no X, just a
 login:prompt

 If I reboot and do the same thing, but now first with user2, then user1
 - exactly same behaviour (X dies at the second close session). So,
 it's not connected with user2.

 Anyone a idea what could be wrong? Below are some log details:

Does this happen with xdm as well?
Have you checked with the FreeBSD kde mailing list?


 The /var/log/kdm-log shows:
 --
 ...
 X.Org X Server 1.4.0
 Release Date: 5 September 2007
 X Protocol Version 11, Revision 0
 Build Operating System: FreeBSD 7.0-RELEASE i386
 Current Operating System: FreeBSD pclinwi74.cmi.ua.ac.be 7.0-RELEASE FreeBSD 
 7.
 0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/
 obj/usr/src/sys/GENERIC i386
 Build Date: 13 February 2008  05:50:12PM

 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 Nov 26 16:27:31 2008
 (EE) Unable to locate/open config file
 New driver is i810
 (==) Using default built-in configuration (55 lines)
 (EE) Failed to load module fbdev (module does not exist, 0)
 (II) Module ddc already built-in
 (II) Module ramdac already built-in
 FreeFontPath: FPE /usr/local/lib/X11/fonts/misc/ refcount is 2, should be 1;
 fixing.
 FreeFontPath: FPE /usr/local/lib/X11/fonts/misc/ refcount is 2, should be 1;
 fixing.
 (EE) I810(0): V_BIOS address 0x0 out of range

 Fatal server error:
 Caught signal 11.  Server aborting


 X.Org X Server 1.4.0
 Release Date: 5 September 2007
 X Protocol Version 11, Revision 0
 Build Operating System: FreeBSD 7.0-RELEASE i386
 Current Operating System: FreeBSD pclinwi74.cmi.ua.ac.be 7.0-RELEASE FreeBSD 
 7.
 0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/
 obj/usr/src/sys/GENERIC i386
 Build Date: 13 February 2008  05:50:12PM


 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 Nov 26 16:43:42 2008
 (EE) Unable to locate/open config file
 New driver is i810
 (==) Using default built-in configuration (55 lines)
 (EE) Failed to load module fbdev (module does not exist, 0)
 (EE) I810(0): V_BIOS address 0x0 out of range
 (EE) I810(0): VBE initialization failed.
 (EE) Screen(s) found, but none have a usable configuration.

 Fatal server error:
 no screens found
 ---

 /var/log/messages  contains:
 --
 ..
 Nov 26 16:29:03 pclinwi74 kernel: pid 853 (Xorg), uid 0: exited on signal 11 
 (c
 ore dumped)
 Nov 26 16:29:03 pclinwi74 kdm-bin[850]: X server for display :0 terminated 
 unex
 pectedly
 Nov 26 16:29:03 pclinwi74 kdm-bin: :0[1137]: IO Error in XOpenDisplay
 Nov 26 16:29:03 pclinwi74 kdm-bin[850]: Display :0 cannot be opened
 Nov 26 16:29:03 pclinwi74 kdm-bin[850]: Unable to fire up local display :0; 
 dis
 abling.
 Nov 26 16:29:30 pclinwi74 login: ROOT LOGIN (root) ON ttyv0
 Nov 26 16:43:40 pclinwi74 shutdown: reboot by root:
 Nov 26 16:43:42 pclinwi74 kdm-bin[850]: X server for display :0 terminated 
 unex
 pectedly
 Nov 26 16:43:42 pclinwi74 kdm-bin[850]: Unable to fire up local display :0; 
 dis
 abling.
 Nov 26 16:43:42 pclinwi74 syslogd: exiting on signal 15
 

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


-- 
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 [EMAIL PROTECTED]


Re: kdm/startkde problem after upgrade

2007-07-16 Thread Reid Linnemann

Written by Andriy Babiy on 07/16/07 02:52

Hi everyone!

$ uname -a
FreeBSD ABC.DEF.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11 06:07:39 
PDT 2007 root@:/usr/obj/usr/src/sys/AMD64  amd64


kdm is configured as a login manager in /etc/ttys.

After upgrade to KDE 3.5.7 and X server 7.2 (that was time consuming, but 
no errors) I receive an error message on startup:
Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server /usr/X11R6/bin/X 
cannot be executed
Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[789]: X server for display :0 can't 
be started, session disabled


When I logged in, startkde brings another error message:
xsetroot:  unable to open display ''
Warning: kbuildsycoca is unable to register with DCOP.
kbuildsycoca running...
kdeinit: Aborting. $DISPLAY is not set.
There was an error setting up inter-process communications for KDE. The 
message returned by the system was:


Could not read network connection list.
/home/andrey/.DCOPserver_FreeBSD-amd64.kde.com_NODISPLAY

Please check that the dcopserver program is running!
Reusing existing ksycoca
kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' 
specifies undefined mimetype/servicetype 'application/x-tbz2'

...
A lot of messages of the same nature about undefined mimetype/servicetype.
...
xset:  unable to open display 
xset:  unable to open display 
xsetroot:  unable to open display ''
startkde: Starting up...
ksplash: cannot connect to X server
xprop:  unable to open display ''
kdeinit: Aborting. $DISPLAY is not set.
Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...

Interesting, when I issue startx, KDE is up and running.
I ran X -configure, and then X -config /root/xorg.conf.new as root; X 
server starts properly, so I copied new config to /etc/X11. I assume my 
problem is KDE related. Errors are about DCOP server, as I can see.

Could anyone help me fix this problem? Thank you in advance!

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


# ls -lF /usr/X11R6
lrwxr-xr-x  1 root  wheel  10 Jun 18 08:29 /usr/X11R6@ - /usr/local

If yours does not look like that, then you forgot to merge /usr/X11R6 
into /usr/local, which by the looks of the first message (Jul 16 
00:13:10 FreeBSD-amd64 kdm-bin[792]: X server /usr/X11R6/bin/X cannot 
be executed) is exactly what has happened. As of Xorg 7, X11BASE is now 
/usr/local rather than /usr/X11R6, so the Xorg servers will not be at 
/usr/X11R6/bin. Read the Xorg 7.2 entry in /usr/ports/UPDATING. 
Specifically, there is a tool (mergebase.sh) included to make the merge 
step extremely easy.

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


Re: kdm/startkde problem after upgrade

2007-07-16 Thread Andriy Babiy
  $ uname -a
  FreeBSD ABC.DEF.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11
  06:07:39 PDT 2007 root@:/usr/obj/usr/src/sys/AMD64  amd64
 
  kdm is configured as a login manager in /etc/ttys.
 
  After upgrade to KDE 3.5.7 and X server 7.2 (that was time consuming,
  but no errors) I receive an error message on startup:
  Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server
  /usr/X11R6/bin/X cannot be executed
  Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[789]: X server for display :0
  can't be started, session disabled
 
  When I logged in, startkde brings another error message:
  xsetroot:  unable to open display ''
  Warning: kbuildsycoca is unable to register with DCOP.
  kbuildsycoca running...
  kdeinit: Aborting. $DISPLAY is not set.
  There was an error setting up inter-process communications for KDE.
  The message returned by the system was:
 
  Could not read network connection list.
  /home/andrey/.DCOPserver_FreeBSD-amd64.kde.com_NODISPLAY
 
  Please check that the dcopserver program is running!
  Reusing existing ksycoca
  kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop'
  specifies undefined mimetype/servicetype 'application/x-tbz2'
  ...
  A lot of messages of the same nature about undefined
  mimetype/servicetype. ...
  xset:  unable to open display 
  xset:  unable to open display 
  xsetroot:  unable to open display ''
  startkde: Starting up...
  ksplash: cannot connect to X server
  xprop:  unable to open display ''
  kdeinit: Aborting. $DISPLAY is not set.
  Warning: connect() failed: : No such file or directory
  ksmserver: cannot connect to X server
  ERROR: Couldn't attach to DCOP server!
  startkde: Shutting down...
  Warning: connect() failed: : No such file or directory
  Error: Can't contact kdeinit!
  startkde: Running shutdown scripts...
 
  Interesting, when I issue startx, KDE is up and running.
  I ran X -configure, and then X -config /root/xorg.conf.new as root; X
  server starts properly, so I copied new config to /etc/X11. I assume
  my problem is KDE related. Errors are about DCOP server, as I can see.
  Could anyone help me fix this problem? Thank you in advance!

 # ls -lF /usr/X11R6
 lrwxr-xr-x  1 root  wheel  10 Jun 18 08:29 /usr/X11R6@ - /usr/local

 If yours does not look like that, then you forgot to merge /usr/X11R6
 into /usr/local, which by the looks of the first message (Jul 16
 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server /usr/X11R6/bin/X cannot
 be executed) is exactly what has happened. As of Xorg 7, X11BASE is now
 /usr/local rather than /usr/X11R6, so the Xorg servers will not be at
 /usr/X11R6/bin. Read the Xorg 7.2 entry in /usr/ports/UPDATING.
 Specifically, there is a tool (mergebase.sh) included to make the merge
 step extremely easy.

Yes. Sure. Thank you. Perhaps I was too sleepy. My fault. Everything is OK.
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDM terminates unexpectedly

2007-07-09 Thread Norberto Meijome
On Tue, 10 Jul 2007 13:07:04 +1000
Malcolm Fitzgerald [EMAIL PROTECTED] wrote:

 I've just installed freeBSD v6.2 and installed the updated xorg from
 sources. 
 
 After kdm is called I see:
 
 Jul 9 17:41:29 rock kdm-bin[817]: X server for display :0  terminated 
 unexpectedly
 Jul 9 17:41:29 rock kdm-bin: :0[821]: IO Error in XOpenDisplay
 Jul 9 17:41:29 rock kdm-bin[817]: Unable to fire up local display :0; 
 disabling
 
 Any advice?

any information @ the end of /var/log/Xorg.0.log ? 

_
{Beto|Norberto|Numard} Meijome

Quality is never an accident, it is always the result of intelligent effort.
  John Ruskin  (1819-1900)

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDM at boot

2007-06-26 Thread Sereno Ternullo

Tim Daneliuk ha scritto:

Eric Crist wrote:
  

On Jun 25, 2007, at 7:39 PMJun 25, 2007, Cyrus wrote:



ive done this before with Slackware 11, but read up on freebsd on how
to do
it, and its completley different.  How do I go about having KDM start
automaticly on boot?

  

Edit /etc/ttys and modify line 45 as follows:

ttyv8   /usr/local/bin/kdm   xterm  on secure

Save the file, reboot.  Of course, you need to have KDE installed.



Shouldn't have to reboot.  'kill -HUP 1'   should do it. If not,
'shutdown now', hit return,   followed by ^D will do it ...
  


This is even easier to remember:

# init q

It's the same for 'kill -HUP 1'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDM at boot

2007-06-26 Thread Norberto Meijome
On Tue, 26 Jun 2007 22:44:25 +0200
Sereno Ternullo [EMAIL PROTECTED] wrote:

 This is even easier to remember:
 
 # init q
 
 It's the same for 'kill -HUP 1'

well...not really.

init q is specific to init.

kill -HUP {pid}

is the standard unix way to tell {pid} to reload its configuration file. Most 
apps handle the HUP signal specifically.



_
{Beto|Norberto|Numard} Meijome

He has Van Gogh's ear for music.
  Billy Wilder

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDM at boot

2007-06-25 Thread Eric Crist

On Jun 25, 2007, at 7:39 PMJun 25, 2007, Cyrus wrote:

ive done this before with Slackware 11, but read up on freebsd on  
how to do

it, and its completley different.  How do I go about having KDM start
automaticly on boot?



Edit /etc/ttys and modify line 45 as follows:

ttyv8   /usr/local/bin/kdm   xterm  on secure

Save the file, reboot.  Of course, you need to have KDE installed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDM at boot

2007-06-25 Thread Tim Daneliuk
Eric Crist wrote:
 On Jun 25, 2007, at 7:39 PMJun 25, 2007, Cyrus wrote:
 
 ive done this before with Slackware 11, but read up on freebsd on how
 to do
 it, and its completley different.  How do I go about having KDM start
 automaticly on boot?

 
 Edit /etc/ttys and modify line 45 as follows:
 
 ttyv8   /usr/local/bin/kdm   xterm  on secure
 
 Save the file, reboot.  Of course, you need to have KDE installed.

Shouldn't have to reboot.  'kill -HUP 1'   should do it. If not,
'shutdown now', hit return,   followed by ^D will do it ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kdm restart and back into root shell from KDE

2006-04-15 Thread Paul Schmehl
--On April 15, 2006 12:58:02 PM +0200 Bram Kuijper [EMAIL PROTECTED] 
wrote:



Hi all,

I got two KDE-related newby questions:

1. How do I restart a KDE session after I changed some config files? In
Linux this is

/etc/init.d/kdm restart

But since there is no init.d on FreeBSD, I'm stuck.

Ctrl-Alt-Backspace restarts X and kdm.  I haven't tried it, but I suppose 
you could run /usr/local/bin/startkde and see what happens.  Or you could 
issue a command like this kill -HUP `cat /var/run/kdm.pid`.



2. Is there any way I can shutdown KDE and get back to a root shell? If I
choose 'log out' from KDE, I am still in the KDE environment and fixed to
choose another user to login again.


If all you need is a root shell, Ctrl-Alt-F1-F7 will get you all the root 
shells you'd ever need.


If you mean you want to kill the Xserver and not have it restart, kill 
-TERM `ps -auxw | grep X11R6/bin/X | grep -v grep | awk '{print $2}'` 
should do the trick.



If I choose 'shutdown KDE', it issues a shutdown command to shutdown my
PC, and that's also not what I want. I just want to shutdown KDE and get
back into a root shell. Think it's an easy thing to configure, but where?

btw, I'm running KDE 3.5.1 on FreeBSD 6.0.


So am I.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/

Re: kdm and fluxbox

2006-02-20 Thread RYAN vAN GINNEKEN

- Original Message -
From: Norberto Meijome [EMAIL PROTECTED]
To: RYAN M. vAN GINNEKEN [EMAIL PROTECTED]
Cc: Norberto Meijome [EMAIL PROTECTED],
freebsd-questions@freebsd.org
Sent: Sun Feb 19 19:12:03 2006
Subject: Re: kdm and fluxbox

RYAN M. vAN GINNEKEN wrote:
 Thanks to all and i will take your advice Norberto as i do not really
like kde that much anyway.  If i wanted window i would just install
windowsxp or maybe vista would be more like Kde any how i digress.  

 I am tiring to set up wdm and added this line to my /etc/ttys  

 ttyv8   /usr/X11R6/bin/wdm -nodaemon  xterm   on  secure

 followed the instructions below found on the fulxbox site but it does
not quite work

 http://fluxbox-wiki.org/index.php/Howto_add_fluxbox_to_wdm

 I get the wdm ok beasty is there, very cool backgound i might add,
seen it used in a theme somewhere. No matter what i pick for a windows
manager i get the stock Freebsd one wmaker i think? u know the one with
the terminal and green menu bars very vanilla.
green menu bars  = twm
wmaker = much better, check it out @ http://www.windowmaker.org
   An exception to this kde still works and failsafe gives me control
of the terminal window bottom right.

 Also i removed a bunch of managers out of the wdm-config file as i was
not using them like this.  

 DisplayManager*wdmWm:   wmaker:enlightenment:gnome:kde:fluxbox

 I still get failsafe and wmaker where do us suppose these come from.
Kde still works but not enlightenment gnome or flux box 

   

After editing the wdm-config, you need to restart wdm.
Ctrl-Alt-Backspace will kill the X server and re-read all the configs.

I did that

can you please post your wdm-config and a list of your package installed
? (or make them available online)

I have tried to attached them but my mail server is giving me grief with
attachment right now.

the relevant section in my config:
---
! It will run .xsession
!DisplayManager*wdmWm:   None
---
which means it will read .xsession in my home.
my .xsession is :

$ cat ~/.xsession
## RUNNING bbkeys from Blackbox because it feels more powerful
## to avoid conflicts with fluxbox's key mgr, I emptied .fluxbox/keys
bbkeys 
xscreensaver -no-splash 
fbpager -w 
#wmwifi 
sleep 1  gkrellm -w 
#fbdesk 
torsmo 
tilda 
skype 
gaim 
fluxbox
---

though I realise that I should be simply running startfluxbox and adding
all the other cmds to ~/.fluxbox/startup

I do not have an .xsession file in my home dir in fact i do not seem to
have an .xsession or an xsession file anywhere on my system just
Xsession see below

[EMAIL PROTECTED] find / -name xsession
[EMAIL PROTECTED] find / -name .xsession
[EMAIL PROTECTED] find / -name .Xsession
[EMAIL PROTECTED] find / -name Xsession
/usr/local/share/config/kdm/Xsession
/usr/X11R6/etc/gdm/Xsession
/usr/X11R6/lib/X11/xdm/Xsession
/usr/X11R6/lib/X11/wdm/Xsession


the contents of the wdm one is also attached

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

-- 
Computer King/CaNMail

http://www.computerking.ca http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S.
Barton 

ImageMagick-6.2.5.5 Image processing tools
ORBit-0.5.17_2  High-performance CORBA ORB with support for the C language
ORBit2-2.12.5_1 High-performance CORBA ORB with support for the C language
OpenEXR-1.2.2_1 A high dynamic-range (HDR) image file format
aalib-1.4.r5_1  An ascii art library
akode-2.0,1 Default KDE audio backend
akode-plugins-mpc-2.0,1 Musepack decoder plugin for akode
akode-plugins-mpeg-2.0,1 MPEG audio decoder plugin for akode
akode-plugins-oss-2.0,1 OSS output plugin for akode
akode-plugins-resampler-2.0,1 Resampler plugin for akode
akode-plugins-xiph-2.0,1 FLAC/Speex/Vorbis decoder plugin for akode
amspsfnt-1.0_3  AMSFonts PostScript Fonts (Adobe Type 1 format)
apache-ant-1.6.5_1  Java- and XML-based build tool, conceptually similar to mak
apr-db4-1.2.2_2 The Apache Group's Portability Library
arts-1.5.1,1Audio system for the KDE integrated X11 desktop
artswrapper-1.2.2   Setuid wrapper for arts
aspell-0.60.4_2 Spelling checker with better suggestion logic than ispell
at-spi-1.6.6_1  An Assistive Technology Service Provider Interface
atk-1.10.3  A GNOME accessibility toolkit (ATK)
autoconf-2.13.000227_5 Automatically configure source code on many Un*x 
platforms 
autoconf-2.59_2 Automatically configure source code on many Un*x platforms 
automake-1.4.6_2GNU Standards-compliant Makefile generator (1.4)
automake-1.9.6  GNU Standards-compliant Makefile generator (1.9)
bash-3.0.16_1   The GNU Project's Bourne Again SHell
bison-2.1_1

Re: kdm and fluxbox

2006-02-19 Thread Norberto Meijome
RYAN M. vAN GINNEKEN wrote:
 Thanks to all and i will take your advice Norberto as i do not really like 
 kde that much anyway.  If i wanted window i would just install windowsxp or 
 maybe vista would be more like Kde any how i digress.  

 I am tiring to set up wdm and added this line to my /etc/ttys  

 ttyv8   /usr/X11R6/bin/wdm -nodaemon  xterm   on  secure

 followed the instructions below found on the fulxbox site but it does not 
 quite work

 http://fluxbox-wiki.org/index.php/Howto_add_fluxbox_to_wdm

 I get the wdm ok beasty is there, very cool backgound i might add, seen it 
 used in a theme somewhere. No matter what i pick for a windows manager i get 
 the stock Freebsd one wmaker i think? u know the one with the terminal and 
 green menu bars very vanilla.
green menu bars  = twm
wmaker = much better, check it out @ http://www.windowmaker.org
   An exception to this kde still works and failsafe gives me control of the 
 terminal window bottom right.

 Also i removed a bunch of managers out of the wdm-config file as i was not 
 using them like this.  

 DisplayManager*wdmWm:   wmaker:enlightenment:gnome:kde:fluxbox

 I still get failsafe and wmaker where do us suppose these come from.  Kde 
 still works but not enlightenment gnome or flux box 

   

After editing the wdm-config, you need to restart wdm.
Ctrl-Alt-Backspace will kill the X server and re-read all the configs.

can you please post your wdm-config and a list of your package installed
? (or make them available online)

the relevant section in my config:
---
! It will run .xsession
!DisplayManager*wdmWm:   None
---
which means it will read .xsession in my home.
my .xsession is :

$ cat ~/.xsession
## RUNNING bbkeys from Blackbox because it feels more powerful
## to avoid conflicts with fluxbox's key mgr, I emptied .fluxbox/keys
bbkeys 
xscreensaver -no-splash 
fbpager -w 
#wmwifi 
sleep 1  gkrellm -w 
#fbdesk 
torsmo 
tilda 
skype 
gaim 
fluxbox
---

though I realise that I should be simply running startfluxbox and adding
all the other cmds to ~/.fluxbox/startup

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


Re: kdm and fluxbox

2006-02-16 Thread Norberto Meijome
RYAN M. vAN GINNEKEN wrote:
 usr/X11R6/lib/X11/xdm/Xsession 

   

notice this file is for XDM, not KDM. try searching in
/usr/X11R6/lib/X11/kdm :)

 WHERE IS KDM GETTING ITS SESSION INFO FROM AND HOW DO I TELL IT TO ADD FLUXBOX

   
not sure, probably from its config file. Or just set it to custom, and
use ~/.xsession to launch your stuff at will.

Just curious, why use kdm with all it's KDE dependencies, when you can
use xdm, or wdm (what I use).
Beto

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


Re: kdm and fluxbox

2006-02-16 Thread Mike Jeays
On Wed, 2006-02-15 at 22:35 -0700, RYAN M. vAN GINNEKEN wrote:
 I am tring to get kdm to log me into fluxbox i have followed the handbook to 
 the letter and can login to gnome kde and enlightnment also options for 
 defaut and failsafe and some others none of which i have tried yet.  However 
 flux box is not there and i cannot seem to find where kde is getting these 
 sessions from.  There does not seem to be any option in kcontrol for session 
 like mentioned in the freebsd handbook i did go into
 
 usr/X11R6/lib/X11/xdm/Xsession 
 
 and added some lines but nothing happened  
 
failsafe)
 exec /usr/X11R6/bin/xterm -geometry 80x24-0-0
 ;;
 kde)
 exec /usr/local/bin/startkde
 ;;
 GNOME)
 exec /usr/X11R6/bin/gnome-session
 ;;
 FluxBox)
 exec /usr/X11R6/bin/fluxbox
 ;;
 esac
 esac
 
 
 WHERE IS KDM GETTING ITS SESSION INFO FROM AND HOW DO I TELL IT TO ADD FLUXBOX
 
 

Look in /usr/local/share/config/kdm

-- 
Mike Jeays
http://ca.geocities.com/[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: kdm and fluxbox

2006-02-16 Thread Tijl Coosemans
On Thursday 16 February 2006 06:35, RYAN M. vAN GINNEKEN wrote:
 I am tring to get kdm to log me into fluxbox i have followed the
 handbook to the letter and can login to gnome kde and enlightnment
 also options for defaut and failsafe and some others none of which i
 have tried yet.  However flux box is not there and i cannot seem to
 find where kde is getting these sessions from.  There does not seem
 to be any option in kcontrol for session like mentioned in the
 freebsd handbook i did go into

 usr/X11R6/lib/X11/xdm/Xsession

 and added some lines but nothing happened

failsafe)
 exec /usr/X11R6/bin/xterm -geometry 80x24-0-0
 ;;
 kde)
 exec /usr/local/bin/startkde
 ;;
 GNOME)
 exec /usr/X11R6/bin/gnome-session
 ;;
 FluxBox)
 exec /usr/X11R6/bin/fluxbox
 ;;
 esac
 esac


 WHERE IS KDM GETTING ITS SESSION INFO FROM AND HOW DO I TELL IT TO
 ADD FLUXBOX

Normally you shouldn't have to touch any file at all, but I think 
there's an error in /usr/local/share/apps/kdm/sessions/fluxbox.desktop

In that file change lines 4-5 to

Exec=fluxbox
TryExec=fluxbox

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


Re: kdm and fluxbox

2006-02-16 Thread Mike Hernandez
  FluxBox)
  exec /usr/X11R6/bin/fluxbox
  ;;

I lost the original email so rather that misquote I'm not quoting
at all. Just thought I'd mention you should probably use the command
startfluxbox as opposed to fluxbox, to start your fluxbox session. 

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


Re: kdm and fluxbox

2006-02-16 Thread RYAN M. vAN GINNEKEN
Thanks to all and i will take your advice Norberto as i do not really like kde 
that much anyway.  If i wanted window i would just install windowsxp or maybe 
vista would be more like Kde any how i digress.  

I am tiring to set up wdm and added this line to my /etc/ttys  

ttyv8   /usr/X11R6/bin/wdm -nodaemon  xterm   on  secure

followed the instructions below found on the fulxbox site but it does not quite 
work

http://fluxbox-wiki.org/index.php/Howto_add_fluxbox_to_wdm

I get the wdm ok beasty is there, very cool backgound i might add, seen it used 
in a theme somewhere. No matter what i pick for a windows manager i get the 
stock Freebsd one wmaker i think? u know the one with the terminal and green 
menu bars very vanilla.  An exception to this kde still works and failsafe 
gives me control of the terminal window bottom right.

Also i removed a bunch of managers out of the wdm-config file as i was not 
using them like this.  

DisplayManager*wdmWm:   wmaker:enlightenment:gnome:kde:fluxbox

I still get failsafe and wmaker where do us suppose these come from.  Kde still 
works but not enlightenment gnome or flux box 

please help 

 
- Original Message -
From: Norberto Meijome [EMAIL PROTECTED]
To: RYAN M. vAN GINNEKEN [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, February 16, 2006 4:51:43 AM
Subject: Re: kdm and fluxbox

RYAN M. vAN GINNEKEN wrote:
 usr/X11R6/lib/X11/xdm/Xsession 

   

notice this file is for XDM, not KDM. try searching in
/usr/X11R6/lib/X11/kdm :)

 WHERE IS KDM GETTING ITS SESSION INFO FROM AND HOW DO I TELL IT TO ADD FLUXBOX

   
not sure, probably from its config file. Or just set it to custom, and
use ~/.xsession to launch your stuff at will.

Just curious, why use kdm with all it's KDE dependencies, when you can
use xdm, or wdm (what I use).
Beto

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

-- 
Computer King/CaNMail

http://www.computerking.ca http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S. Barton 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kdm problem

2005-05-03 Thread Lowell Gilbert
Ivailo Tanusheff [EMAIL PROTECTED] writes:

 I have problem running kdm on a FreeBSD 5.3 server.
 When I start the kdm, I receive following error in /var/log/messages:
 
 May  3 20:45:10 test kdm[567]: XDMCP socket creation failed, errno 43
 
 I was not able to find any answer searching with google, so I hope you can
 help me.
 Kdm is set for broadcasting, allowing everyone to establish a communication.

You aren't running at a raised securelevel, are you?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDM doesn't launch any WindowManager

2005-02-10 Thread Andrew L. Gould
On Thursday 10 February 2005 11:36 am, HuGo Herter wrote:
 Hello,
 I've just installed the last version of FreeBSD (5.3), after the
 reference, but I cannot launch any WindowManager using KDM : KDM
 closes and restart immediatly...
 I think that it's the same about XDM. But my Window Managers works
 using startx !

 I think it's because there is no X-configuration menu during the
 installation with sysinstall... But what's the name of the new tool ?

 Thanks

 Hugo

See the X Configuration section of the online manual:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

Best of luck,

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


Re: KDM doesn't launch any WindowManager

2005-02-10 Thread Lowell Gilbert
HuGo Herter [EMAIL PROTECTED] writes:

HuGo Herter [EMAIL PROTECTED] writes:

 Hello,
 I've just installed the last version of FreeBSD (5.3), after the
 reference, but I cannot launch any WindowManager using KDM : KDM
 closes and restart immediatly...
 I think that it's the same about XDM. But my Window Managers works
 using startx !

In that case, it's almost certainly a problem with your .xsession
file.  Is it different than your .xinitrc?

 I think it's because there is no X-configuration menu during the
 installation with sysinstall... But what's the name of the new tool ?

A lot of people don't need to configure X to have it just work.  
The tool you're looking for is xorgcfg or xorgconfig, but your 
configuration is probably fine if it works with startx.

-- 
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 [EMAIL PROTECTED]


Re: KDM, KDE 3.3 and xmodmap

2005-01-16 Thread Xian
On Saturday 15 January 2005 21:56, Maarten wrote:
Does anyone know how to configure KDM or KDE so that is uses xmodmap?

The configuration is pretty much out of the box, 5.3.

For some reason using custom from the KDM menu with .xsession:

#!/bin/sh
xmodmap -e 'keycode 203=F13'
exec startkde

Does start kde but ignores the xmodmap entry.

If i do 'sh .xsession' after login xmodmap is processed and I get a
message KDE is already running :-)

Thanks,

Maarten

I think KDM completely ignores ~/.xsession and ~/.xinit files out of the box. 
I don't know how to change this.

If you want to test your ~/.xsession and ~/.xinit files you can type

 startx -- :1

to start up another Xserver. Also I can't seem to find any logic to what uses 
~/.xsession and what uses ~/.xinit so I hard linked them to the same file.

-- 
/Xian

If you can stay calm, while all around you is chaos...then you probably 
haven't completely understood the seriousness of the situation
unknown author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDM problems on fresh install of 5.3

2004-12-24 Thread Michael L. Squires
A couple of problems that might cause this have been discussed recently in 
the freebsd-kde mailing list.  One of them involved not having the correct 
KDE startup files in /usr/local/share/config/kdm (where kdmrc lives, 
apparently) and another had to do with commands in the shell startup 
scripts failing (such as user .profile or system /etc/profile).  I've also 
seen this happen when a previous attempt to start X failed and left trash 
in the user's home directory and in the /tmp directory.

I think the command to create the kdm startup files is genkdmconf; 
however, there are no associated man pages with it but it should be 
documented on the kde.org Web site.

Mike Squires
On Fri, 24 Dec 2004, Peter McMahan wrote:
Hi,
I just installed FreeBSD 5.3 on a Dell Latitude, and
installation went without a hitch. While trying to
configure KDM for graphical login, though, I ran into
some problems.
startx works fine as both root and as a regular user.
However, when I run KDM and enter my username and
password all that loads is another instance of KDM.
This is very frustrating. The same issue occurs when I
try XDM, so I think the problem is with BSD and not
KDE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kdm refuses to allow non-root login to kde

2004-08-15 Thread Jonathan Chen
On Sun, Aug 15, 2004 at 12:05:00AM -0400, Tim Kellers wrote:
 
 I've been battling this on and off (mostly off) since April.
 
 If I put exec startkde in .xesession in a non-root folder and I enable xdm 
 in /etc/ttys, I can log into xorg's xdm and kde starts just fine -- even as a 
 non-root user.
 
 If I enable kdm in /etc/ttys, I get the kdm login screen, and if I login with 
 a non-root account, the display just stays at it's default background until I 
 kill it with CNTRL-ALT-BACKSPACE.  

Sounds like a DNS problem (yes, I know, why the heck does kdm want
with a DNS lookup - but there it is). If you put the output of
hostname(1) into /etc/hosts as an alias for 127.0.0.1 (localhost),
your problem _may_ go away.

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


Re: kdm refuses to allow non-root login to kde

2004-08-15 Thread Tim Kellers
On Sunday 15 August 2004 02:33 am, Jonathan Chen wrote:
 On Sun, Aug 15, 2004 at 12:05:00AM -0400, Tim Kellers wrote:
  I've been battling this on and off (mostly off) since April.
 
  If I put exec startkde in .xesession in a non-root folder and I enable
  xdm in /etc/ttys, I can log into xorg's xdm and kde starts just fine --
  even as a non-root user.
 
  If I enable kdm in /etc/ttys, I get the kdm login screen, and if I login
  with a non-root account, the display just stays at it's default
  background until I kill it with CNTRL-ALT-BACKSPACE.

 Sounds like a DNS problem (yes, I know, why the heck does kdm want
 with a DNS lookup - but there it is). If you put the output of
 hostname(1) into /etc/hosts as an alias for 127.0.0.1 (localhost),
 your problem _may_ go away.

 Cheers.

No Joy...

root still brings up the kde splash screen, everyone else sits frozen at the 
kde background screen.  xdm still works.  I'm at a complete loss how to 
explan this.

$vi /etc/hosts
127.0.0.1   www.smsdesign.org localhost
10.0.1.7www.smsdesign.org www
10.0.1.7www.smsdesign.org.
10.0.1.7mail.smsdesign.org  mail
10.0.1.7smsdesign.org.
128.235.112.11  eris.njit.edu   eris

I rebooted, too, just in case.
~


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


RE: kdm and startkde

2004-06-21 Thread Ruben Bloemgarten
Show us your ~/.xinit ! for kdm/xdm/gdm, - check your hostname. 
Try to run xdm, gdm and kdm manually and let us know if there is any
difference between them.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brett Wiggins
Sent: Thursday, June 17, 2004 8:50 AM
To: [EMAIL PROTECTED]
Subject: kdm and startkde

hello,
  I am having some problems with startkde and kdm. When I run 
startkde i get the following outpit;
  
 xset: unable to open dispaly 
 xsetroot: unable to open display ''
 startkde: starting up...
 ksplash cannot connect to X server
 kdeinit: Aborting. $DISPLAY is not set
 Warning: connect() failed: : no such file or directory
 ksmserver : cannot connect to X server
 startkde: shutting down
 Warning: connect() failed: : no such file or directory
 Error : Can't contact kdeinit!
 startkde: Running shutdown scripts
 startkde: done

When I run startx kde runs fine.
  
   When I edit /etc/ttys to enable a graphical login, kdm runs but 
nothing happens when I log in. The login screen is just reloaded. Any 
help would be great.

Brett 


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

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


Re: kdm and startkde

2004-06-20 Thread Jorn Argelo
Brett Wiggins wrote:
hello,
 I am having some problems with startkde and kdm. When I run 
startkde i get the following outpit;
 
xset: unable to open dispaly 
xsetroot: unable to open display ''
startkde: starting up...
ksplash cannot connect to X server
kdeinit: Aborting. $DISPLAY is not set
Warning: connect() failed: : no such file or directory
ksmserver : cannot connect to X server
startkde: shutting down
Warning: connect() failed: : no such file or directory
Error : Can't contact kdeinit!
startkde: Running shutdown scripts
startkde: done

When I run startx kde runs fine.
 

I thinks it's because startx launches X before it starts startkde, and 
startkde only attempts to launch KDE, which isn't going to work if there 
is no X server running.

 
  When I edit /etc/ttys to enable a graphical login, kdm runs but 
nothing happens when I log in. The login screen is just reloaded. Any 
help would be great.

 

What about XDM? Is that working? Is your /var/log/XFree86 giving you any 
useful output? (connection refused or something?)

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


Re: kdm questions

2004-06-18 Thread Andy Harrison
On Fri, 18 Jun 2004 23:10:07 +1000, Brett Wiggins
[EMAIL PROTECTED] wrote:
 
 hello (again),
   I am still having some problems with kdm, I have searched
 (again) the archives and the handbook. Below are the steps I took,
 files I edited during setup. After I installed the X window system and
 KDE I created the file ~/.xinitrc which contains;

I have nothing in my ~ dir like .xinitrc or any of that.

My /usr/X11R6/etc/rc.d/kdm.sh file contains...

#!/bin/sh
#

PREFIX=/usr/local

case $1 in
start)
${PREFIX}/bin/kdm 
;;
stop)
/usr/bin/killall -KILL -m kdm 
;;
*)
echo Usage: `basename $0` start | stop
exit 64
;;

esac

exit 0


At that point, kdm defaults take over and startkde ends up getting
executed from /usr/local/share/config/kdm/Xsession.

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


Re: kdm

2004-06-16 Thread Bill Moran
n3rdBoy . [EMAIL PROTECTED] wrote:
 hello,
 I am having some problems with kdm or kde. I have edited /etc/ttys 
 so that kdm starts when the machine boots. When I log in nothing happens, 
 the login screen is just reloaded. I get the same results when I log in 
 using the default and failsafe profiles. I have edited the following files 
 as per the freeBSD handbok;
   /usr/X11R6/lib/X11/xdm/Xsession.
   /usr/X11R6/lib/X11/xdm/Xsetup_0
   /etc/ttys/
 any help would be great.

Have you looked through the log files in /var/log to see if there is any
information as to what's going wrong?

If you disable KDM, are you able to start KDE by logging in and issuing
startx?

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kdm

2004-06-16 Thread Radu MOLNAR
I'm using using a script in /usr/local/etc/rc.d/ to start kdm and i have 
no problems with that.

Radu
On Wed, 16 Jun 2004, n3rdBoy . wrote:
hello,
  I am having some problems with kdm or kde. I have edited /etc/ttys so 
that kdm starts when the machine boots. When I log in nothing happens, the 
login screen is just reloaded. I get the same results when I log in using the 
default and failsafe profiles. I have edited the following files as per the 
freeBSD handbok;
/usr/X11R6/lib/X11/xdm/Xsession.
/usr/X11R6/lib/X11/xdm/Xsetup_0
/etc/ttys/
any help would be great.

thanks
Brett
_
Get a Virgin Credit Card and win an adventure: 
http://ad.doubleclick.net/clk;8661322;9498324;s?http://www.promo.com.au/virgincreditcard/firstbirthday/track.cfm?source=N92

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


RE: KDM always starts failsafe (Philip Payne)

2004-04-09 Thread Larry Hammer
Now, whenever I try to login to KDE it always starts the failsafe i.e. a
single xterm.

It doesn't matter what session type I select in KDM, I always get failsafe
so no KDE for me.

If I start KDE using startx and a .xinitrc with exec startkde everything
is fine and KDE starts. However, multiple users on the machine so having KDM
working would be good.

Any ideas what could be wrong?... if you need output from certain logs etc.
just let me know.

Thanks,
Phil.

--
I just upgraded too, and ran into similar problem I couldn't even get to 
failsafe from kdm
I turned off /etc/ttys tty8(kdm) and rebooted and started with startx and it 
came up from root
acct
I typed in kdm and got the same problemb so I restarted the x server and 
noticed a couple of warnings about not being able to find files 
Xreset Xsetup in /usr/local/share/config/kdm
when I looked the files that used to be there were not there or empty except 
for read me.
I deleted all files in this dir then from a consol I ran;
genkdmconf --help
genkdmconf --no-old
all works well now hope this helps

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


Re: Kdm at boot

2004-02-06 Thread Jeff Elkins
On Friday 06 February 2004 10:51 am, Edd Barrett wrote:
 What is the correct way of starting kdm at boot? I have tried echo
 /usr/local/bin/kdm  /etc/rc.local , but this causes the system to hang.
 kdm works fine if executed on a root shell. Someone told me to do a wait 5
  kdm, but i see this as a bodge.

 Thanks

In /etc/ttys I have:

ttyv8   /usr/local/bin/kdm -nodaemon  xterm   on  secure

Jeff


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


Re: Kdm at boot

2004-02-06 Thread Jorn Argelo
edit /etc/ttys, and change xdm to the appropiate kdm path.

Jorn

On Friday 06 February 2004 16:51, Edd Barrett wrote:
 What is the correct way of starting kdm at boot? I have tried echo
 /usr/local/bin/kdm  /etc/rc.local , but this causes the system to hang.
 kdm works fine if executed on a root shell. Someone told me to do a wait 5
  kdm, but i see this as a bodge.

 Thanks

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

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


Re: KDM and FreeBSD?

2003-10-03 Thread Alex de Kruijff
 Hey all,
 
 I'm a huge nut of the CLI, but my girlfriend is not.  I've gone through a 
 bunch of the documentation on 
 http://docs.kde.org/en/3.1/kdebase/kdm/Configuring-your-system-for-kdm.html 
 and have gotten as far as test whether I can run
 
 grog# kdm -nodeamon
 
 and I get a KDE login screen after a few breif seconds.  Now, how do I 
 implement this so that kdm initalizes at boot so my gf can use my FreeBSD 
 system without having to type what is, in her words, some arcane fucking 
 command from the old world of DOS.

Any script in /usr/local/etc/rc.d/ gets started at boot time. A script
usaly has a echo -n 'script name' that print a message at boot time.


-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: KDM and FreeBSD?

2003-10-03 Thread Chris
Change this in /etc/ttys file - reboot, live happy.

ttyv8  /usr/local/bin/kdmxterm   on  secure




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Alex de Kruijff
 Sent: Friday, October 03, 2003 7:38 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: KDM and FreeBSD?


  Hey all,
 
  I'm a huge nut of the CLI, but my girlfriend is not.  I've gone
 through a
  bunch of the documentation on
 
 http://docs.kde.org/en/3.1/kdebase/kdm/Configuring-your-system-for
-kdm.html
 and have gotten as far as test whether I can run

 grog# kdm -nodeamon

 and I get a KDE login screen after a few breif seconds.  Now, how do I
 implement this so that kdm initalizes at boot so my gf can use my FreeBSD
 system without having to type what is, in her words, some arcane fucking
 command from the old world of DOS.

Any script in /usr/local/etc/rc.d/ gets started at boot time. A script
usaly has a echo -n 'script name' that print a message at boot time.


--
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: KDM and FreeBSD?

2003-10-02 Thread Thierry Thomas
Le Ven  3 oct 03 à  0:31:43 +0200, Eric F Crist [EMAIL PROTECTED]
 écrivait :
 and I get a KDE login screen after a few breif seconds.  Now, how do I 
 implement this so that kdm initalizes at boot so my gf can use my FreeBSD 
 system without having to type what is, in her words, some arcane fucking 
 command from the old world of DOS.  I'm working on getting her to come to 
 the enlightened side, but all she reallys cares to do is surf joke web pages 
 and check her friggin' Hotmail account.

Edit the file /etc/ttys and put a line like this one:

ttyv8   /usr/local/bin/kdm -nodaemon  xterm   on  secure

Regards,
-- 
Th. Thomas.


pgp0.pgp
Description: PGP signature


RE: KDM and FreeBSD?

2003-10-02 Thread John Smith
Check chapter 5.7.3.1 of the FreeBSD Handbook.  kdm is relatively easy
to setup.  GDM's setup is more work or at least the method I found on
the net was.  Maybe there's an easier way.  I actually find GDM to be
more aesthetically appealing than kdm, even though I don't really like
Gnome's aesthetics.



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


RE: KDM won't start KDE

2003-08-23 Thread Ian Barnes
Hi,

Remove the -nodaemon string.

Ian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: 20 August 2003 04:12 PM
To: [EMAIL PROTECTED]
Subject: KDM won't start KDE


I just installed FreeBSD 4.8 on this machine and I set up kdm to run by
changing /etc/ttys to:

ttyv8 /usr/local/bin/kdm -nodaemon xterm on secure

When it boots I get:

login: ..time.. kdm[127]: Abnormal helper termination, code 0, signal
73

But KDM seems to start up fine and I get the login screen, but when I
login (as either root or a user) the login dialog disappears and I'm
left with the KDE background and the X cursor.  If I goto tty0 I now
have the message:

..time.. kdm[130]: no modules loaded for `kde' service

and in bot /var/log/XFree86.0.log and kdm.log it has this message
repeated about 4 times a second:

AUDIT: ..time..: 124 XFree86: client 2 rejected from local host

I searched on google for the above messages and found some discussion
about PAM problems.  I looked at pam.conf and noticed that xdm and gdm
were listed in there, but not kdm.  So I added an identical section for
kdm but it doesn't seem to have made any difference.

If I remove the kdm stuff from ttys and get a command line login I can
run startx and KDE comes up just fine.

Was there something else I needed to configure for KDM to run correctly?

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


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


Re: KDM screen capture

2003-08-11 Thread Alexander Pohoyda
Chris [EMAIL PROTECTED] writes:

 Is it possible to capture the screen while at the KDM login?
 If so - what application to use?

I would say that using a digital camera is the simplest solution.


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


Re: kdm on bootup

2003-06-27 Thread Benjamin Walkenhorst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, 27. June 2003 05:40, Chris wrote:
 Hiya -

   What file might I modify to enable kdm to start on bootup? And what might
 that line look like.

The file you have to change is /etc/ttys

The corresponding entry in my /etc/ttys looks like this:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure

So you probably just have to replace /usr/X11R6/bin/xdm -nodaemon with the 
path to kdm plus options you want to give.

Hope it helps,

Kind regards,

Benjamin

- -- 
Der Hoffnung beraubt sein,
 heißt noch nicht - verzweifeln.
(Albert Camus)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Public Key available at http://www.krylon.de

iD8DBQE++/3doYumWdMvhMQRAicGAJ4qf/nm5MFd/R1Iv8oKrSIn1umZxwCfbre8
+k1ofKlKwDoWbK61+U1leYc=
=iUnk
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kdm on bootup

2003-06-27 Thread Chris
On Friday 27 June 2003 03:18 am, Benjamin Walkenhorst wrote:
 On Friday, 27. June 2003 05:40, Chris wrote:
  Hiya -
 
  What file might I modify to enable kdm to start on bootup? And what
  might that line look like.

 The file you have to change is /etc/ttys

 The corresponding entry in my /etc/ttys looks like this:

 ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure

 So you probably just have to replace /usr/X11R6/bin/xdm -nodaemon with
 the path to kdm plus options you want to give.

Odd, on my 4.8 box - I did this. Didn't/dosn't work. Unless instead of just 
using tty8, I add that to 1 - 7 perhaps?


 Hope it helps,

 Kind regards,

 Benjamin

-- 

Best regards,
 Chris
__

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
   01010010011101100011011001010111001001011000


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


Re: kdm on bootup

2003-06-27 Thread Daniel Bye
On Fri, Jun 27, 2003 at 06:58:45AM -0500, Chris wrote:
 On Friday 27 June 2003 03:18 am, Benjamin Walkenhorst wrote:
  On Friday, 27. June 2003 05:40, Chris wrote:
   Hiya -
  
 What file might I modify to enable kdm to start on bootup? And what
   might that line look like.
 
  The file you have to change is /etc/ttys
 
  The corresponding entry in my /etc/ttys looks like this:
 
  ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure
 
  So you probably just have to replace /usr/X11R6/bin/xdm -nodaemon with
  the path to kdm plus options you want to give.
 
 Odd, on my 4.8 box - I did this. Didn't/dosn't work. Unless instead of just 
 using tty8, I add that to 1 - 7 perhaps?

No - did you also change off to on?  Tell your kernel to reread
/etc/ttys (among others):

 # kill -HUP 1

and, provided you got your command line right, {k,x}dm will start.
Your character terminals will still be available by hitting CTRL-ALT-Fn.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp0.pgp
Description: PGP signature


Re: kdm on bootup

2003-06-27 Thread Chris
Daniel Bye wrote:

On Fri, Jun 27, 2003 at 06:58:45AM -0500, Chris wrote:
 

On Friday 27 June 2003 03:18 am, Benjamin Walkenhorst wrote:
   

On Friday, 27. June 2003 05:40, Chris wrote:
 

Hiya -

	What file might I modify to enable kdm to start on bootup? And what
might that line look like.
   

The file you have to change is /etc/ttys

The corresponding entry in my /etc/ttys looks like this:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure

So you probably just have to replace /usr/X11R6/bin/xdm -nodaemon with
the path to kdm plus options you want to give.
 

Odd, on my 4.8 box - I did this. Didn't/dosn't work. Unless instead of just 
using tty8, I add that to 1 - 7 perhaps?
   

No - did you also change off to on?  Tell your kernel to reread
/etc/ttys (among others):
# kill -HUP 1
 

Ahhh, my bad,. I didn't set the off to on. Thanks much to all that 
offered me answers on this one.

Chris


and, provided you got your command line right, {k,x}dm will start.
Your character terminals will still be available by hitting CTRL-ALT-Fn.
Dan

 



--

Best regards,
Chris
__
PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
  01010010011101100011011001010111001001011000
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kdm on bootup

2003-06-27 Thread Benjamin Walkenhorst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, 27. June 2003 15:15, Chris wrote:

 The corresponding entry in my /etc/ttys looks like this:
 
 ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure

 No - did you also change off to on?  Tell your kernel to reread
 /etc/ttys (among others):

 Ahhh, my bad,. I didn't set the off to on. Thanks much to all that
 offered me answers on this one.

Uh, that was my bad as well. ;-/ I wonder why my entry in /etc/ttys was set
to off (h, it really makes me wonder...).
What makes me wonder is that xdm *does* start up correctly on my machine... I
can only think of Linux having problems reading UFS-partitions, but I cannot
really imagine Linux coming up with such *weird* read-errors...

Well, I'm glad your problem is solved now,

Kind regards,

Benjamin

- --
Der Hoffnung beraubt sein,
 heißt noch nicht - verzweifeln.
(Albert Camus)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Public Key available at http://www.krylon.de

iD8DBQE+/FpioYumWdMvhMQRAkvaAJwP5EnGM+pKqp+wHd+OdYbx3P7+WQCcCIeg
XauMk53AyIYrikvX2BSMiXE=
=R7DI
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kdm on bootup

2003-06-27 Thread Malcolm Kay
On Fri, 27 Jun 2003 21:28, Chris wrote:
 On Friday 27 June 2003 03:18 am, Benjamin Walkenhorst wrote:
  On Friday, 27. June 2003 05:40, Chris wrote:
   Hiya -
  
 What file might I modify to enable kdm to start on bootup? And what
   might that line look like.
 
  The file you have to change is /etc/ttys
 
  The corresponding entry in my /etc/ttys looks like this:
 
  ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure
 
  So you probably just have to replace /usr/X11R6/bin/xdm -nodaemon with
  the path to kdm plus options you want to give.

And change the 'off' to 'on'


 Odd, on my 4.8 box - I did this. Didn't/dosn't work. Unless instead of just
 using tty8, I add that to 1 - 7 perhaps?


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


Re: KDM

2002-07-16 Thread Jonathan Chen

On Wed, Jul 17, 2002 at 11:29:58AM +0530, Akthar Hussain wrote:
 Hi ,
 
 I am  unable to start KDM in my Freebsd 4.5 as normal user.
 the /var/log/kdm.log error reports that Only root wants to run KDM
 
 
 Any one can let me know what I have to do , to run kdm as ordinary users.

You can't run kdm as a normal user. It must run as root. Once you've
got kdm running, you can _LOG_ _IN_ as a normal user. To get kdm
running, you can have a startup script, or tweak the entry for ttyv8
in /etc/ttys
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Build a man a fire, and he'll be warm for a day.
Set a man on fire, and he'll be warm for the rest of his life.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message