Re: X not working after apt-get upgrade on sid
Sven Joachim writes: > On 2015-10-09 22:24 +0200, James Richardson wrote: > >> I just did an apt-get upgrade, rebooted, then X would start but without >> any keyboard or mouse. >> [snip] > > Actually, if you were running systemd, logind would grant access to the > input devices. Since this is apparently not what you want, your best > bet is probably to install the xserver-xorg-legacy package which now > contains the setuid wrapper. > I will look at xserver-xorg-legacy. > Adding users to the input group is not recommended, since you don't want > users who are logged in remotely via SSH to snoop on your keyboard. > Good point. -- James
Re: make system boot straight to browser connection
Brian writes: > On Fri 09 Oct 2015 at 17:18:28 -0400, James Richardson wrote: > >> Brian writes: >> >> > On Fri 09 Oct 2015 at 15:58:55 -0400, James Richardson wrote: >> > >> >> Brian writes: >> >> >> >> > On Fri 09 Oct 2015 at 13:50:07 -0400, James Richardson wrote: >> >> > >> >> >> >> >> >> Richard Owlett writes: >> >> >> >> >> >> > [resend, had not appeared in archives after 2 hours] >> >> >> > >> >> >> > How to do an autologin? In a DE independent way? >> >> >> > >> >> >> > http://manpages.debian.org/cgi-bin/man.cgi?query=autologin=1 >> >> >> > gave no relevant links. >> >> >> > >> >> >> > A Google search gave only decade old or DE related links. >> >> >> > >> >> >> > I currently use Mate, but exploring other desktops(avoiding Gnome >> >> >> > 3!!!;}. >> >> >> > I'd like something similar to autoexec.bat from DOS/CPM days. >> >> >> >> >> >> I've used runit for such things successfully, most recently for >> >> >> starting >> >> >> kodi at startup on my HTPC. >> >> > >> >> > apt-cache show runit has as part of its output: >> >> > >> >> > runit service supervision can run under sysv init or replace the init >> >> > system completely. Complete init replacement requires some manual >> >> > configuration described in the supplied documentation. >> >> > >> >> > So the standard systemd init system needs replacing to get autologin in >> >> > a DE independent way? Technically you might be correct but are you >> >> > serious? It doesn't seem very elegant. >> >> >> >> runit provides service supervision it can run under sysv init *OR* >> >> replace the init system. >> > >> > Yes. You've repeated what I quoted from 'apt-cache show' without adding >> > why changing one's init system to get a simple thing like autologin is >> > at all beneficial to most users. >> > >> Runit does not require one change one's init system. That is why is >> states it can run under sysv init OR replace the init system. >> >> Simply installing runit does not replace the init system. > > Correct. So how does simply installing it allow an autologin to X? > > As a matter of interest. From runit(8): > > DESCRIPTION > runit must be run as Unix process no 1. > > root@jessie:~# runit > - runit: fatal: must be run as process no 1. Well, one has to configure it. In /etc/inittab add a line like SV:123456:respawn:/usr/sbin/runsvdir-start then create a run script for firefox (.e.g /etc/sv/firefox/run) #!/bin/sh exec /usr/bin/xinit /usr/bin/firefox then create a symlink fro /etc/sv/firefox to /etc/service more info is at http://smarden.org/runit/. -- James Richardson http://jamestechnotes.com
Re: make system boot straight to browser connection
Brian writes: > On Fri 09 Oct 2015 at 15:58:55 -0400, James Richardson wrote: > >> Brian writes: >> >> > On Fri 09 Oct 2015 at 13:50:07 -0400, James Richardson wrote: >> > >> >> >> >> Richard Owlett writes: >> >> >> >> > [resend, had not appeared in archives after 2 hours] >> >> > >> >> > How to do an autologin? In a DE independent way? >> >> > >> >> > http://manpages.debian.org/cgi-bin/man.cgi?query=autologin=1 >> >> > gave no relevant links. >> >> > >> >> > A Google search gave only decade old or DE related links. >> >> > >> >> > I currently use Mate, but exploring other desktops(avoiding Gnome >> >> > 3!!!;}. >> >> > I'd like something similar to autoexec.bat from DOS/CPM days. >> >> >> >> I've used runit for such things successfully, most recently for starting >> >> kodi at startup on my HTPC. >> > >> > apt-cache show runit has as part of its output: >> > >> > runit service supervision can run under sysv init or replace the init >> > system completely. Complete init replacement requires some manual >> > configuration described in the supplied documentation. >> > >> > So the standard systemd init system needs replacing to get autologin in >> > a DE independent way? Technically you might be correct but are you >> > serious? It doesn't seem very elegant. >> >> runit provides service supervision it can run under sysv init *OR* >> replace the init system. > > Yes. You've repeated what I quoted from 'apt-cache show' without adding > why changing one's init system to get a simple thing like autologin is > at all beneficial to most users. > Runit does not require one change one's init system. That is why is states it can run under sysv init OR replace the init system. Simply installing runit does not replace the init system. >> I can describe my config in more detail if interested. > > Not necessary. -- Sent with my mu4e
X not working after apt-get upgrade on sid
(/dev/input/event6) [45.534] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall" [45.534] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons' [45.534] (**) ThinkPad Extra Buttons: always reports core events [45.534] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event6" [45.534] (EE) evdev: ThinkPad Extra Buttons: Unable to open evdev device "/dev/input/event6". [45.534] (EE) PreInit returned 2 for "ThinkPad Extra Buttons" [45.534] (II) UnloadModule: "evdev" [45.535] (II) config/udev: Adding input device ACPI Virtual Keyboard Device (/dev/input/event18) [45.535] (**) ACPI Virtual Keyboard Device: Applying InputClass "evdev keyboard catchall" [45.535] (II) Using input driver 'evdev' for 'ACPI Virtual Keyboard Device' [45.535] (**) ACPI Virtual Keyboard Device: always reports core events [45.535] (**) evdev: ACPI Virtual Keyboard Device: Device: "/dev/input/event18" [45.535] (EE) evdev: ACPI Virtual Keyboard Device: Unable to open evdev device "/dev/input/event18". [45.535] (EE) PreInit returned 2 for "ACPI Virtual Keyboard Device" [45.535] (II) UnloadModule: "evdev" [45.956] (II) NOUVEAU(0): EDID vendor "LEN", prod id 16562 [45.956] (II) NOUVEAU(0): Printing DDC gathered Modelines: [45.956] (II) NOUVEAU(0): Modeline "1920x1080"x0.0 139.00 1920 1980 2028 2050 1080 1090 1100 1130 -hsync -vsync (67.8 kHz eP) [45.956] (II) NOUVEAU(0): Modeline "1920x1080"x0.0 115.83 1920 1980 2028 2050 1080 1090 1100 1130 -hsync -vsync (56.5 kHz e) [46.188] (II) NOUVEAU(0): EDID vendor "LEN", prod id 16562 [46.188] (II) NOUVEAU(0): Printing DDC gathered Modelines: [46.188] (II) NOUVEAU(0): Modeline "1920x1080"x0.0 139.00 1920 1980 2028 2050 1080 1090 1100 1130 -hsync -vsync (67.8 kHz eP) [46.188] (II) NOUVEAU(0): Modeline "1920x1080"x0.0 115.83 1920 1980 2028 2050 1080 1090 1100 1130 -hsync -vsync (56.5 kHz e) [ 145.588] (II) NOUVEAU(0): NVLeaveVT is called. [ 145.588] Error dropping master: -13(Permission denied) [ 146.988] (II) Server terminated successfully (0). Closing log file. -- James Richardson http://jamestechnotes.com
Re: make system boot straight to browser connection
Richard Owlett writes: > [resend, had not appeared in archives after 2 hours] > > Charlie Kravetz wrote: >> On Wed, 7 Oct 2015 19:13:01 -0700 >> tom arnallwrote: >> >>> I want to setup a system so that when the power button is pushed on >>> the PC, the system connects to the internet and starts a browser >>> without a login or any other intervention by the user. >>> >>> There are no security issues. >>> >>> Is this doable? >>> >> >> Definitely doable. I do it every day. Set up my computer for autologin, >> open browser to page wanted. Save session in Xfce. Every time the >> computer is restarted, it comes up, logs in, starts firefox. >> > > How to do an autologin? In a DE independent way? > > http://manpages.debian.org/cgi-bin/man.cgi?query=autologin=1 > gave no relevant links. > > A Google search gave only decade old or DE related links. > > I currently use Mate, but exploring other desktops(avoiding Gnome > 3!!!;}. > I'd like something similar to autoexec.bat from DOS/CPM days. I've used runit for such things successfully, most recently for starting kodi at startup on my HTPC. -- Sent with my mu4e
Re: make system boot straight to browser connection
Brian writes: > On Fri 09 Oct 2015 at 13:50:07 -0400, James Richardson wrote: > >> >> Richard Owlett writes: >> >> > [resend, had not appeared in archives after 2 hours] >> > >> > How to do an autologin? In a DE independent way? >> > >> > http://manpages.debian.org/cgi-bin/man.cgi?query=autologin=1 >> > gave no relevant links. >> > >> > A Google search gave only decade old or DE related links. >> > >> > I currently use Mate, but exploring other desktops(avoiding Gnome >> > 3!!!;}. >> > I'd like something similar to autoexec.bat from DOS/CPM days. >> >> I've used runit for such things successfully, most recently for starting >> kodi at startup on my HTPC. > > apt-cache show runit has as part of its output: > > runit service supervision can run under sysv init or replace the init > system completely. Complete init replacement requires some manual > configuration described in the supplied documentation. > > So the standard systemd init system needs replacing to get autologin in > a DE independent way? Technically you might be correct but are you > serious? It doesn't seem very elegant. runit provides service supervision it can run under sysv init *OR* replace the init system. I can describe my config in more detail if interested. -- James Richardson http://jamestechnotes.com
Re: Alsa sound errors
Marc Shapiro wrote: On 06/05/2013 01:54 PM, Klaus wrote: On 05/06/13 21:31, Kailash wrote: On Wed, 05 Jun 2013 07:24:16 -0700 Marc Shapiro marcns...@gmail.com wrote: On 06/04/2013 11:04 PM, Raffaele Morelli wrote: 2013/6/5 Marc Shapiro marcns...@gmail.com mailto:marcns...@gmail.com There are three people with logins to my desktop box -- myself, my wife and my daughter. My daughter plays Flash games with sound all the time and has no problems. I run YouTube videos and otherwise use sound with no problems. My wife gets no sound whatsoever. We used to have a problem with the sound being Perhaps a permission issue? I've added my wife and children to the audio group so that sound works for them. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51b00cdc.3090...@gmail.com -- James Richardson http://jamestechnotes.com I prefer encrypted email: keyid D8467AFB signature.asc Description: Digital signature
Re: How to consistently install a set of packages?
David wrote: I have a small number of personal different-hardware PCs, each with the same set of different OS currently managed by grub v1. With unison, rsync, scripts, and some care I successfully keep all OS and the shared data in sync. It works great for my needs. I now intend to add Debian wheezy and hope that it becomes my preferred OS to replace an outdated Fedora. I already have a bare minimal base install of wheezy on each PC, achieved by running debian-installer manually in expert mode and unselecting everything on the tasksel page. I know the set of Debian packages I next want to install, without recommends (like aptitude -R). These will be served locally by approx. I keep the installation minimal for my needs only, and avoid gnome. Because some packages create users and groups, I want to be sure that these packages are installed in the same sequence on every PC so that numeric uid gid in /etc/passwd and /etc/group end up the same on all PCs. This will make admin easier when keeping the shared data in sync if the numeric uid and gid are the same in every OS. To do the install I could use a shell script of many 'aptitude -R' calls, but I don't know the required order to satisfy dependencies. I could give 'aptitude -R' the large list of of packages, but how do I know that its depsolver will always install the packages in the same order? Perhaps I could do this once, and then get from some logfile the actual order that was used? google isnt helping me, results are dominated by debian-installer and preseeding but I think that is not relevant to my question because I already have installed debian manually. Please correct me if I am wrong. Are there any better methods I should be aware of, to ensure that everywhere the packages are installed in the same sequence? The only thing I can suggest (and I am by no means an expert), is to create the users/groups before installing the packages. You can use dpkg --get/--set-selections to set the selection state of the packages, but as this doesn't actually install anything, I would doubt it would give apt-get/aptitude any hints about ordering, but if the user/groups existed before hand it should still be ok. -- James Richardson http://jamestechnotes.com I prefer encrypted email: keyid D8467AFB signature.asc Description: Digital signature
Re: a browser for debian that will play pandora.com?
John L. Cunningham wrote: On Fri, May 31, 2013 at 03:38:03PM -0800, Britton Kerin wrote: iceweasel doesn't seem to, I downloaded firefox and ran it but it doesn't seem to either (just hangs forever). It works fine for me in chromium-browser on both Squeeze and Wheezy. I do have flashplugin-nonfree installed, though. It also works fine for me with google-chrome, I'm running sid. The particlar versions of chrome and flash: $ aptitude search ~i | grep -E chrome|flash | awk '{print $2}' | xargs apt-cache policy flashplugin-nonfree: Installed: 1:3.2 Candidate: 1:3.2 Version table: *** 1:3.2 0 500 http://http.us.debian.org/debian/ wheezy/contrib amd64 Packages 500 http://http.us.debian.org/debian/ jessie/contrib amd64 Packages 500 http://http.us.debian.org/debian/ sid/contrib amd64 Packages 100 /var/lib/dpkg/status google-chrome-stable: Installed: 27.0.1453.93-r200836 Candidate: 27.0.1453.93-r200836 Version table: *** 27.0.1453.93-r200836 0 500 http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages 100 /var/lib/dpkg/status -- James Richardson http://jamestechnotes.com I prefer encrypted email: keyid D8467AFB signature.asc Description: Digital signature
Re: 5 newbie Linux users one shared media folder?
Nick Lidakis wrote: I'm attempting to setup a Debian Linux/Gnome laptop for a friend, his wife, and their 4 kids. Each has a home folder that is private to the rest. They have small collection of music photos that they would like to share. What's the most efffective way to accomplish this? This is a non-networked machine, i.e., no NFS, etc. Can I have a media folder in /home without making a user called media? yes. (e.g. $sudo mkdir /home/media) you may wish to also * create a new group (e.g. $sudo addgroup media) * add the users to the group (e.g. $sudo adduser uname media) * set permission the dir to 3770 ( e.g. $sudo chmod 3770 /home/media). This will let all users add/delete files from the directory. * and create a symbolic link from the users home to /home/media (e.g. $sudo ln -s /home/media /home/user/media) so the new directory will appear in the home folder. I am not real familiar with Gnome so I don't know if this will make the media folder appear on the desktop or not. There may be Desktop folder. -- James Richardson Debian GNU/Linux Consultant http://www.linkedin.com/in/jamesrichardsonconsulting signature.asc Description: Digital signature
Re: ssh without password
Eugene Apolinary wrote: Hi... It's just not working! :( Machine [A]: Debian Lenny [server] Machine [B]: Debian Lenny [client] I just want to SSH from [A] to [B] without password... [A] # apt-get install openssh-server # dpkg -l|grep ssh ii openssh-blacklist 0.4.1 list of default blacklisted OpenSSH RSA and ii openssh-blacklist-extra 0.4.1 list of non-default blacklisted OpenSSH RSA ii openssh-client 1:5.1p1-5 secure shell client, an rlogin/rsh/rcp repla ii openssh-server 1:5.1p1-5 secure shell server, an rshd replacement # ssh-keygen -b 4096 -t rsa -v [I didn't give password, when it asked to, I just hit enter] [B] I copied the generated id_rsa.pub file to the [B] and: cat id_rsa.pub /home/user/.ssh/authorized_keys cat id_rsa.pub /home/user/.ssh/authorized_keys2 # dpkg -l | grep ssh ii libssh2-1 0.18-1 SSH2 client-side library ii openssh-client 1:5.1p1-5 secure shell client, an rlogin/rsh/rcp replacement ssh r...@ip [I answered yes, then it wants me to give password :\ if I give the correct password, it logs me in, ok, but why didn't it worked without password?] What am I missing?? :( Please help ssh -v http://pastebin.com/fe2fc0d0 [A] # ls -la total 7 drwx-- 2 root root 1024 2009-08-25 17:47 . drwxr-xr-x 5 root root 1024 2009-08-25 17:53 .. -rw--- 1 root root 3239 2009-08-25 17:47 id_rsa -rw-r--r-- 1 root root 733 2009-08-25 17:47 id_rsa.pub [B] $ ls -la total 16 drwx-- 2 user user 69 2009-08-27 00:51 . drwx-- 59 user user 4096 2009-08-27 00:53 .. -rw-r--r-- 1 user user 733 2009-08-27 00:51 authorized_keys -rw-r--r-- 1 user user 733 2009-08-27 00:51 authorized_keys2 -rw-r--r-- 1 user user 442 2009-08-27 00:51 known_hosts The permission on authorized_keys should be 600. No group/other access. authorized_keys2, I think is not required (at least I don't seem to have it). Also send the output of ssh -vv ... and we can better help. Thanks. -- James Richardson Debian GNU/Linux Consultant http://www.linkedin.com/in/jamesrichardsonconsulting signature.asc Description: Digital signature
Re: ssh without password
Eugene Apolinary wrote: ssh -vv http://pastebin.com/f3d2d4e3d ssh -vvv http://pastebin.com/f687e372 I changed the authorized_keys permission on [B] to 600 Plus I tried to change PasswordAuthentication no in [A] /etc/ssh/sshd_config, and then restart ssh. But if I do this this happens http://pastebin.ca/1544022 It looks like [A] is not finding your private_key. # debug1: Next authentication method: publickey # debug1: Trying private key: /home/user/.ssh/identity # debug3: no such identity: /home/user/.ssh/identity # debug1: Trying private key: /home/user/.ssh/id_rsa # debug3: no such identity: /home/user/.ssh/id_rsa # debug1: Trying private key: /home/user/.ssh/id_dsa # debug3: no such identity: /home/user/.ssh/id_dsa Make sure the key exists and matches the public key. Also you may want to try recopying the private key to [B] with ssh-copy-id and see if that helps as Alex suggested. I didn't know about that little command, but I believe I will find it usefull. ;) -- James Richardson Debian GNU/Linux Consultant http://www.linkedin.com/in/jamesrichardsonconsulting signature.asc Description: Digital signature
Re: related to mail servers, mta and mda
H.S. wrote: Hello, This is a beginner's (no experience with setting up mail servers) query about MTA's and MUA's. I am trying to see if I can setup an mta or a related application on my Debian machine which is being run as a router for my home lan such that it can send email to an external email address. It does not need to receive any public email at all. I have already tried heirloom and I can send email to my gmail account if I put my gmail log in info in my mail's conf file. Now I am wondering if I can allow outgoing email (need to have port 25 open?) with no need nor requirement to receive any in coming email from the WAN without having to use a particular email's log in info. The idea is that email from that machine (and perhaps from lan machines) may be sent to any valid email address with reply-to address changed to a fixed email address. Thanks. I use Exim on my f/w on my router. It accepts email from all the nodes on my home network and now forwards it to my mail server on my vps. Previously, it forwarded mail through my isp. If I remember correctly when sending mail through my isp the from header was always rewritten to be from my isp email address. If you have a static ip you may be able to send mail directly to mailservers around the internet, however if you have a dynamic ip, it will be blocked by most mailservers. Also your isp may block outbound port 25 traffic. Mine just redirects all outbound port 25 traffic to their mail servers. I get around this by having a vpn between my home network and my vps. I know you said you did not need to receive any incoming email, just be sure to keep port 25 into your network closed. -- James Richardson Debian GNU/Linux Consultant http://www.linkedin.com/in/jamesrichardsonconsulting ja...@jamesr.biz signature.asc Description: Digital signature
Re: Lenny/exim4: how to set helo for outgoing SMTP
Kilian wrote: Hello, I am desperately trying to set the HELO value exim uses for outgoing smtp connections because my host is behind a firewall which does NAT. I've read /usr/share/doc/exim4-config/README.Debian.gz and created /etc/exim4/exim4.conf.localmacros witht the following content: REMOTE_SMTP_HELO_DATA=my.host.name That did not work. Then I found the following: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=275975 So I tried to set helo_data manually in /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp and /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost - the latter I did just in case. That did not work. So I basically set *every* occurrence of helo_data and REMOTE_SMTP_HELO_DATA I found under /etc/exim4 manually. Doesn't work. Under etch, I just changed helo_data in /etc/exim4/exim4.conf.template manually - not very nice, but it did what I needed. Now my mailconfig is broken because some hosts won't accept my mails as the HELO does not match the IP of the firewall, of course. Is there really no way to change the outgoing HELO value in exim 4.69-9? I am using the internet config of exim4. Any hint would be greatly appreciated! The settings you want to look at are smtp_banner and helo_data. If I remember correctly, helo_data defaults to $primary_hostname and smtp_banner defaults to something with $primary_host_name and exim's version number. In my configuration, I just have primary_hostname to my hostname (e.g. primay_hostname = dune.jamesr.biz) which also sets the smtp banner displayed when connecting to remote hosts. My relavent debconf configs are internet site, number of dns-queries minimal to no. I am thinking the primary_hostname gets set in the config file by doing a reverse lookup on the ip of my server. Does a lookup of the ip of the interface you are sending mail resolve to the name of your firewall? -- James Richardson Debian GNU/Linux Consultant http://www.linkedin.com/in/jamesrichardsonconsulting signature.asc Description: Digital signature
Re: Fetchmail
Andrew Sackville-West wrote: [snip] yeah. I need to find out why `ps aux` shows fetchmail run by user '103' and exim run by user '101' instead of by their names... A Their names are longer than 8 characters. -- James Richardson James Richardson Technology Consulting http://www.jamesr.biz signature.asc Description: Digital signature
mutt signatures
Hi, What package/software do you use to rotate signatures in email? I use mutt. I googled and found a package called autosig, but it does not have a debian package... ADthanksVANCE -- James Richardson signature.asc Description: Digital signature
Re: mutt signatures
Martin Kraus wrote: On Mon, Jun 09, 2008 at 10:32:20PM -0400, James Richardson wrote: Hi, What package/software do you use to rotate signatures in email? I use mutt. I googled and found a package called autosig, but it does not have a debian package... to rotate in what way? preselected signatures, signatures based on current mailbox, fortune like signatures? mk well gee... I guess there are several sorts... I was thinking fortune like signatures... signature.asc Description: Digital signature
Re: Aptitude Install Error
Jeff Grossman wrote: James Richardson wrote: Jeff Grossman wrote: Today I did a pretty bonehead move. I was trying to do a chown on a directory in /var and I ended up chowning the whole /var/ directory to www-data. Of course, right when I hit the enter key I knew I screwed up. I went and did a chown to root for /var assuming that was the best bet. Throughout the day reading the log messages and errors, I think I have fixed almost everything back to the way it should be or at least to what appears to be working. But, I just did an aptitude safe-upgrade (this is on a Lenny system) and got an fopen error. Does this have anything to do with my /var messup? I looked through the 6 packages that got upgraded and it does not appear they write anything to the /var directory. Here is what I got from running the aptitude command: [EMAIL PROTECTED] ~ # aptitude safe-upgrade -DV Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done [snip] Processing triggers for man-db ... /var/man needs to be owned by man (# chown -R man:root /var/man fopen: Permission denied [snip] Any help would be appreciated. On a side note, is there anyway for me to see what all of the permissions on /var should be? Jeff I don't have a /var/man directory. I don't either. I should have written /var/cache/man. I really should have been in bed. ;) signature.asc Description: Digital signature
Re: Aptitude Install Error
Jeff Grossman wrote: Today I did a pretty bonehead move. I was trying to do a chown on a directory in /var and I ended up chowning the whole /var/ directory to www-data. Of course, right when I hit the enter key I knew I screwed up. I went and did a chown to root for /var assuming that was the best bet. Throughout the day reading the log messages and errors, I think I have fixed almost everything back to the way it should be or at least to what appears to be working. But, I just did an aptitude safe-upgrade (this is on a Lenny system) and got an fopen error. Does this have anything to do with my /var messup? I looked through the 6 packages that got upgraded and it does not appear they write anything to the /var directory. Here is what I got from running the aptitude command: [EMAIL PROTECTED] ~ # aptitude safe-upgrade -DV Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done [snip] Processing triggers for man-db ... /var/man needs to be owned by man (# chown -R man:root /var/man fopen: Permission denied [snip] Any help would be appreciated. On a side note, is there anyway for me to see what all of the permissions on /var should be? Jeff -- jr signature.asc Description: Digital signature
Re: Terminal trouble
cothrige wrote: In another thread in which I was seeking a better way to handle unicode in my terminals (my current preference mrxvt does not support it) rxvt-unicode was suggested as a possible alternative. However, now I am dealing with an even more aggravating situation, and that is the alternate screen where the entire screen is cleared after closing things like man or less. I cannot put into words how much I hate this feature and would love to find a way to turn it off. I have googled and found nothing which worked. I would assume that other Debian users are faced with this, since it seems the default in all the terminals, and I would very much appreciate any ideas of how others get it to stop. I am not sure about rxvt, but with xterm you can set the titeInhibit resource to true (e.g. add a line like XTerm*titeInhibit: True to your .Xresources file), not sure it it works with rxvt. You may have to mess with the terminfo database and remove the functionality of smcup and rmcup, which of course correspond to the ti and te entries of termcap. -- James Richardson http://jretelcom.com http://jamesrichardson.org signature.asc Description: Digital signature
Re: Terminal trouble
cothrige wrote: * James Richardson ([EMAIL PROTECTED]) wrote: I am not sure about rxvt, but with xterm you can set the titeInhibit resource to true (e.g. add a line like XTerm*titeInhibit: True to your .Xresources file), not sure it it works with rxvt. You may have to mess with the terminfo database and remove the functionality of smcup and rmcup, which of course correspond to the ti and te entries of termcap. I do have the titeInhibit resource set to true, and it does help xterm, though I don't really like xterm. Can't say why for certain, though it does seem sort of slow and clunky to me. In the past, I would also set Rxvt.termName to xterm and perhaps this helped to fix the situation with rxvt, because for a long time I did not have this problem. However, it hasn't had any impact this time and all my terminals except xterm are carrying on in this way. How does one go about changing the terminfo database? I have never messed with that before. The two questions which really bug me right now are why, in such a configurable and choices based system as Linux, would this kind of feature be hardwired in and made virtually unchangeable? And secondly, are there really people out there who prefer this behaviour? It would easily make my top five list of irritating features. I don't know why it is the default, and I don't really know a lot of people who prefer the behavior, although presumable the guy who made it the default liked it. ;) The easiest way to change the terminfo database is to decompile the entry for your terminal, take out the the entries for rmcup and smcup, and then recompile the entry. 1. How do I tell which termcap entry I am using? The TERM environment variable contains the value. (echo $TERM). As I use xterm, my entry is xterm. 2. Decompile the apropriate entry. $infocmp xterm /tmp/xterm 3. edit /tmp/xterm and remove the entry for rmcup and smcup. 4. recompile the new file. tic /tmp/xterm. This will place a file in a directory .terminfo in your home directory. 5. You should now be able to start rxvt without the alternate screen. 6. Where to go next. If you want to make this your system default, you need to copy the file (as root) into /usr/share/terminfo/... (for xterm that would be /usr/share/terminfo/x/xterm). If you don't want to make it the system default, but available to users, just copy it somewhere into /usr/share/terminfo... (like /usr/share/terminfo/x/xterm-special) and have TERM set appropriately in .bashrc. -- James Richardson signature.asc Description: Digital signature
Re: document processing
Douglas Tutty wrote: I'm revisiting how I make documents. I have been using lout since I started with linux in 2000 but it has the following shortcomimgs: Difficult to change things like margins Can't make html plain text output has blank lines that must be edited. My primary use is for letters and notes but also larger projects. I don't like wysiwyg. I want to be able to make: ps, pdf, txt, html. Something like DebianDoc seems overkill for a letter. I want something that is simple, probably a markup language, but without excessivly long tags or difficulty changing things like margins for non-html output. What do people find works well? I like LaTeX. signature.asc Description: Digital signature
printing from chroot
Hi, What is the best way to print from a chroot? I have a 32bit chroot setup for oo. -- signature.asc Description: Digital signature
X programs inside chroot
Greetings! I have setup an i386 chroot (sarge) on my amd64 (also sarge) on my laptop. However I cannot run X programs inside. I get the error can't open display: :0.0. I get the error from xterm and OpenOffice. I have mount /proc inside the chroot. At first I thought it may have been a permission problem, so I ran xhost + on the X server to disable access control. Can anyone help me out here? Oh, I build the chroot using: cdebootstrap -f minimal --arch i386 sarge /chroots/sarge-ia32 http://apt.lan0:/debian I then mounted /proc inside the chroot, copied /etc/resolv.conf, /etc/passwd, /etc/group, /etc/shadow, /etc/apt/sources.list. I then chrooted (chroot /chroots/sarge-ia32), installed openoffice and xterm. TIA James richardson signature.asc Description: Digital signature
Re: X programs inside chroot
James Richardson wrote: Greetings! I have setup an i386 chroot (sarge) on my amd64 (also sarge) on my laptop. However I cannot run X programs inside. I get the error can't open display: :0.0. I get the error from xterm and OpenOffice. I have mount /proc inside the chroot. At first I thought it may have been a permission problem, so I ran xhost + on the X server to disable access control. Can anyone help me out here? I solved my own problem, Here is the solution: I bind mounted /tmp in the chroot (e.g. mount --bind /tmp /chroots/sarge-ia32/tmp). Why did this solve the problem? * The X server on the host did not have a TCP/IP listener, only a unix * domain listener (e.g. /tmp/.X11-unix) which was not available in the * chroot until I bind mounted /tmp. * Another solution would be to have the X server listen on an IP * address,which I disremember how to do off of the top of my head. Oh, I build the chroot using: cdebootstrap -f minimal --arch i386 sarge /chroots/sarge-ia32 http://apt.lan0:/debian I then mounted /proc inside the chroot, copied /etc/resolv.conf, /etc/passwd, /etc/group, /etc/shadow, /etc/apt/sources.list. I then chrooted (chroot /chroots/sarge-ia32), installed openoffice and xterm. TIA James richardson signature.asc Description: Digital signature
Re: X programs inside chroot
James Richardson wrote: Greetings! I have setup an i386 chroot (sarge) on my amd64 (also sarge) on my laptop. However I cannot run X programs inside. I get the error can't open display: :0.0. I get the error from xterm and OpenOffice. I have mount /proc inside the chroot. At first I thought it may have been a permission problem, so I ran xhost + on the X server to disable access control. Can anyone help me out here? I solved my own problem, Here is the solution: I bind mounted /tmp in the chroot (e.g. mount --bind /tmp /chroots/sarge-ia32/tmp). Why did this solve the problem? * The X server on the host did not have a TCP/IP listener, only a unix * domain listener (e.g. /tmp/.X11-unix) which was not available in the * chroot until I bind mounted /tmp. * Another solution would be to have the X server listen on an IP * address,which I disremember how to do off of the top of my head. Oh, I build the chroot using: cdebootstrap -f minimal --arch i386 sarge /chroots/sarge-ia32 http://apt.lan0:/debian I then mounted /proc inside the chroot, copied /etc/resolv.conf, /etc/passwd, /etc/group, /etc/shadow, /etc/apt/sources.list. I then chrooted (chroot /chroots/sarge-ia32), installed openoffice and xterm. TIA James richardson signature.asc Description: Digital signature
apt-proxy validation failed errors
Greetings: I have apt-proxy setup and running fine, mostly. I do have an issue I am unable to solve. I am behind a dial up connection and large files (such as kernel images) sometimes do not download in a single session. Before I install apt-proxy, apt-get install ... would resume partial downloads. With apt-proxy, this is not the case and I understand why. To work around this situation, I have tried the following: * on the box with the failed d/l, resume the d/l myself. (i.e. cd /var/cache/apt/archives/partial wget -c http://url.configured.in.apt-proxy.conf.v2/pool/main/l/blah * mv the file to /var/cache/apt/archives. * apt is happy and will install the file properly. * I then would copy the file to its appropriate place on the apt box, * set the owner to aptproxy:nogroup. * sometimes this works, but often not, as when another client tries to * get file, apt-proxy goes thru its verification process and fails. My question then is, what is the verification process and why does it fail? From the logs, it appears as apt-proxy tries to run dpkg --fsys-tarfile on the deb, if I run this manually, he works, when apt-proxy runs it, the verification failes and he tries to d/l the whole deb again. TIA James -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
good personal information manager
Hi, I have been searching for a good personal information manager that will run on GNU/Linux, unsecessfully. What I am looking for is something that works mostly like franklin planner for windows... I need a good todo list manager, appoinment manager, task manager, contact manager and the ability to sync with a palm type pda It would be really slick if it could integrate with mutt and emacs and not require KDE. I think I have tried most of the ones in sarge that didn't require KDE and they are not what I am looking for. I feel sure something must exist somewhere -- James Richardson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Troubleshooting Tips for ttyS0 problem
Pete wrote: Hi all, I need to get some troubleshooting tips for finding out what is causing my serial port not to function in Sarge. If I plug a modem in, boot off an old DOS 6.22 floppy, and run Modem Dr, it verifies that it can communicate successfully with the modem with not one single error. However, if I boot into Sarge, and try to talk to it with Minicom, it always stays offline and I never receive any responses from the modem. I need to get this functioning so I can get my UPS running as this is my mail server which runs 24x7. I have tried purging and reinstalling setserial, but this didn't help. I'm running a custom 2.4.27 kernel and have also tried the standard 2.4.27 and 2.6.8.1 kernels with the same results. As far as hardware goes, it's a Via EPIA V1 mainboard and the UPS I'm trying to communicate with is a Sola 330, which used to work fine on my old mail server with the same cable and same software (NUT). The modem is a Spirit 33.6K. What else can I do to narrow down what's interfering with the serial port? what output do you get from setserial /dev/ttyS0 -a ? Any tips would be very greatly appreciated. Thanks in advance, Pete -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I get rid of the mutt mail headers?
On Fri, Jul 02, 2004 at 08:38:03AM -0700, Jake Johnson wrote: Hi, I am trying to get rid of the mutt mail headers. I don't like it that I have to page through so much text just to read the email. Please note that it is not the verbose headers either. in your .muttrc add the following lines: #ignore * will not display any headers ignore * # Add the headers you want to see here. unignore To: From: Subject: Date: signature.asc Description: Digital signature
iSCSI
Has anyone been sucessful with getting iSCSI working on Debian? I have tried various packages and none seem to quite work. I am looking for both an initiator and a target. I will write a howto when I get something working... Thanks --jr signature.asc Description: Digital signature
Re: apt-get through a proxy
On Fri, Jun 11, 2004 at 09:37:14AM -0600, Marvin Gerardo Aguero Salazar wrote: Hi guys, I am currently on an installation that accesses the internet over a proxy. apt-get stopped working for me with this configuration. Is there a way to get apt-get working via a proxy? yes, in your /etc/apt/apt.conf add the following: Acquire::http::Proxy http://proxy.server:port; --jr signature.asc Description: Digital signature