Re: xconsole problem

1999-11-21 Thread Ethan Benson

On 20/11/99 Brian Servis wrote:


I fixed it by adding my user to the adm group. I don't know the
reasononing behind having xconsole as group adm though.  It is the
only device in /dev with that group ownership.  Remember that passwords
and other private info can be put on the logs so don't make it world
readable.


normally xconsole is run as root so everyone can see what goes into 
/dev/xconsole anyway.  I shut this off because I think its a bad idea.


/etc/X11/xdm/xdm.options comment out the line `run-xconsole'

same way for wdm just subsitute xdm for wdm.

I do think that letting users see certain messages is a good thing, 
such as kernel messages about media errors on a device, say the 
CDROM, but what is being tossed into /dev/xconsole for everyone to 
see though the root owned xconsole process (very bad! don't run stuff 
like that as root!) is way too much.  IMParanoidO anyway.




Best Regards,
Ethan Benson
To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/


Re: xconsole problem

1999-11-20 Thread Brian Servis
*- On 20 Nov, Chia-Sheng Chang wrote about xconsole problem
 Hi, all,
   I run xdm on my computer but every time I login, xconsole always
 responses can not open console. How to solve this?? 
 

% ls -l /dev/xconsole 
   0 prw-r-1 root adm 0 Nov 20 08:30 /dev/xconsole|

I fixed it by adding my user to the adm group. I don't know the
reasononing behind having xconsole as group adm though.  It is the
only device in /dev with that group ownership.  Remember that passwords
and other private info can be put on the logs so don't make it world
readable.

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: xconsole problem

1997-03-27 Thread Syrus Nemat-Nasser
On Wed, 26 Mar 1997, Ken Gaugler wrote:

 Still cannot seem to get xconsole to work properly.  Appreciate any
 suggestions anyone can offer.
 
 I use xdm, which gives the usual login screen.  There is also
 usually a blank window at the lower right side of the screen on
 the xdm login screen.  This is not normal, I don't think.
 
 When I actually log in, the xclock, xcal and a couple of xterms
 start up, as well as a xconsole window.  These are all specified
 in my .xsession.  The line in my .xsession that invokes xconsole is:
 
   xconsole -exitOnFail -g 490x200-20-50 
 
 A second or so after the xconsole window opens, it minimizes to an
 icon.
 
 There is no information in the xconsole window.  If I use the
 command 'xconsole ' I get another xconsole window, with the
 message
 
   Couldn't open console
 
 in it.  Does any of this make sense?  What should I be looking
 for to get this working?

It makes sense.  You need to give the -file option to xconsole.  Try 
something like this:

xconsole -file /dev/xconsole -geometry 864x85+156+663 -daemon 
-notify  -exitOnFail -fn fixed 

(all on one line)


Syrus.

-- 

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Syrus Nemat-Nasser [EMAIL PROTECTED]UCSD Physics Dept.



RE: xconsole problem

1996-12-30 Thread Karl M. Hegbloom
 Nathan == Nathan L Cutler [EMAIL PROTECTED] writes:

Nathan When I run 'xconsole' as a non-root user, I get the
Nathan following message (inside the xconsole window):
[...]
Nathan Anybody have any idea what to do with this conundrum?

8-8
$ ls -l /dev/xconsole
prw-rw-rw-   1 root root0 Dec 30 08:13 /dev/xconsole
8-8

(clipped from /etc/syslog.conf):
8-8
# The named pipe /dev/xconsole is for the `xconsole' utility.  To use it,
# you must invoke `xconsole' with the `-file' option:
# 
#$ xconsole -file /dev/xconsole [...]
local2.*;auth.*;daemon.*;mail.*;news.crit;news.err;news.notice;*.=debug;*.=info;*.=notice;*.=warn;cron.none
 |/dev/xconsole
8-8

... Does that help?

   __ _Karl M. Hegbloom [EMAIL PROTECTED]
  / /(_)_ __  _   ___  __  http://www.inetarena.com/~karlheg
 / / | | '_ \| | | \ \/ /  Portland, OR, USA
/ /__| | | | | |_| | Proudly running Linux 2.0.27 transname
\/_|_| |_|\__,_/_/\_\ and Debian GNU public software!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]