This: http://sdb.suse.de/en/sdb/html/js_xconsole.html does not help at all. The qustion remains. How can I get xconsole in 8.1 pro ?
SGZ> This: SGZ> http://sdb.suse.de/en/sdb/html/js_xconsole.html SGZ> does not help at all. SGZ> The qustion remains. How can I get xconsole in 8.1 pro ? The above sdb entry refers to /usr/lib/X11/xdm/Xsetup but there is also a Xsetup in /etc/X11/xdm in the 8.1 distribution. Go to the very bottom of /etc/X11/xdm/Xsetup. Good Luck. -- __________________________ DJ mailto: linux_programmer@hotmail.com
* SuSE Ground Zero <suse@aspec.ro> [12-07-02 11:47]:
In /etc/X11/xdm/Xsetup change line 154, /sbin/checkproc -p /var/run/kdm.pid /opt/kde3/bin/kdm && exit 0 to, ### /sbin/checkproc -p /var/run/kdm.pid /opt/kde3/bin/kdm && exit 0 Should get xconsole for you. Did you not read anything in Xsetup that you were editing? It has a header above the line quoted that states: # # Do not start xconsole for kdm # This is an information comment, not a commented_out shell direction. -- Patrick Shanahan Registered Linux User #207535 @ http://counter.li.org icq#173753138
On Saturday 07 December 2002 5:13 pm, SuSEnixER wrote:
Nup. Been there, tried that, doesn't work, although once kde has started you _can_ get the xconsole running by launching it from the command line (using a command like the lines near the bottom of /etc/X11/xdm/Ssetup) but you have to set xhost +localhost first. It all got too messy for me so now I've just got an xterm launched from kde's autostart and running tail -f -n50 /var/log/warn. That's good enough for me 'cause all I really want to do is keep an eye on the naughty network scanners. Sometime I'm going to fire up a proper log analyser to give me the basic info (time, from who, what port) in a more readable form, does anyone have any suggestions about what I could use? -- Pam R: <Yet another cute tag line> Linux StepbyStep: http://www.linux-sxs.org/stepbystep.html
* Pam R <pamroberts@blueyonder.co.uk> [12-07-02 13:01]:
You do realize that you must restart X for this to work ?? -- Patrick Shanahan Registered Linux User #207535 @ http://counter.li.org icq#173753138
On Saturday 07 December 2002 6:39 pm, SuSEnixER wrote:
Yup. -- Pam R: <Yet another cute tag line> Linux StepbyStep: http://www.linux-sxs.org/stepbystep.html
----- Original Message ----- From: "SuSEnixER" <WideGlide@MyRealBox.com> To: <suse-linux-e@suse.com> Sent: Saturday, December 07, 2002 7:39 PM Subject: Re: [SLE] Xconsole in 8.1 ?
No it is not necessary. I want to solve the problem for a few weeks, and decided yesterday to make something and happened to find the following solution. In your home directory (for instance) write a script called (for instance) xconsole : #!/bin/sh # /usr/X11R6/bin/xhost +localhost /usr/X11R6/bin/xconsole -file /dev/xconsole -daemon -iconic (see note) In the directory ~/.kde/Autostart set a link to the previous script. xconsole starts at each login and not once over two as previously with suse. Note : the option -file /dev/xconsole is necessary or you'll have to be root for xconsole to log. It works in my box. Good luck. Catimimi.
On Sunday 08 December 2002 09:57, Catimimi wrote:
Yes, that works fine for me (8.1/kde). Thank you. -- Pam R: <Yet another cute tag line> Linux StepbyStep: http://www.linux-sxs.org/stepbystep.html
----- Original Message ----- From: "Pam R" <pamroberts@blueyonder.co.uk> To: <suse-linux-e@suse.com> Sent: Sunday, December 08, 2002 1:53 PM Subject: Re: [SLE] Xconsole in 8.1 [SOLVED]? On Sunday 08 December 2002 09:57, Catimimi wrote:
Yes, that works fine for me (8.1/kde). Thank you. One small problem remains, if you logout then login the console appears as xconsole 2. I have to run killall xconsole before leaving kde. In order to do that I modified ksmserver as I did for 8.0 in order to solve the problem of xconsole running once over two. In this modification I included a test in order not to logout while vmware is running. Catimimi. Pam R: <Yet another cute tag line> Linux StepbyStep: http://www.linux-sxs.org/stepbystep.html -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sunday 08 December 2002 13:41, Catimimi wrote:
Could you please share your modifications? -- Pam R: <Yet another cute tag line> Linux StepbyStep: http://www.linux-sxs.org/stepbystep.html
----- Original Message ----- From: "Pam R" <pamroberts@blueyonder.co.uk> To: <suse-linux-e@suse.com> Sent: Sunday, December 08, 2002 6:17 PM Subject: Re: [SLE] Xconsole in 8.1 [SOLVED]? On Sunday 08 December 2002 13:41, Catimimi wrote:
Could you please share your modifications? No problem, you'll find 2 files enclosed. Catimimi. THIS MESSAGE SENT TO THE GROUP WAS TOO LONG (62 ko) TO BE ACCEPTED. TELL ME IF YOU WANT THE FILES. Catimimi. -- Pam R: <Yet another cute tag line> Linux StepbyStep: http://www.linux-sxs.org/stepbystep.html -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
C> #!/bin/sh C> # C> /usr/X11R6/bin/xhost +localhost C> /usr/X11R6/bin/xconsole -file /dev/xconsole -daemon -iconic (see note) C> In the directory ~/.kde/Autostart C> set a link to the previous script. C> xconsole starts at each login and not once over two as previously with suse. C> Note : the option -file /dev/xconsole is necessary or you'll have to be root C> for xconsole to log. C> It works in my box.
...
For educational purposes, was this documented some place? If so, where? It would be very beneficial for future reference to know this info. If not, how did you know to do this? I looked in my /home directory for hidden files, and there are --- hhhmmmm --- a lot. I don't know offhand what each does though. Thank you. -- __________________________ DJ mailto: linux_programmer@hotmail.com
----- Original Message ----- From: "DJ" <linux_programmer@hotmail.com> To: "suse-linux-e" <suse-linux-e@suse.com> Sent: Sunday, December 08, 2002 5:21 PM Subject: Re: [SLE] Xconsole in 8.1 ?
Unfortunately it is not documented
The use of Autostart is documented in the SuSE database. After that I had to perform a lot of trials before success. Catimimi.
The 02.12.07 at 17:59, Pam R wrote:
It all got too messy for me so now I've just got an xterm launched from kde's autostart and running tail -f -n50 /var/log/warn.
I would use tailf instead. There is also "xtail", but unfotunately (for me) the menu is in german. There is no man/info page, and the README is also in german. If some one here would be so kind to translate at least the menu :-? Datei Öffnen Ende End - this one I know :-) Bearbeiten Löschen Info -- Cheers, Carlos Robinson
if I wouldn't already tried that I wasn't posting in here ... So.. Allready tried that in both xsetup files /usr/lib/X11/xdm/Xsetup and /etc/X11/xdm/Xsetup ... does not work !!! Other ideeas ?
On Monday 09 December 2002 10.04, SuSE Ground Zero wrote:
Why would you expect them to? I've pointed out innumerable times on this list that kdm doesn't use those files. It uses its own set of config files. Try searching the archives for this list on marc.theaimsgroup.com Oh, and /usr/lib/X11/xdm is a symlink to /etc/X11/xdm
----- Original Message ----- From: "Anders Johansson" <andjoh@rydsbo.net> To: <suse-linux-e@suse.com> Sent: Tuesday, December 10, 2002 5:14 PM Subject: Re: [SLE] Xconsole in 8.1 ? list
and the problem was marked as SOLVED last sunday. if you really want to look at the startup files go to /opt/kde3/bin/startkde Catimimi.
On Tuesday 10 December 2002 17.29, Catimimi wrote:
and the problem was marked as SOLVED last sunday.
It should have been marked WORKED AROUND
if you really want to look at the startup files go to /opt/kde3/bin/startkde
/opt/kde3/share/config/kdm/kdmrc has the details on which config files and startup files kdm uses
SGZ> This: SGZ> http://sdb.suse.de/en/sdb/html/js_xconsole.html SGZ> does not help at all. SGZ> The qustion remains. How can I get xconsole in 8.1 pro ? The above sdb entry refers to /usr/lib/X11/xdm/Xsetup but there is also a Xsetup in /etc/X11/xdm in the 8.1 distribution. Go to the very bottom of /etc/X11/xdm/Xsetup. Good Luck. -- __________________________ DJ mailto: linux_programmer@hotmail.com
* SuSE Ground Zero <suse@aspec.ro> [12-07-02 11:47]:
In /etc/X11/xdm/Xsetup change line 154, /sbin/checkproc -p /var/run/kdm.pid /opt/kde3/bin/kdm && exit 0 to, ### /sbin/checkproc -p /var/run/kdm.pid /opt/kde3/bin/kdm && exit 0 Should get xconsole for you. Did you not read anything in Xsetup that you were editing? It has a header above the line quoted that states: # # Do not start xconsole for kdm # This is an information comment, not a commented_out shell direction. -- Patrick Shanahan Registered Linux User #207535 @ http://counter.li.org icq#173753138
On Saturday 07 December 2002 5:13 pm, SuSEnixER wrote:
Nup. Been there, tried that, doesn't work, although once kde has started you _can_ get the xconsole running by launching it from the command line (using a command like the lines near the bottom of /etc/X11/xdm/Ssetup) but you have to set xhost +localhost first. It all got too messy for me so now I've just got an xterm launched from kde's autostart and running tail -f -n50 /var/log/warn. That's good enough for me 'cause all I really want to do is keep an eye on the naughty network scanners. Sometime I'm going to fire up a proper log analyser to give me the basic info (time, from who, what port) in a more readable form, does anyone have any suggestions about what I could use? -- Pam R: <Yet another cute tag line> Linux StepbyStep: http://www.linux-sxs.org/stepbystep.html
* Pam R <pamroberts@blueyonder.co.uk> [12-07-02 13:01]:
You do realize that you must restart X for this to work ?? -- Patrick Shanahan Registered Linux User #207535 @ http://counter.li.org icq#173753138
On Saturday 07 December 2002 6:39 pm, SuSEnixER wrote:
Yup. -- Pam R: <Yet another cute tag line> Linux StepbyStep: http://www.linux-sxs.org/stepbystep.html
participants (8)
-
Anders Johansson
-
Carlos E. R.
-
Catimimi
-
DJ
-
Ole Kofoed Hansen
-
Pam R
-
SuSE Ground Zero
-
SuSEnixER