Re: [Cooker] Init for vi.
So sprach James, Rick am Sat, Mar 10, 2001 at 11:35:14AM -0600: > Hello Cookers, > > Please forgive me if this is a newbie question but I know I'll get > the right answer here. I want to add a few lines to .bashrc that go > something like this: > > if [ current display=X11 ]; then > alias vi='gvim' > fi > > What's the correct syntax for inside the brackets? if [ "x$DISPLAY" != "x" ]; then alias vi=gvim fi DISPLAY will only be set if you're in X. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die guenstige Art an Linux Distributionen zu kommen Uptime: 6 days 17 hours 56 minutes
[Cooker] Mdk-8.0Beta Install Report (10/03/2001)
Hi all, I've tried yesterday to install the latest beta version, after mirroring from ftp.ciril.ir. So, an "hd-install". Installation would be perfect except that 1. Trying to install "/" onto a SOFTWARE-RAID-1 partition, just saying "ok" to DiskDrake, I'm prompted with "An error occurred: unknown device (md0)". I tried to build the raid after installation and it's ok, so I guess it's an installer's problem not a kernel problem... For the rest, during installation, it is all very nice and functional. I had some troubles using the beta anyway> 2. Fonts in KDE are broken (qt-2.3 problems?) 3. Cdrecord is OK, but simple user cannot use xcdroast, even adding his login name in cdwiters group and chowning root.cdwriters the xcdroast binari: [claudio@localhost claudio]$ /usr/bin/xcdroast ** WARNING **: X-CD-Roast does not seem to have the correct permissions set ** WARNING **: So do as root something like that: (and read the Manual) chown root:cdwrite /usr/bin/xcdroast; chmod 2755 /usr/bin/xcdroast 4. Please **DO NOT** use supermount by default!!! 5. Trying "df" as as user, it need 30 seconds because it searches even for floppy and/or cdrom that are EMPTY! (maybe a related supermount problem...) 6. The new lilo is wonderful, but I cannot see the way to pass him any command line like "linux init 1" during the bootup stage! 7. gcombust should require cdlabelgen to be completely functional... 8. I use 2 (TWO) hard disk for my raid, and I have two swap partitions. Installer should detect both of them and add them in fstab, possibly with "pri=1" option if raid system is detected... but it's just a dream of mine og course :~) AND NOW... POSITIVE REMARKS! 1. ppp if perfectly working. Maybe an impression but the new kernel is a miracle! 2 kvirc correctly works... strange, it's usually the last application that I can use! ;-P 3. The hd's speed is something never seen!!! [root@localhost RPMS]# hdparm -tT /dev/md0 /dev/md0: Timing buffer-cache reads: 128 MB in 0.84 seconds =152.38 MB/sec Timing buffered disk reads: 64 MB in 2.04 seconds = 31.37 MB/sec 4. Nautilus is wonderfu ;o) 5. Evolutions is GREAT... it will change M$Outlook in a stupid game ;P Thanks for the great job you're making, Claudio
Re: [Cooker] confused... lilo and grub
So sprach Andrej Borsenkow am Sat, Mar 10, 2001 at 09:44:45PM +0300: > could learn it - but my question was, why? if lilo does everything I need > currently. I like grub more, because it does not require me to run it again when a new kernel is installed. Further, it has a nice boot menu that is able to parse filesystems, so that I can change the boot commands in the boot menu (granted, I haven't looked at a current lilo. But why should I? grub does everything i want). > Sorry, do not take it as flame war. Grub may be as good or even better, > but I never needed to even do man lilo - because /etc/lilo.conf was there. If I'm not totally mistaken, /boot/grub/install.sh was there after the install as well. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die guenstige Art an Linux Distributionen zu kommen Uptime: 6 days 17 hours 48 minutes
[Cooker] how to setup
- Original Message - From: "e70" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 10, 2001 4:39 PM Subject: Re: [Cooker] Nautilus needs to be rebuilt > can boot linux whit my packard bell some can help me?? > - Original Message - > From: "Alexander Skwar" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, March 10, 2001 4:16 PM > Subject: Re: [Cooker] Nautilus needs to be rebuilt > > > > So sprach Alexander 'Digital Projects' Skwar am Sat, Mar 10, 2001 at > 10:35:24AM +0100: > > > What can cause such error messages? > > > > Whatever it was, it's gone now. I've deleted most parts of ~/.gnome and > > other not so important (read: irritating) config file leftovers, and now > > it's running good. > > I'm running my nautilus version that I've just announced here and it is > > *WAY* faster than the 0.8.2 that ships with Mandrake. It really has a > > tremendous performance boost. > > > > Alexander Skwar > > -- > > How to quote: http://learn.to/quote (german) http://quote.6x.to (english) > > Homepage: http://www.digitalprojects.com | http://www.iso-top.de > >iso-top.de - Die guenstige Art an Linux Distributionen zu kommen > > Uptime: 5 days 22 hours 48 minutes > > > > >
Re: [Cooker] ssh X11 forwarding broken
Peter, > If "export XAUTHORITY=$HOME/.Xauthority" is commented, you won't be able > to run Moorhuhn, for example, or any program like fwin (Win4Lin > fullscreen), that uses another display, accessed by F8. OK... can't this be fixed within fwin? Maybe make a wrapper for the app so these things get set when it's running? I don't think it's right that one app can demand such changes to be made, which break general functionality --> make the distro incompatible (in my opinion). Stefan
RE: [Cooker] kernel config stored ?
> Hi, > > I installed a cooker about a week ago, and I have noticed that there was > no /proc/config, neither was there /boot/*config*. > > Please include /proc/config or at least /boot/vmlinuz-2.4.x-XXmdk.config > Default conifg is installed into /usr/share/doc/kernel-2.x.y.XXX (not confusing with kernel-doc-xxx). Last time I checked it was there. -andrej
Re: [Cooker] ssh X11 forwarding broken
> The correct way to disable X forwarding is to use the ssh config files (or > the -x / -X options). The /etc/skel/.bashrc line mentioned above is just > a bug in 7.2, which I understand has now been fixed. Hmmm... I still see it on my cooker system --> I had to comment out the "export Xauthority"... Stefan
Re: [Cooker] ssh X11 forwarding broken
andre wrote: > > > > > For the moment X11 forwarding through ssh doesn't work on the Mandrake > > distro. I was trying to get this working on my boxen when I noticed the > > following on http://www.openssh.com/faq.html#2.6 : > > > > > > > > NOTE: For users of Linux Mandrake 7.2, Mandrake modifies the XAUTHORITY > > environment variable in /etc/skel/.bashrc, and thus any bash user's home > > directory. This > > variable is set by OpenSSH and for either of the above options to work, > > you need to comment out the line: > > > > # export XAUTHORITY=$HOME/.Xauthority > > > > > > It all boils down to /etc/profile.d/xhost.sh and xhost.csh. Is this > > XAUTHORITY environment setting really needed here, since it will > > overrule the XAUTHORITY environment setting made by ssh --> screws the > > X11 forwarding over ssh... > I think this is the right way. Although it's maybe not what's expected. SSH > is used more and more. Not only just as a fancy telnet but also for things > like CVS access. In that case you don't need X forwarding and it would just > open a security hole. Well, I would prefer that user tunnel their X11 traffic over ssh instead of setting up their DISPLAby themselves. Using X11 is / could be considered to be a security risk (especially with win32 X-servers), tunneling the X applications over ssh should only make the situation better, not worse. > But i understand why one wants to have X forwarding with ssh because it is > just handy. Yup... you ssh into a box and then you can just start applications and they will show up on your display. Very nice. > So i suggest to have sshx what is the ssh with X forwarding enabled. hmmm... on the client side you could do that, how about the sshd? Wouldn't we be making things more complicated? Anyway, with the "export XAUTHORITY=$HOME/.Xauthority" still there it won't work ;-) Stefan
[Cooker] kernel config stored ?
Hi, I installed a cooker about a week ago, and I have noticed that there was no /proc/config, neither was there /boot/*config*. Please include /proc/config or at least /boot/vmlinuz-2.4.x-XXmdk.config Thanks, Jan -- -- Gospel of Jesus is the saving power of God for all who believe -- ## To some, nothing is impossible. ## http://Honza.Vicherek.com/
[Cooker] cooker: bash2/readline: vi mode: problem: ESC k $ r X
Hi, I don't know what's wrong with bash2/readline, but after "set -o vi", doing ESC k $ r X, which is supposed to *replace* last character of previous cmd line with character X, it *inserts* X. What has gone wrong ? (rpm -qi mandrake-release says 8.0-0.1mdk, build date 2001-02-07 09:23:13AM EST) Thanx, Jan -- -- Gospel of Jesus is the saving power of God for all who believe -- ## To some, nothing is impossible. ## http://Honza.Vicherek.com/
Re: [Cooker] ssh X11 forwarding broken
On Sun, 11 Mar 2001, andre wrote: > > For the moment X11 forwarding through ssh doesn't work on the Mandrake > > distro. I was trying to get this working on my boxen when I noticed the > > following on http://www.openssh.com/faq.html#2.6 : > > > > NOTE: For users of Linux Mandrake 7.2, Mandrake modifies the XAUTHORITY > > environment variable in /etc/skel/.bashrc, and thus any bash user's home > > directory. This > > variable is set by OpenSSH and for either of the above options to work, > > you need to comment out the line: > > # export XAUTHORITY=$HOME/.Xauthority > > > > It all boils down to /etc/profile.d/xhost.sh and xhost.csh. Is this > > XAUTHORITY environment setting really needed here, since it will > > overrule the XAUTHORITY environment setting made by ssh --> screws the > > X11 forwarding over ssh... > I think this is the right way. Although it's maybe not what's > expected. SSH is used more and more. Not only just as a fancy telnet > but also for things like CVS access. In that case you don't need X > forwarding and it would just open a security hole. But i understand > why one wants to have X forwarding with ssh because it is just handy. > So i suggest to have sshx what is the ssh with X forwarding enabled. The correct way to disable X forwarding is to use the ssh config files (or the -x / -X options). The /etc/skel/.bashrc line mentioned above is just a bug in 7.2, which I understand has now been fixed. Michael
Re: [Cooker] kicq and kaim in cooker
I'm one of the developers. I won't be producing a rpm for Mandrake until this version is released. Which probably won't be until after the cooker releases. On Sat, Mar 10, 2001 at 09:16:36PM -0500, Salane King wrote: > Is anyone planning to port kaim and kicq in cooker. I have been trying to > keep them up by cvs and compiling them but in kicq I now get strange errors > doing make. here is the last compile command with errors can any one help? > > /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. > -I/usr/local/include -I/usr/include -I/usr/lib/qt2/include > -I/usr/X11R6/include -I../../kicq -I../../kicq/chat -I../../kicq/contactlist > -I../../kicq/dialogs -I../../kicq/filetransfer -I../../kicq/history > -I../../kicq/info -I../../kicq/messageurl -I../../kicq/mydetails > -I../../kicq/preferences -I../../kicq/registration -I../../kicq/search > -I../../kicq/utils -I../../kicq/main -I../../kicq/icqlib -DQT_NO_ASCII_CAST > -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith > -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -c > mainconfig.cpp > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/include > -I/usr/lib/qt2/include -I/usr/X11R6/include -I../../kicq -I../../kicq/chat > -I../../kicq/contactlist -I../../kicq/dialogs -I../../kicq/filetransfer > -I../../kicq/history -I../../kicq/info -I../../kicq/messageurl > -I../../kicq/mydetails -I../../kicq/preferences -I../../kicq/registration > -I../../kicq/search -I../../kicq/utils -I../../kicq/main -I../../kicq/icqlib > -DQT_NO_ASCII_CAST -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W > -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long > -fno-builtin -Wp,-MD,.deps/mainconfig.pp -c mainconfig.cpp -fPIC -DPIC -o > .libs/mainconfig.o > In file included from /usr/lib/qt2/include/qwindowdefs.h:48, > from /usr/lib/qt2/include/qobject.h:43, > from /usr/include/kconfigbase.h:27, > from /usr/include/kconfig.h:29, > from /usr/include/ksimpleconfig.h:25, > from mainconfig.cpp:88: > /usr/include/limits.h:124:3: warning: #include_next is a GCC extension > mainconfig.cpp: In method `icqStatus MainWindow::loadConfig ()': > mainconfig.cpp:157: `icq_Russian' undeclared (first use this function) > mainconfig.cpp:157: (Each undeclared identifier is reported only once > for each function it appears in.) > mainconfig.cpp: In method `QString MainWindow::encryptStr (QString)': > mainconfig.cpp:401: warning: unused variable `unsigned int val' > make[3]: *** [mainconfig.lo] Error 1 > make[3]: Leaving directory `/home/salane/kicq/kicq/main' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/salane/kicq/kicq' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/salane/kicq' > make: *** [all-recursive-am] Error 2 > -- > Message sent from Linux-Mandrake 8.0 (Cooker) > Salane > icq# 324306 > -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org Pool is a game of racism for it is the white ball eliminating all the other races off the green felt earth.