Re: How to write in Chinese

2020-11-20 Thread An Liu
HI

tbf the built-in Chinese input method is painful

i used to use ibus.el in emacs(but it is dead i think)
l

some minor problems i have
1. unless locale is set to Zh_CN.UTF-8 i cant type chinese under X,no
problem in Term though
i need to start emacs instant with LANG=zh_CN.utf8 emacs in bash if i dont
want to set system locale
2. Ctrl-Space (or Win-Space) might be  conflict with input methods
change,make marks harder (use Ctrl-@)as alt
3. Latex is a little little but complex as you need CJK PACKAGE to make it
work


FYI



On Fri, Nov 20, 2020 at 09:43  wrote:

> On Fri, Nov 20, 2020 at 08:13:54AM +0100, deloptes wrote:
> > Fabrice BAUZAC-STEHLY wrote:
> >
> > > GNU Emacs comes with
> >
> > did someone asked about Emacs and I missed it?
> > The Emacs religion followers never sleep :)
>
> In a way, Fabrice is right: Emacs would solve one thorny
> problem, that of the input method, which X leaves to a bunch
> of strange and opinionated plugins. No idea how the Wayland
> story is, in this department. Possibly you'll have to put
> up with whatever Gnome or KDE have come up (gulp!) or perhaps
> LibreOffice comes with its own thingy.
>
> Emacs is yet another rabbit hole, but this one is at least
> a bit closer than LaTeX: it offers a working fontset management
> and an outstanding collection of input methods (I count 25
> variants for Chinese in my Emacs instance, take that ;-P
>
> Cheers
>  - t
>
-- 
Liu An


Re: Cuda sdk for Debian?

2020-02-05 Thread An Liu
Linux-Fan,Mark

Thanks for the sharing,I‘ll check it out in non-free repo,and dive into
chroot as a backup.

cheers



On Wed, Feb 5, 2020 at 13:35 Mark Allums  wrote:

>
>
> On 2/5/2020 2:37 AM, An Liu wrote:
> > Hi,
> >
> > As there is no Cuda offical support for debian from NVIDIA,anyone
> > could share any Cuda experience.
> >
> >
> It's in non-free.  Enable non-free in sources.list and apt update.
>
> --
Liu An


Cuda sdk for Debian?

2020-02-05 Thread An Liu
Hi,

As there is no Cuda offical support for debian from NVIDIA,anyone could
share any Cuda experience.

Or does install media for Ubuntu work for Debian

Thanks



-- 
Liu An


Re: Mirror Station in China

2019-11-06 Thread An Liu
Hi,


On Thu, Nov 7, 2019 at 07:21 Outsider Ksana  wrote:

> Hello,I’m a user from China. I have a problem installing Debian on the
> network, China's Debian image stations all use the HTTPS protocol now,
>
I dont think it is true.
try http://mirrors.163.com/debian
or http://mirrors.ustc.edu.cn/debian/  would be faster if you are in “edu”
environment



> --
Liu An


Re: Latest KDE packages update removed KDE

2019-10-23 Thread An Liu
>
>
>
> Reason this option is not enabled by default is, as I understand it,
> that a) downgrades are officially unsupported (in reality they commonly
> work,


Glad to hear this. Now i had a answer to this question:  does debian
package management system have
a downgrade mechanism similar to 'yum'.

we hardly need it, but if it is the time you need it, it could save you
from chaos. :)

AN


Re: Latest KDE packages update removed KDE

2019-10-23 Thread An Liu
On Wed, Oct 23, 2019 at 10:36 Jiri Kanicky  wrote:

> I understand how it works. I am just warning others to wait before they
> upgrade unless they want to have it broken.


I also know the risks of broken dependencies
Is there any way to manually fix?

sometimes it is hard to prevent myself from typing upgrade :)



>
> Thx Jiri
>
> On 22/10/19 8:33 pm, Jonas Smedegaard wrote:
> > Hi Jiri,
> >
> > Quoting Jiri Kanicky (2019-10-22 09:20:57)
> >> I just updated my desktop Sid and it removed most core KDE packages.
> >>
> >> When i try to install it back, it tells me dependencies are missing.
> >>
> >> Dont recommend update to all KDE users.
> > When you use Debian Sid, you are expected to understand how to hold back
> > updates during library migrations.
> >
> > I recommend to either a) use Debian testing or Debian stable, or b) be
> > more cautious when updating packages - e.g. look at the warnings emitted
> > from the "apt upgrade" command.
> >
> >
> >   - Jonas
> >
>
> --
Liu An


Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

2019-05-31 Thread An Liu
Hi,

Can you see your wireless interface by excuting /sbin/ifconfig -a

should have device wlan0 or wlo0 or wls0p0 listed there

if not,you missed driver for that device,either look non-free repository or
download source code compile yourself



On Fri, May 31, 2019 at 12:17 senthil kosapeta 
wrote:

> Dear Debians,
>
> I have purchased Lenovo laptop around 6 months back. (Lenovo ideapad)
> I had installed ubuntu earlier and Wifi used to work fine.
> Somehow it got crashed a month back.
>
> I have decided to switch over to debian 9.9 and installed it.
> Internet via Ethernet port is working. But wifi is not working and not
> showing available wireless networks.
> I searched/googled certain topic related to Debian wifi and tried
> installing firmware-atheros earlier.
> It did not work. When i tried restart, shutdown is stuck.
> If i force shutdown and restart, It will be stuck again.
> When i tried to do recover mode, msg displays that
> "ath10k_pci ** failed recieve control reponse completion, polling "
>
> Please let me know how to proceed.
>
>  Thanks
>
> Senthil
>
> --
Liu An


Debian compatibilty with ASrock J3455 question

2019-05-25 Thread An Liu
Hi,experts

My dell vistro 5453 failed to work several days ago,and i‘m not going to
save it.

I could reuse ram and ssd,so i'm considering a motherboard for a home
NAS,w/ debian and OMV

one possible choice is j3455-itx,however,there were some posts indicated i
might have problem running Debian with this motherboard。

asrock only have win10/ubuntu on j3455's support list

Does someone have experience on this motherboard.

If there is positive answer,i will buy one,if not,it's not too late for me
to next choice,lol

Thank you

reference:

http://forum.asrock.com/forum_posts.asp?TID=5227=j3455itx-and-debian-88
https://forum.openmediavault.org/index.php/Thread/16375-ASRock-J3455-ITX-problems/#post131188


-- 
Liu An


Re: Is it possible to install Debian in such a case.

2019-05-12 Thread An Liu
Hi, experts

I want to summary the cases I tested here to this topic, FYI.
Brian mentioned the installation could be finished in case 1 , but i'm
still with no luck.
| Index | Case   | Result
  |
| 1 | GRUB + netinst iso | Can start debian installer but can't
  |
|   | + loopback boot| continue due to no driver for CDROM,
  |
|   || and i can't find a way to tell/
mount the  |
|   || iso
   |
|   ||
   |
| 2 | GRUB + /hd-media/initrd.gz | Can finish install process with
the auto
 |
|   | + netinst iso  | detected iso on USB/hd
  |
|   ||
   |
| 3 | GRUB + livecd iso  | Could boot into live debian with
  |
|   | + loopback boot| boot=live
fromiso=/dev/sdX/path/to/the/iso |
|   || I can't figure out how to boot
manually within |
|   || busy box, in this case one could
finish|
|   || install process in LiveOS
   |
|   ||
   |
| 4 | GRUB + livecd iso  | almost same as case 1 , can't go
through   |
|   | + loopback boot to d-i |
   |


Re: Is it possible to install Debian in such a case.

2019-05-11 Thread An Liu
> Try booting the mini.iso with GRUB's loopback. You might have a pleasant
> surprise!
>
Yes, boot with GRUB's loopback, I can start debian-installer, impressive!
But it still failed at detect media step. As we can't mount loop devices in busy
box,  if we could extract the contents in this ISO to some place we
could read (
e.g  USB with fat format),  can we continue this installer ?



-- 
Liu An



Re: Disk setup to boot both RAID1 disks

2019-05-11 Thread An Liu
Hi, Pascal,

I  personally didn't use --removable option while install GRUB,
but  built a standalone EFI boot executable for grub (say,
grubx64.efi with modules),it could be copied everywhere you want,
and it do safe me many times.

Are these two the same thing?


> My method of choice would be to install GRUB in the "removable path"
> location of each EFI partition with the --removable option because it
> does not need to register EFI boot entries. But I have observed an UEFI
> firmware (the same which requires GPT for EFI boot) which ignores the
> removable path location if an EFI boot entry pointing to the same disk
> exists (even though not functional) so beware. Actually the most
> difficult part is to work around the UEFI firmware bugs.


-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-11 Thread An Liu
Hi, Pascal
> IIRC and although it did not change with Buster, the initrd.gz in
> installation images does not include the loop module either. So it is
> not able be able to mount an ISO image.

Yes, you are right,  neither could i mount ext4 partitions within busybox
But it is able to mount vfat partition, maybe it's for UEFI?

Tested with debian-9.9.0-amd64-netinst.iso

Thank you for the information



-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
appreciate your opinion, more than technical point of view
--
Liu An



Re: Does anyone know where chkconfig went?

2019-05-10 Thread An Liu
Hi, Gene,

Maybe systemd is what you are after
https://wiki.debian.org/systemd


Hope it help.

On Fri, May 10, 2019 at 9:29 AM Gene Heskett  wrote:
>
> Greetings all;
>
> This was an rcx.d thing that adjusted what ran in what run-level.
>
> I need to shut off all the nut stuff. Because this rt kernal didn't bring
> usbhid-ups to the party, needed to talk to my ups, my logs are being
> spammed by non-connection msgs. Several a minute. Maybe its been renamed
> between wheezy and stretch?  IDK.
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page <http://geneslinuxbox.net:6309/gene>
>


-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
HI, Brian,
> I am not sure An Liu is asking for help with installing Red Hat.

No, because all problem settled.  Cheers.

Actually there is a 'LIVE OS' hidden in RHEL's DVD,  then followed by
switch-root  within a dracut image,
which differs from Debian's installation. I'll look into it if i can
go through with Debian install with busybox :)

Thank you


-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
> This makes no sense.  If you want to learn how to install Red Hat, you
> should ask a Red Hat mailing list, not a Debian mailing list.
>

> We don't know how to install Red Hat.

Yes, That's why I don't ask how to do here but to figure it out, as
talking that is something of topic
I just wonder if Debian could do this way, and asking.

BTW, I don't want to make you sense, if you don't feel comfortable.

-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
> Multi-Boot allows Linux and *any other* OS to reside on the same medium.
sure,  and what's next? i have 5 OS on my PC,
The order of installation is not quite the problem, as i USE UEFI

I said i was just talking about install media, not install target.
Though I have a HD could work as install-media for
SLES/RHEL/CentOS/Windows7/Window10,
I still don't get you point.


-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, All,

I'm very happy to see many people try to help, and want to describe
why i have such kind of questions

As all knows,  redhat 8 was announced available serveral days ago, and
i got the DVD iso, and i want to have a try
(for myself i use debian on my pc, but enterprise customs use RHEL/CentOS/SLES )

And i managed  to install it from harddisk

But i'm lazy
1. i don't want extract files from iso
2. i don't want to cp *.iso /dev/sdb  (dd )to destroy my data on USB
stick to make it as install media
3. I have grub
4. i have a spare partition on my PC (say /dev/sda9) to install it

Can we do that?
We have a solution for debian, as mentioned, use hd-media (vmlinuz,
initrd.gz with iso-scan)   in step 2 , so it's not a really a problem

But this should have share the  common ground in installation, isn't?

That's why i post my question here.

FYI

On Fri, May 10, 2019 at 2:48 AM An Liu  wrote:
>
> Hi, List
>
> Image the following case
>
> What I Have.
> a USB stick with
> 1.  a portable GRUB (either UEFI or legacy)
> 2.  a install ISO, such as debian-9.9.0-amd64-DVD-1.iso (mayb would e
> a LiveCD make life easier?)
>
> What we want.Have Debian installed (could assume that we could do
> whatever we could, such as re-partitation the whole harddisk)
>
>
> The Answer to this question is most probably yes, but how.
>
>
> The work around is to boot with  vmliunz and initrd.gz from
> http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/hd-media/
> the cost is very small as these two file size total is less than 20M
>
>
> I wonder if there is a way to finish install only in GRUB, without
> initrd involved
>
>
>
>
>
>
>
> --
> Liu An



-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, Richard

Thank you for you information,

> https://www.debian.org/releases/stable/amd64/ch03s05.html.en
>
> Chapter title: Before Installing Debian GNU/Linux
> Section Title: Pre-Partitioning for Multi-Boot Systems

Still doesn't get you point. What i mentioned is the USB stick which would turn
into install media. nothing relate to re-partition.

-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, Pascal,

> Downloading vmlinuz is not required. You can get it from the ISO image.
yes.

> > I wonder if there is a way to finish install only in GRUB, without
> > initrd involved

maybe more precisely, without initrd.gz from hd-media involved,  but
could use initrd.gz from the
ISO file we have.



> The initrd.gz included in Debian installer ISO images cannot read files
> from an ISO image, only from a plain drive or partition. This is why you
> need an initrd.gz for hd-media. Note that there may also be restrictions
> about the supported filesystem types containing the ISO image.
yes, that's why i ask this question.

The initrd.gz from iso can't locate iso file, but i can. how can let
the install process know
where the iso file is.

The initrd.gz from hd-media can locate iso file by iso-scan, but it
would scan all dev
over. it takes a while. it does works as automation work, but if i
could tell the iso file location,
why not?  (hd-media + iso is my preferred way to install debian,
though, i always have a bootable USB
along with me)



-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, Greg,
It really helps, thank you

On Fri, May 10, 2019 at 6:13 AM Greg Wooledge  wrote:
>
> On Fri, May 10, 2019 at 03:52:34AM -0600, An Liu wrote:
> > 1. Could I install debian from chroot enviroment while i'm in another
> > linux dist
> > (such as CentOS, SUSE,  RHEL ...), or vice versa.
>
> https://www.debian.org/releases/stretch/amd64/apds03.html.en
>


-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
> What worries me about this thread is that the OP (who doesn't seem to
> know how the various parts of the d-i are meant to work together) has

I don't know what's d-i mean (short for ?)

> just last week posted a recipe claiming to install Debian using only
> vmlinuz and initrd¹,
no, you need iso file as well.
> and a method of copying a Windows installation
> .iso image to a USB stick involving "rm"ing something, though never
> specifying exactly what is removed.
if you use  cp debian.iso /dev/sdb, or dd,
the file on the USB stick would be erased. if you take my way, it just
mixed the orignal one
with the install media.
>  I also have no idea what
> "destroy kvm prepend nothing happens" means².

I'm sorry to have you worried.
To create a UEFI bootable windows install media is nothing related
with this post

If you don't buy a copy of Windows, you would probably need to destroy
the windows
installation, As soon as we finished create install media from
windows, you definitely
should delete your installation in the grace period.



> https://lists.debian.org/debian-user/2019/05/msg00032.html
>
> ²
> https://lists.debian.org/debian-user/2019/05/msg00103.html
>
> Cheers,
> David.
>


-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, Jonas

> Ah, ok.  Then you probably want to play with debootstrap (or one of the
> many wrapper tools around that, or alternatives to it like multistrap or
> mmdebstrap), add compare the result of that with a debian-installer
> installation to understand what you are missing (e.g. a boot loader and
> various tweaks to files below /etc).
>
>
> It sounds like perhaps you would be interested in joining the Tinker
> team: https://wiki.debian.org/DebianTinker
Sound interesting, I'll look into that :), thank you.



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, Joe

Thank you
> The current (and presumably all future) stable installation images will
> install either in legacy mode or UEFI. Just transfer the image to the
> stick (the whole stick, not a partition of it) and it should Just Work.
'Should just Work' is not what i care in this question, so far debian installer
 works quite for me without any issue

> Transfer can be done in Linux by cat, dd, cp or presumably other
> methods. There is also a Windows utility (win32diskimager) which will
> copy images to USB sticks.
Yes, i use dd or cp to create install media for formal case, because it's the
recommended way which tested quite well.

Actually the question could extend in several ways, such as

1. Could I install debian from chroot enviroment while i'm in another
linux dist
(such as CentOS, SUSE,  RHEL ...), or vice versa.
2. Could I boot A LiveCD without burn it to some media

These are not typically problems bother me, but something interesting
to play with,  LOL

-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi Brain

> Adapt
>
> https://wiki.debian.org/Installation+Archive+USBStick?highlight=%28shared%2Fask_device%3Dmanual%29
>
> to your needs?

Yes, the section 'Using GRUB's Loopback Facility' should have
something I'm after.
Thank you

-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
> Sorry, I don't understand: what do you want different from running
> debian-installer?
>

In short,just for fun

longer answer,

1. want to know what a installation process (e.g. bootable iso) actually do
for us 。
2.Find some clues if the automation setup fails,what we could do next







>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private
>
-- 
Liu An


Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, List

Image the following case

What I Have.
a USB stick with
1.  a portable GRUB (either UEFI or legacy)
2.  a install ISO, such as debian-9.9.0-amd64-DVD-1.iso (mayb would e
a LiveCD make life easier?)

What we want.Have Debian installed (could assume that we could do
whatever we could, such as re-partitation the whole harddisk)


The Answer to this question is most probably yes, but how.


The work around is to boot with  vmliunz and initrd.gz from
http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/hd-media/
the cost is very small as these two file size total is less than 20M


I wonder if there is a way to finish install only in GRUB, without
initrd involved







-- 
Liu An



Re: Emacs in GUI from two different users.

2019-05-06 Thread An Liu
I'm not cheating you. Have a try before you type.

After you create .Xauthority manually,  ssh -X could work, though
'auth add' still fails
why not try it yourself?

following  shows 'ps -ef'  and 'XDG_SESSION_TYPE'

source@debian:~$ ps -ef |grep Xwayland
Debian-+  3802  3782  0 08:10 tty1 00:00:00 /usr/bin/Xwayland
:1024 -rootless -noreset -listen 4 -listen 5 -displayfd 6
source4062  4043  2 08:10 tty3 00:00:37 /usr/bin/Xwayland :0
-rootless -noreset -listen 4 -listen 5 -displayfd 6
source6556  6528  0 08:36 pts/500:00:00 grep Xwayland


source@debian:~$ echo $XDG_SESSION_TYPE
wayland
source@debian:~$

On Mon, May 6, 2019 at 8:28 AM Francisco M Neto  wrote:
>
> On Mon, 2019-05-06 at 07:54 -0600, An Liu wrote:
> > Partly right, Debian 9.9 tested
>
> Debian 9.9 uses X.Org.
>
> This kind of operation is not possible in Wayland.
>
> --
> []'s,
>
> Francisco M Neto
>
> GPG: 4096R/D692FBF0



-- 
Liu An



Re: Emacs in GUI from two different users.

2019-05-06 Thread An Liu
Partly right, Debian 9.9 tested

'xhost' still works, while 'xauth' and 'ssh -X' fail

foo>
xhosts +

goo>
export DISPLAY=:0
emacs

this could start emacs in GUI for goo






On Mon, May 6, 2019 at 6:48 AM Francisco M Neto  wrote:
>
> I believe that only works if you're using X.Org. In Wayland that kind of
> thing does not exist.
>
> --Francisco
>
> On Sat, 2019-05-04 at 02:46 +0200, An Liu wrote:
> >
> > HI,
> > short answer is yes,you can have both emacs displayed in GUI
> >
> >  i think the problem is when you switch to goo,the auth  to DISPLAY is
> > lost
> >
> > it depends much on how you switch to goo from foo
> >
> > btw,
> > i guess you login to foo with display-manager such as gdm or something
> > alike,and switch to goo with su
> >
> > serveral ways
> > a little tricky but simple to work
> > 1. switch to goo via ssh -X goo@localhost
> > 2. try to start emacs in this session
> >
> >
> > the 2nd one is to use xauth to deal with X permission
> >
> > 1. as foo
> > echo $DISPLAY (typically you will get :0)
> > xauth list (remember the hexcode )let's say $hex
> > 2. as goo
> > export DISPLAY=:0 (or what you actually get in 1)
> > xauth add :0 . $hex (easiest way is just do a copy-and-paste)
> > 3. try to start emas in this session
> >
> >
> > you can also use “xauth merge” or “xhost”,but the principle is the
> > same
> >
> >
> > On Fri, May 3, 2019 at 23:14 aprekates  wrote:
> > >   hi. in debian 9 i start emacs as user foo from the terminal and
> > > the
> > > gui start up. i start emacs from the terminal as another user goo
> > > and
> > > the text version comes.
> > >
> > > Can both users have their own gui emacs sessions ?
> > >
> > >
> > > Alexandros
> > >
> > >
> >
> > --
> > Liu An
> --
> --
> []'s,
>
> Francisco M Neto 
>
> GPG: 4096R/D692FBF0



-- 
Liu An



Re: Buster boot failed on Thinkpad P52 after installing GDM3

2019-05-05 Thread An Liu
>From error message ,it seems grub cant locate it‘s stage2 file


that indicate you dont have grub proper installed,did you remove or change
harddisk?

kernel arch is amd64 but grub i386-pc,and from the error it's a efi
installation

are you trying to boot from legacy while installation is under EFI

btw,how did you get dmesg ,while the boot stop at grub

i think a reinstallation of grub would fix this


On Sun, May 5, 2019 at 15:02 Georgi Naplatanov  wrote:

> On 5/5/19 3:29 PM, John Mok wrote:
> > Hi,
> >
> > I would like to install Buster with GDM3 on Thinkpad P52 :-
> >
> > Buster with minimal installation
> >
> >> apt-get install gdm3
> >
> > The system failed to boot with the following error messages :-
> >
> > error: file `/i386-pc/all_video.mod' not found
> > error: file `/i386-pc/gzio.mod' not found
> > error: file `/i386-pc/part_msdos.mod' not found
> > error: file `/i386-pc/ext2.mod' not found
> > error: invalid file name `P[F`gLF/i386-pc/echo,mod'.
> > error: invalid file name `@/XF`gLF/i386-pc/linux,mod'.
> > error: invalid file name `P[F`gLF/i386-pc/echo,mod'.
> > error: invalid file name `?9XF`gLF/i386-pc/linux,mod'.
> >
> > Press any key to continue...
> >
> > I hope someone could point me the solution (dmesg attached).
> >
>
> Hi John,
>
> probably booting issue is somewhere else, not in GDM.
>
> I'm not sure which package has given these error messages but if it was
> GRUB, just try to reinstall it. Even you can try to install EFI version
> of GRUB.
>
> By the way it seems that GDM has a bug in Buster so if you are a GNOME
> user then you can consider to use LightDM
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no=897975
>
> Kind regards
> Georgi
>
> --
Liu An


Re: Trouble making bootable USB from ISO image

2019-05-04 Thread An Liu
Hello,
from my experience
cp windows.iso /dev/sdf should work for windows version higher than win
7,and not work for xp


What i usually do is the best following way rather tban cp or dd because it
preserve my disk table ,i only need do rm (or not even you dont bother
install media in root partition table,leave it as in case you need it a
second time,data still can be add or remove as regular ones)
mkdir /mnt/usb -p
mkdir /mnt/iso -p

1)format the /dev/sdf1 as fat32
2)mount windows iso, either automount to /media/xxx or mount -o loop
windows.iso /mnt/iso
mount /dev/sdf1 /mnt/usb

3)cp -r /mnt/iso/* /mnt/usb

and this device should be bootable from UEFI

hope it helps


== you cant see the following ==

1)install from window.iso in kvm ,you should have 1 month trial before
activate
2)download ms usb creator
3)create media within windows 10
4)destroy kvm prepend nothing happens












On Fri, May 3, 2019 at 18:50 Mark Fletcher  wrote:

> Hello
>
> I'm trying to use Stretch to write a .ISO image to a USB device. The
> image is the Windows 10 installer (please don't flame me! It's part of
> an education project for my son!) which I downloaded from Microsoft, and
> which they claim should be able to be written to a USB device. Microsoft
> would have me write the ISO using a tool of theirs, but since I don't
> have another Windows device that isn't possible. They say that in that
> case the ISO can be written to a pen drive using OS-specific tools.
>
> I'm attempting to test the image before booting the installer on the
> final computer earmarked for sacrifice to this project. The computer I
> am testing on has successfully booted from a pen drive before and the
> pen drive I am using has been used to boot this computer before, albeit
> not this image.
>
> After downloading the .iso file, I plugged in the USB stick. Because it
> had something recognisable on it already, it auto-mounted. It was
> assigned device /dev/sdf and mounted somewhere under /media, I don't
> remember the exact path.
>
> So as root I did:
>
> cp  /dev/sdf
>
> and waited a while. Eventually the copy finished (the ISO is between 5
> and 6 GB, the capacity of the drive is 16GB). Then I did
>
> eject /dev/sdf
>
> and after a long wait, that command came back with no errors. I then
> removed the drive.
>
> On plugging the drive back in, Stretch can recognise there is a
> filesystem on it and mount it. I can see the usual efi structure for
> booting etc.
>
> BUT, the test computer refuses to recognise it as bootable. The BIOS can
> evidently see the device is there and is an option to boot from, but
> when I try it fails and falls back to the machine's internal hard disk.
> If I disable booting from the hard disk in the BIOS, it fails to boot at
> all with an error message essentially saying "give me something to boot
> from".
>
> There is some discussion on the internet suggesting that the pen drive
> additionally needs to be marked as bootable. I thought that was an old
> pre-GPT partitioning thing, and I also would have thought that if it
> were relevant the .ISO image should contain the necessary settings, but
> hey I'll try anything once... gparted was suggested as the tool to mark
> the partition as bootable but when I fire up gparted it doesn't seem to
> recognise the pen drive as it says the 16GB pen drive is "14.7GB
> unnallocated" and says there is no partition table on it. This despite
> the fact that it auto-mounts when I stick it in while Stretch is
> running...
>
> I'm confused whether the problem is in something I did or didn't do
> while copying the ISO image, or if there is something I need to set in
> the BIOS to get it to boot (I have a dim memory of fannying around with
> various settings a very long time ago when I first got booting from USB
> to work, and the CMOS battery on this motherboard has died at least once
> since then). I'm extremely doubtful that the ISO image just doesn't
> work, and I know for a fact that this computer can be persuaded to boot
> from a pen drive and that this pen drive has been used successfully in
> the past.
>
> Any suggestions of what I could do to diagnose the problem?
>
> Thanks in advance
>
> Mark
>
> --
Liu An


Re: Emacs in GUI from two different users.

2019-05-03 Thread An Liu
HI,
short answer is yes,you can have both emacs displayed in GUI

 i think the problem is when you switch to goo,the auth  to DISPLAY is lost

it depends much on how you switch to goo from foo

btw,
i guess you login to foo with display-manager such as gdm or something
alike,and switch to goo with su

serveral ways
a little tricky but simple to work
1. switch to goo via ssh -X goo@localhost
2. try to start emacs in this session


the 2nd one is to use xauth to deal with X permission

1. as foo
echo $DISPLAY (typically you will get :0)
xauth list (remember the hexcode )let's say $hex
2. as goo
export DISPLAY=:0 (or what you actually get in 1)
xauth add :0 . $hex (easiest way is just do a copy-and-paste)
3. try to start emas in this session


you can also use “xauth merge” or “xhost”,but the principle is the same


On Fri, May 3, 2019 at 23:14 aprekates  wrote:

>   hi. in debian 9 i start emacs as user foo from the terminal and the
> gui start up. i start emacs from the terminal as another user goo and
> the text version comes.
>
> Can both users have their own gui emacs sessions ?
>
>
> Alexandros
>
>
> --
Liu An


Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive?

2019-05-02 Thread An Liu
if you dont want to erase the existing contents of your USB stick (or you
even dont need a USB stick)

then

 grab vmlinuz and initrd from
http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/hd-media/

then place  debian install iso of same version under root partition of disk
(not only work for usb ,but also the partition on sdX you would not destory
in next installation)

reboot with these too vmlinuz and initrd from GRUB (you should have it as
you mentioned existing workable system)


and you are all through,nothing special to iso boot





On Thu, May 2, 2019 at 14:42 Albretch Mueller  wrote:

>  something like:
>
>  1) download the iso's
>
>  2) go:  /dev/sdb
>
>  where "/dev/sdb" is the device a USB disk is linked to
>
>  then you would plug the disk on your computer and take it from there
>
>  For that I used to burn live DVD but there should be a better way
>
>  lbrtchx
>
> --
Liu An


Touchpad doesn't work With lastest Stretch on HP 14cf0xxx

2019-04-25 Thread An Liu
Hi, List

My Problem:
I have installed debian Stretch on HP 14cf0xxx, but touchpad failed to work.
I don't have good understanding on how hardware works, i need your help.
please feel free to ask what log file or what infomation i should
gather to find the problem.


INFORMATION:

doing google didn't bring any hint  for me
I also have lastest CentOS 7 install on the same machine (need reboot
to switch), i can also provide additional infomations under CentOS 7
if that helps
and touchpad shows ELAN1001 under CentOS 7


Thanks in advance for you attention, as i do want to make it work for
my debian :)


-- 
Liu An



NVIDIA driver installation on Debian 8.2

2015-09-27 Thread Liu Gengdai

Hi

I'm a debian newbie. I installed latest Debian with xfce on my laptop. I 
used official DVD-ROM. My graphics card is NV Geforce GT 640M LE. I 
installed 360.65 driver for my graphics card following the instructions 
on wiki:

https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_8_.22Jessie.22

The installation process went well. But once I created Xorg server 
configuration file and restarted, I cannot enter xfce. It says there are 
X-window server errors. If I delete the conf file, I can enter. But 
nvidia configuration setting reports the driver is not working.


Can anybody help me? Thank you very much.

Best regards,
Gengdai



gnome windows became the old style and gnome-terminal's profile disappeared

2013-07-12 Thread Liu Binsheng
Hello all,

I'm using the latest Debian testing. My gnome's window appearance
became the old style after a safe-upgrade. For example LibreOffice and
Chromium have the ugly button style.

GUI of LibreOffice: http://imgur.com/gbzgwAB
GUI of Chromium: http://imgur.com/E4U50Pn

Another problem appears that gnome-terminal's original profile
disappeared and my configurations were lost. Instead, a profile with
the name Unnamed and ID b1dcc9dd-5262-4d8d-a863-c897e6d979b9 is
shown. And gnome-terminal doesn't respond to any keyboard shortcut
such as Alt-F and Alt-E which should trigger the menus.

Gnome-terminal's profile preference: http://imgur.com/cfGMnXC

I've tried to analyze .xsession-errors, and tried to install
gtk2-engines-pixbuf according to the error messages. That actually
makes the appearance better but I don't think that's the root of the
problem.

.xsession-errors: http://paste.debian.net/15771/

Could you please provide some hints on this problem?

-- Liu Binsheng
liubinsh...@gmail.com


-- 
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/20130712175606.GA5365@debian



Debian Etch(Kernel 2.6.24) Can't insatll on Ivy bridge platform

2012-10-17 Thread richie . jf . liu

Dear,

When we install Debian Etch(Kernel 2.6.24) on Intel Ivy Bridge platform, it
pop out warning message: no mount CD-ROM can be found. If we install this
OS with Sandy Bridge platform, it works fine. but now, we need update to
Ivy Bridge platform. we are facing this problem now. Any suggestions? Or
anybody knows if kernel 2.6.24 support Intel Ivy Bridge platform? Thanks in
advance and any suggestions will be highly appreciated!

If there is attached Zip files in the email, the password is 123456.

Thanks for your kindly support,any concern,please contact me.

Best Regards !
Richie Liu刘江凡
AE/RD/ABD/PCEBG
FOXCONN TECHNOLOGY GROUP
Tel:+86(755) 27708000 ext 88958
Mobile:137-6030-1861
Mail:richie.jf@mail.foxconn.com

本��子�]件及附件所�d信息均�楸C苄畔�,受合同保�o或依法不得��漏。其�热��H供
指定收件人按限定或特殊目的使用。未��授�嗾呤盏酱诵畔⒕��o�嚅��x、 使用、
�}�u、��漏或散�选H裟�因�檎`�鞫�收到本�]件或者非本�]件之指定收件人,��即刻
回覆�]件或致��Super Notes�]件客服�峋� 560-104,�K永久�h除此�]件及其附件和�N
��所有�}印件。�x�x您的合作!
This e-mail message together with any attachments thereto (if any) is
confidential, protected under an enforceable non-disclosure agreement,
intended only for the use of the named recipient(s) above and may contain
information that is privileged, belonging to professional work products or
exempt from disclosure under applicable laws.Any unauthorized review, use,
copying, disclosure, or distribution of any information contained in or
attached to this transmission is STRICTLY PROHIBITED and may be against the
laws. If you have received this message in error, or are not the named
recipient(s), please immediately notify the sender by e-mail or telephone
at Super Notes support hotline 560-104 and delete this e-mail message and
any attached documentation from your computer. Receipt by anyone other than
the intended recipient(s) is not a waiver of any attorney-client or work
product privilege. Thank you!


mail from ip--10.141.106.42
mail from pc--APDME099
Version: Super Notes 1.4.1.2B

Re: Ctrl-/ interpreted as Backspace in text console

2012-03-11 Thread Liu Binsheng
On Sat, Mar 10, 2012 at 10:39:27PM +0100, Florian Kulzer wrote:
 On Sun, Mar 11, 2012 at 00:56:12 +0800, Liu Binsheng wrote:
  Hi,
  
  When I press Ctrl-/ in the text console, it deletes a char like
  backspace. But if I use Gnome and press Ctrl-/ in gnome-terminal,
  Ctrl-/ behaves normally.
 
  [...]
 
  Here's the results of running `showkey -a` in text console:
  
  Press any keys - Ctrl-D will terminate this program
  
  ^?  127 0177 0x7fwhen pressing Ctrl-/
  ^?  127 0177 0x7fwhen pressing Backspace
  /47 0057 0x2fwhen pressing /
  ?63 0077 0x3fwhen pressing ?
  ^D4 0004 0x04Ctrl-D
  
  The results of running `showkey -a` in gnome-terminal:
  
  Press any keys - Ctrl-D will terminate this program
  
  ^_   31 0037 0x1fwhen pressing Ctrl-/. result differs
  ^?  127 0177 0x7fwhen pressing Backspace
  /47 0057 0x2fwhen pressing /
  ?63 0077 0x3fwhen pressing ?
  ^D4 0004 0x04Ctrl-D
  
  This problem is very annoying because I bind Ctrl-/ to undo in
  emacs. Could you please provide any suggestions to make Ctrl-/ not
  behave like backspace?
 
 You can try
 
   echo control keycode 53 = Control_underscore | loadkeys
 
 as root to assign keysymbol 0x1f to the Ctrl-/ combination on the text
 console, assuming that / has keycode 53 on your system, which you can
 verify with showkey -k.
 
 I have no idea how this modification interacts with emacs, but it should
 ensure the same behavior on text consoles as in gnome terminal, which
 seems to be what you want to achieve if I understand you correctly.
 

Thanks a lot. I added it to rc.local, and it works. And I found the
reason here [1].

Maybe I should learn more about keymaps.

[1]  
http://stackoverflow.com/questions/7617866/emacs-doesnt-recognize-c-in-shell-over-ssh

-- 
Liu Binsheng liubinsh...@gmail.com


-- 
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/20120312023500.GA3300@debian



Ctrl-/ interpreted as Backspace in text console

2012-03-10 Thread Liu Binsheng
Hi,

When I press Ctrl-/ in the text console, it deletes a char like
backspace. But if I use Gnome and press Ctrl-/ in gnome-terminal,
Ctrl-/ behaves normally.

My laptop is ASUS A8 series. It uses a normal keyboard.
 
I've installed console-setup, and these are the valid lines in
/etc/default/keyboard:

XKBMODEL=asus_laptop
XKBLAYOUT=us
XKBVARIANT=
XKBOPTIONS=ctrl:nocaps
BACKSPACE=guess

Here's the results of running `showkey -a` in text console:

Press any keys - Ctrl-D will terminate this program

^?  127 0177 0x7fwhen pressing Ctrl-/
^?  127 0177 0x7fwhen pressing Backspace
/47 0057 0x2fwhen pressing /
?63 0077 0x3fwhen pressing ?
^D4 0004 0x04Ctrl-D

The results of running `showkey -a` in gnome-terminal:

Press any keys - Ctrl-D will terminate this program

^_   31 0037 0x1fwhen pressing Ctrl-/. result differs
^?  127 0177 0x7fwhen pressing Backspace
/47 0057 0x2fwhen pressing /
?63 0077 0x3fwhen pressing ?
^D4 0004 0x04Ctrl-D

This problem is very annoying because I bind Ctrl-/ to undo in
emacs. Could you please provide any suggestions to make Ctrl-/ not
behave like backspace?
-- 
Liu Binsheng liubinsh...@gmail.com


-- 
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/20120310165612.GB6053@debian



: debian-user@lists.debian.org :READY ???

2010-08-31 Thread ZHANG LIU
I am Zhang, Asst. Head of Operations Bank of East Asia Hong Kong. Though I do 
not know to what extent you are familiar with events. I have a project worth 
$22.7M for you, to be transferred to an offshore account with your assistance 
if willing. After the successful transfer, we shall share in ratio of 50%/ 50%. 
Should you be interested, Contact me for detailed information, so we can 
commence all arrangements regarding this project and how we would handle it. 
You will be required to send me the following information for documentation 
purpose:

I look forward to hearing from you.


LED Gas prices Signs

2010-03-31 Thread Aaron Liu
Dear Sirs
 
Hope you everything is going on well.
 
We put our new LED Gas/Oil Price signs into production. Please note details as 
follows: 
 
Features:
1. High brightness (5000cd/m2).
2. Wide Viewing Angle, +100 degree.
3. Able to show ¡°0,1,2,3,4,5,6,7,8,9,A,b,c,d,E,f,- ,Space,Dot¡±.
4. Programmable via remoter or PC. 
5. Support Cursor, Full Screen Editor. 
6. Auto Brightness or Manual Brightness.
7. 8 Class Brightness. 
8. Can be double side or single side
9. These digits are to be arranged freely by you.
 
Hurry up to contact us, please don't miss this chance to boom your business.

Your sincerely 

Aaron Liu

Sales Manager
Lycoin Electronic Limited
Add: Room 28B, Block Xiangfen, Xiangbin Square, Bao'an District, Shenzhen, 
China 
http://www.lycoin.com
Email: aa...@lycoin.com
MSN: liuchunlin...@hotmail.com
Tel: 0086-755-27780606
Mobile: 0086-13590402092
Fax: 0086-755-27780606


-- 
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/0127d984$40268$05b46653215...@aaronliu



Large font on display

2010-02-26 Thread Stephen Liu
Hi folks,


Mobo - Asus M4A78T-E
CPU - Phenom II X4 955
RAM - DDR3 1333 dualchannel 8G
Display - Samsung 2494
Debian 504 64bit

Hi folks,

Where can I download respective drivers.  Linux drivers coming with the mobo 
can't work.  There is no driver for Linux on the CD coming with the display.  
Fonts becomes very large even selecting 8.  The screen can't expand to the 
full size of the display.  However resolution is correct.  Please help.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: Large font on display

2010-02-26 Thread Stephen Liu
Hi Camaleón,

I thinks the problem is on the onboard video card.  

M4A78T-E
Brand New Design Optimized for AM3 CPU
http://www.asus.com/product.aspx?P_ID=cf8IZzbU4m6GHKnW

It runs ATI Radeon HD 3300 GPU chipset.

DVI connection works normal.  HDMI connection is terrible.  It is impossible 
for me to set the display

B.R.
Stephen L





From: Camaleón noela...@gmail.com
To: debian-user@lists.debian.org
Sent: Fri, February 26, 2010 6:36:25 AM
Subject: Re: Large font on display

On Fri, 26 Feb 2010 02:20:29 -0800, Stephen Liu wrote:

 Where can I download respective drivers.  Linux drivers coming with the
 mobo can't work.  There is no driver for Linux on the CD coming with the
 display.  Fonts becomes very large even selecting 8.  The screen can't
 expand to the full size of the display.  However resolution is correct.

Can you please provide more information on?

- VGA adapter and driver
- Screen optimal resolution and your current resolution
- Using VGA or DVI
- A snapshot of the screen
- DE environment
- DPI
- Font face and font size setup

Greetings,

-- 
Camaleón


-- 
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/pan.2010.02.26.14.36...@gmail.com

Send instant messages to your online friends http://uk.messenger.yahoo.com 

LED Table signs

2010-02-02 Thread Aaron Liu
Dear Friend
 
Hope you are in good health.
 
In this harvest season, our LED Table Signs is the most eye-catching products. 
And it is very popular in the market now. We hope the LED Table Signs can boom 
your business. Please note details as follows:
Model: LED Table Signs (LY-1664R)
1. Size(mm):110(H)x310(W)x21(D)
2. Pixel: 16x64 dots
3. Color: red ( There are blue and double-color model, optional)
4. Operating System: Windows XP/98/2000
5. Display Languages: English, Japanese, Korean, Russian, Spanish and all 
languages in EU.
6. Store up to 6 messages, 2 pictures and max 1500 English characters.
7. Varies expression such as snowing, moving, static and flash
8. 11 lively carton icons
9. 5 grade display speed and 4 grade brightness, optional
10. USB comunication, and it can be recharged by USB too
11. Enable to work for 16 hours continously(25% brightness) after recharge for 
3 hours.
12. Applications: meeting, shopping-mall, bar, hotel, school etc..
 
We also have 16x48, 16x96, 16x128 dots models. I will send you more details if 
you are interested in it. Please feel free to contact with us if you have any 
questions.
 
Your sincerely 
Aaron Liu

Sales Manager
Lycoin Electronic Limited
Add: Room 28B, Block Xiangfen, Xiangbin Square, Bao'an District, Shenzhen, 
China 
http://www.lycoin.com
Email: aa...@lycoin.com
MSN: liuchunlin...@hotmail.com
Tel: 0086-755-27780606
Mobile: 0086-13590402092
Fax: 0086-755-27780606



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



LED Gas/Oil Signs

2009-11-02 Thread Aaron Liu
Dear Sir/Madam

(If you are not responsible for purchasing, please kindly give us a big hand by 
forwarding this email to relevant personnel. By doing so, you may have a new 
product to sell, boosting your sales)

This is Aaron Liu, sales manager of Lycoin Electronic Limited. We would like to 
introduce Lycoin as a fantastic LED manufacturer to you. As a top leading 
company, Lycoin dedicate to LED manufacture for  years. We are providing all 
kinds of custom/OEM/ODM services for LED Lighting and LED Display solutions. Go 
to our website, and send us your inquiry if any of our products finds your 
interest.  There's nothing to lose, so why wait another minute?  We are sure 
that you will have great benefits from this business opportunity.

Our products include:
1. LED Bulb (E27, Gu10, MR16, B22)
2. LED Strip Light
3. LED Tube Lighting
4. LED Car Display
5. LED Projection Lamp
6. LED Moving Sign
7. LED Gas Signs
etc..

For more information, warmly welcome to our website www.lycoin.com. We thank 
you very much for your attention and looking forward to your reply soon.

Your sincerely 
Aaron Liu

Sales Manager
Lycoin Electronic Limited
Add: Room 28B, Block Xiangfen, Xiangbin Square, Bao'an District, Shenzhen, 
China 
http://www.lycoin.com
Email: aa...@lycoin.com
MSN: liuchunlin...@hotmail.com
Tel: 0086-755-27780606
Mobile: 0086-13590402092
Fax: 0086-755-27780606


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to get all dependent source packages

2009-07-19 Thread sha liu
2009/7/19 Osamu Aoki os...@debian.org

 Hi,

 On Thu, Jul 16, 2009 at 07:46:59PM +0800, sha liu wrote:
  Hi everyone,
What I want to do is:
If I want to build a package(for example dpkg) from source, how
  should I recursively get all the dependent *source* packages of it?
  This means not only the direct dependency of the package but also the
  dependent of the dependent...I know apt-get build-dep will only
  *install* the dependent *binary* packages.

 Do you really mean ALL.  You should start with build-essential
 packages if you mean to say all build-dep packages.  But I do not know
 why you do this.  You are doing cross compile.  I do not see point of
 downloading source for all build-dep.

I  just to build the dpkg. So I think getting all source packages of
build-dep is the first step. Then I'll build and install the build-dep and
finally build dpkg. Is this the way to go?



 I guess this is best answered by reading CLFS itself.  I am no expert.

I want to do this because I need to build dpkg on a CLFS system
  (think it as a minimal linux system without debianization), and it's
  crazy to download all dependent source packages of dpkg, right?

 Not really if you need dpkg as you say for your system. After all you
 asked to have Cross-Compiled Linux From Scratch (a.k.a CLFS).

Yeah, I just realize that. Thanks for your re-confirmation :-)


 If you are building installation image only, you may not need dpkg.

Why not? I thought installation image should prepare all essential  packages
which definitely includes dpkg if it's a Debian image, right?



 Anyway, please google and ead things like:

  http://cross-lfs.org/view/clfs-embedded/x86/index.html

 Osamu




--
Best,
Sha Liu


How to get all dependent source packages

2009-07-16 Thread sha liu
Hi everyone,
  What I want to do is:
  If I want to build a package(for example dpkg) from source, how
should I recursively get all the dependent *source* packages of it?
This means not only the direct dependency of the package but also the
dependent of the dependent...I know apt-get build-dep will only
*install* the dependent *binary* packages.
  I want to do this because I need to build dpkg on a CLFS system
(think it as a minimal linux system without debianization), and it's
crazy to download all dependent source packages of dpkg, right?
--
Best,
Sha Liu


How to Type French Accents

2009-07-15 Thread Stephen Liu
Hi,


Debian 5.0
Gnome


Est-ce que gens peuvent me conseiller comment dactylographier les caractères 
français sur le clavier international ?


URL suivante ne fonctionne (travailler/faire travailler ?) pas pour moi;

How to Type French Accents
http://french.about.com/od/writing/ss/typeaccents_7.htm

J'ai essayé sur Éditeur de texte et OOWriter.

Merci d'avance

Cordialement
satimis 


Hi folks,

Debian 5.0
Gnome


Can any folk advise me how to type french characters on Internation keyboard ?

Following URL doesn't work for me;

How to Type French Accents
http://french.about.com/od/writing/ss/typeaccents_7.htm

I tried it on Text Editor and OOWriter.

TIA

B.R.
satimis




Send instant messages to your online friends http://uk.messenger.yahoo.com 

How to install X packages collectively

2009-04-27 Thread Stephen Liu

Hi folks,


Debian 5.0 minimal
No desktop


What option shall be up to run either apt-get install or aptitude
install installing X packages collectively.  Thanks.


Further more;

# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib

deb http://ftp.us.debian.org/debian/ lenny non-free
deb http://ftp.us.debian.org/debian/ lenny contrib 
* end *

Any additional repo I have to add?  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: why fake raid on motherboards?

2009-04-26 Thread Stephen Liu


--- Mark Allums m...@allums.com wrote:

- snip -


 Only certain editions of Windows can boot from soft raid, and none of
 
 the consumer versions.  Just the server/enterprise ones.
 
 One can use fake/soft raid with cheap add-in cards, like the stuff 
 Highpoint does with their low-end cards.  The advantage is, if your 
 motherboard fails, you can transfer the card to a new motherboard. 
 Since the cards are relatively cheap, you can get more than one, and 
 thus keep a spare around in case the card fails.  Also, some brands 
 maintain compatibility with the older cards in the same family, so
 you 
 may be able to upgrade the card without reformatting the drives.


I ran Highpoint RAID card 7~8 years ago.  It was termed as Software
RAID dislike Adaptec RAID card.  The latter is termed as Hardware RAID
card but very expensive.  It worked without problem.  Later I found not
much advantage on running RAID.  Therefore I ceased running RAID
anymore.


I don't run Windows either.  I can find the replacement on almost all
proprietary software running on Windows.  What I can't find is the
Windows java engine on IE.  Some stupid websites still request visitors
running Windows IE to browse their sites.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



About packages on Lenny repo

2009-04-26 Thread Stephen Liu

Hi folks,


I need following packages to install PSPP graphing interface;


(see)
The following package is required to enable PSPP's graphing features.
.

on;
http://cvs.savannah.gnu.org/viewvc/pspp/INSTALL?revision=1.16root=psppview=markuppathrev=MAIN


libplot, from GNU plotutils
(http://www.gnu.org/software/plotutils/).

Whether it is;
libplplot9 (5.8.0-6) [universe]
Scientific plotting library
???


# apt-cache policy libplplot9
libplplot9:
  Installed: (none)
  Candidate: 5.9.0-8
  Version table:
 5.9.0-8 0
500 http://ftp.us.debian.org lenny/main Packages


pkg-config
(http://pkg-config.freedesktop.org/wiki/)

# apt-cache policy pkg-config
pkg-config:
  Installed: (none)
  Candidate: 0.22-1
  Version table:
 0.22-1 0
500 http://ftp.us.debian.org lenny/main Packages



libglade 
(http://www.jamesh.id.au/software/libglade/), version 2.0 or later.


Whether it is;
libglade2-0 (1:2.6.2-1)
library to load .glade files at runtime
???


# apt-cache policy libglade2-0
libglade2-0:
  Installed: 1:2.6.2-1
  Candidate: 1:2.6.2-1
  Version table:
 *** 1:2.6.2-1 0
500 http://ftp.us.debian.org lenny/main Packages
100 /var/lib/dpkg/status

Already installed.


Optional:- 


libncurses (http://www.gnu.org/software/ncurses/).  Without it,
  PSPP will assume it is running in an 80x25 terminal.

Whether it is;
libncurses5 (5.7+20081213-1)
shared libraries for terminal handling
???


# apt-cache policy libncurses5
libncurses5:
  Installed: 5.7+20081213-1
  Candidate: 5.7+20081213-1
  Version table:
 *** 5.7+20081213-1 0
500 http://ftp.us.debian.org lenny/main Packages
100 /var/lib/dpkg/status

Already installed.


libreadline and libhistory
  (http://tiswww.case.edu/php/chet/readline/rltop.html).  Without
  them, interactive command editing and history features in the
  text-based user interface will be disabled.


Whether it is;
libreadline5 (5.2-3.1)
GNU readline and history libraries, run-time libraries
???

# apt-cache policy libreadline5
libreadline5:
  Installed: 5.2-3.1
  Candidate: 5.2-3.1
  Version table:
 *** 5.2-3.1 0
500 http://ftp.us.debian.org lenny/main Packages
100 /var/lib/dpkg/status

Already installed.


I can't find;
libhistory

Where can I get it?  Thanks


Texinfo (http://www.gnu.org/software/texinfo/), version 4.7 or
  later.  Installing Texinfo will allow you to build PSPP
  documentation in PostScript or PDF format.

# apt-cache policy texinfo
texinfo:
  Installed: (none)
  Candidate: 4.11.dfsg.1-4
  Version table:
 4.11.dfsg.1-4 0
500 http://ftp.us.debian.org lenny/main Packages


Please advise.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Boot Debian to a command line and prevent X from starting on boot

2009-04-24 Thread Stephen Liu


--- Robert Menes viewtiful.icc...@gmail.com wrote:

 Hi folks, I have a Debian lenny-stable install that I need a little
 memory refresher with.
 
 I need to boot and go straight to a terminal, and not start X on
 bootup. I know there was a
 way of doing so, but I forgot (I'm a little rusty and need to not be
 rusty).
 
 Can someone tell me how to just boot and land on the command line,
 bypassing X? Thanks!


Hi Robert,


Whether you meant starting text mode/init 3 at boot whenever you
need but not permanently.  If YES I did it frequently about 5~6 years
ago.  The steps are as follows;

1. Boot your computer into GRUB
2. Highlight the most recent kernel on the list (if having several
kernels)
3. Press e key to edit the commands for that kernel before booting.
4. On the next screen, highlight the line that says kernel
/vmlinuz... and press the e key again.
5. At the END of the line of  grub edit  kernel /vmlinuz... hit the
space bar once (to get a space before typing) and type init 3/3
(without the quotation marks) and then press enter key.
6. You should now be back at the previous screen having init 3/3 at
the end of the line.  Now press the b key to boot into text mode!

# starx   (If login as ROOT start GUI as ROOT.   Just tries to starts
x, regardless of runlevel)


Sorry I'm not working on Debian replying your posting.  I can't check
the above steps for you which I dig out from my database.  HTH


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Repo for downloading PSPP

2009-04-22 Thread Stephen Liu

Hi folks,


Debian Lenny


$ cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib

deb http://ftp.us.debian.org/debian/ lenny non-free
deb http://ftp.us.debian.org/debian/ lenny contrib
* end *


Please advise which repo provides PSPP?  TIA


B.R.
satimis

Send instant messages to your online friends http://uk.messenger.yahoo.com 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Problem running apt-get update

2009-04-22 Thread Stephen Liu

Hi folks,


Debian Lenny


$ cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib

deb http://ftp.us.debian.org/debian/ lenny non-free
deb http://ftp.us.debian.org/debian/ lenny contrib
[/code]# apt-file update
* end *


# apt-file update
Can't get
http://security.debian.org/dists/lenny/updates/Contents-i386.gz

Please advise how to fix the problem. TIA


B.R.
sato,os

Send instant messages to your online friends http://uk.messenger.yahoo.com 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



How to use k3dsurf on debian sid?

2009-03-15 Thread Star Liu
I installed k3dsurf by apt-get install k3dsurf, but it cannot be
launched, is it because my desktop is gnome? thanks.

-- 
My platform is AMD64 with Debian sid and gnome.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



any software for 3D surfaces visualization in debian sid?

2009-03-15 Thread Star Liu
I'm looking for a free software which can draw 3D picture if I setup
mathmetical equations and specify its scope, it's an important part of
my current project. thanks!

-- 
My platform is AMD64 with Debian sid and gnome.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: help! debian sid cannot boot, kerel panic - not syncing

2009-03-11 Thread Star Liu
On Thu, Mar 12, 2009 at 12:50 AM, Star Liu minxinjian...@gmail.com wrote:
 On Wed, Mar 11, 2009 at 8:44 PM, Leandro Doctors ldoct...@gmail.com wrote:
 2009/3/11 Star Liu minxinjian...@gmail.com:
 These days my debian sid amd64 box is not stable, the last time when I
 shutdown, I found some error message say the filesystem is readonly,
 some /var/run/*** files cannot be removed. then after I reboot, my box
 is broken down completely, with the following messages:
 [...]
 Off topic. Please, direct this message to debian-users.

 Cheers,
 L


 after doing e2fsck, the error message becomes:
 ---
 mount: mounting /sys on /root/sys failed: Invalid argument
 run-init: /sbin/init: No such file or directory
 kernel panic - not syncing: Attempted to kill init
 --



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



why /sys cannot be copied?

2009-03-11 Thread Star Liu
The matter is like this: My debian sid in /dev/sda4 was broken this
morning, so I installed a new debian system in a new partition
/dev/sda3, and in the new system, i run /sbin/e2fsck -C 0 -y -c -c
/dev/hda4 to repair the broken system, and it works, after repair, I
can view the content of /dev/sda4, but when i try to boot system by
/dev/sda4, it says:
---
mount: mounting /sys on /root/sys failed: Invalid argument
run-init: /sbin/init: No such file or directory
---
and i fount that the /sys in the broken system is a shell file, but
the /sys in the new system is a folder, so i tried to copy the sys
folder from new system to broken system, by cp /sys /root/OldRoot/sys,
but it says many files in the new sys folder cannot be read! why? how
could I resove the mount: mounting /sys on /root/sys failed: Invalid
argument problem?
also the run-init: /sbin/init: No such file or directory problem? thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: why /sys cannot be copied?

2009-03-11 Thread Star Liu
On Thu, Mar 12, 2009 at 1:55 AM, Sjors Gielen mailingl...@dazjorz.com wrote:
 Johannes Wiedersich wrote:
 Star Liu wrote:
 , but
 the /sys in the new system is a folder, so i tried to copy the sys
 folder from new system to broken system, by cp /sys /root/OldRoot/sys,
 but it says many files in the new sys folder cannot be read! why? how
 could I resove the mount: mounting /sys on /root/sys failed: Invalid
 argument problem?
 also the run-init: /sbin/init: No such file or directory problem? thanks


 /sys is a virtual filesystem that is created by the kernel on boot. It
 is not a real file system on your hard disk. It seems obvious that your
 broken system does not have a valid /sys since it did not manage to boot
 properly. It should be automatically recreated, once your 'old' system
 boots fine.

 HTH,
 Johannes

 Star Liu wrote:
 and i fount that the /sys in the broken system is a shell file

 A shell file? You should remove that file, and create a directory. Sys
 will be mounted upon it automatically.

 Mounting /sys on /root/sys makes no sense - could you paste the
 /etc/fstab of your old system here please?
thank you for your explanation, here is the /etc/fstab of my broken system
-
# /etc/fstab: static file system information.
#
# file system mount point   type  options   dump  pass
proc/proc   procdefaults0   0
/dev/sda4   /   ext3errors=remount-ro 0   1
/dev/hda/media/cdrom0   udf,iso9660 user,noauto 0   0
/dev/scd0   /media/cdrom1   udf,iso9660 user,noauto 0   0
--
seems no /sys, then where does those error message come from?


 Also, not having /sbin/init is much of a problem. Is there a /sbin/init
 in your old system?
yes, there is, it's a 36.5KB executable file.


 Sjors


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



why pop out this window the platform you are running is not supported by this tool?

2009-03-11 Thread Star Liu
My box is debian sid amd64 with desktop gnome, when i performance some
admin on the system by click on a item in System-Administration, it
pops out a window to let me choose my platform, then i choose the
debian gnu/linux, unstable/testing. why it always makes me to choose,
can't it detect it automatically? thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



why sid cannot install openoffice?

2009-03-11 Thread Star Liu
here is the error message:
StarLiu:~# i openoffice.org-writer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  openoffice.org-writer: Depends: openoffice.org-core (= 1:3.0.1-4+b2)
but it is not going to be installed
 Depends: openoffice.org-base-core (=
1:3.0.1-4+b2) but it is not going to be installed
 Depends: libicu38 (= 3.8-5) but it is not installable
 Recommends: openoffice.org-filter-binfilter
but it is not going to be installed
 Recommends: openoffice.org-writer2latex but
it is not going to be installed
 Recommends: openoffice.org-emailmerge but it
is not going to be installed
 Recommends: openoffice.org-math but it is not
going to be installed
E: Broken packages


-- 
My platform is AMD64 with Debian sid and gnome.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Help! My debian sid cannot boot, A manual fsck must be performed

2009-03-10 Thread Star Liu
On Tue, Mar 10, 2009 at 9:47 PM, Douglas A. Tutty dtu...@vianet.ca wrote:
 On Tue, Mar 10, 2009 at 01:21:55PM +0700, Steven Demetrius wrote:
 On Mon, 2009-03-09 at 21:14 +0800, Star Liu wrote:
  When I boot my debian sid 5 minutes ago, I got this error message:
  ---
  /dev/sda4: unexpected inconsistency; run fsck manually.(i.e., without
  -a or -p options)
  fsck died with exit status 4
  failed (code 4)
  An automatic file system check(fsck) of the root filesystem failed. A
  manual fsck must be performed. The fsck should be performed in
  maintance mode with the root filesystem mounted in read-only mode.
  failed!
  ---
 
  i have entered the maintance mode, but i don't know how to recover my
  filesystem. anyone can help me? thank you. this is the first time i
  encounter a serious problem with debian.
 

 Sounds like you have a defective HD.

 Just because fsck conked out?  get real.

 Of course, the problem on Debian is that maintenance mode (i.e.
 single-user-mode) has already tried to mount all filesystems.

 Instead, try this:

 At grub's menu, edit the kernel command line so that you add:

        init=/bin/sh
My debian sid now break more, after I add init-/bin/sh to the kernel
boot line, and reboot, the process dead at this message line:
kernel panic - not syncing: Attempted to kill init!

I cannot log into my system anymore, how could I resolve it? thank you.



 This way, the kernel will boot, the initrd scripts will run, but insead
 of normal init running (with the init scripts), you'll end up with the /
 fs mounte ro and no init scripts having been run.  Its like booting a
 LiveCD without being able to write anything.  You'll be able to run any
 apps in /bin and /sbin.

 You'll get a sh prompt.  Run the following (assuming that your root fs
 is ext2 or ext3):

        /sbin/e2fsck -C 0 -f -y /dev/sda4

 This will run an fsck on /dev/sda4.  -C 0 gives you the progress
 indicator, -f causes it to run even if it looks clean, and -y answers
 yes to all fix? questions.

 If you want to also check the drive for bad blocks, add:

        -c -c

 to the option list.  This will take a long time.

 You may find that e2fsck has to be run a couple of time until no errors
 are reported.

 When you want to exit and try rebooting, since you've dillied with the
 fs, I'd:

        sync

        halt

 Ideally, halt would sync the disks, but the man page says that it can't
 unless /proc is mounted.

 When the system is halted, turn the power off, wait 15 seconds and
 power on.

 Alternatively, if you don't want to halt and power-cycle, but want to
 immediatly try booting, do:

        exec init

 which will terminate your sh process and run the init process.

 Good luck.

 Doug.





 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Help! My debian sid cannot boot, A manual fsck must be performed

2009-03-10 Thread Star Liu
On Wed, Mar 11, 2009 at 8:16 AM, Star Liu minxinjian...@gmail.com wrote:
 On Tue, Mar 10, 2009 at 9:47 PM, Douglas A. Tutty dtu...@vianet.ca wrote:
 On Tue, Mar 10, 2009 at 01:21:55PM +0700, Steven Demetrius wrote:
 On Mon, 2009-03-09 at 21:14 +0800, Star Liu wrote:
  When I boot my debian sid 5 minutes ago, I got this error message:
  ---
  /dev/sda4: unexpected inconsistency; run fsck manually.(i.e., without
  -a or -p options)
  fsck died with exit status 4
  failed (code 4)
  An automatic file system check(fsck) of the root filesystem failed. A
  manual fsck must be performed. The fsck should be performed in
  maintance mode with the root filesystem mounted in read-only mode.
  failed!
  ---
 
  i have entered the maintance mode, but i don't know how to recover my
  filesystem. anyone can help me? thank you. this is the first time i
  encounter a serious problem with debian.
 

 Sounds like you have a defective HD.

 Just because fsck conked out?  get real.

 Of course, the problem on Debian is that maintenance mode (i.e.
 single-user-mode) has already tried to mount all filesystems.

 Instead, try this:

 At grub's menu, edit the kernel command line so that you add:

        init=/bin/sh
 My debian sid now break more, after I add init-/bin/sh to the kernel
 boot line, and reboot, the process dead at this message line:
 kernel panic - not syncing: Attempted to kill init!

 I cannot log into my system anymore, how could I resolve it? thank you.
a more detail error messages:
--
begin: mounting root file system begin:running /scripts/local-top ... done.
begin: running /scripts/local-premount... done
kjournald starting. commit interval  5 seconds
ext3-fs:mount filesystem with ordered data mode.
begin:running /script/local-bottom... done
done.
begin:running /script/init-bottom...done
mount:mounting /sys on /root/sys failed: invaild argument
run-init:/sbin/init:I/O error
kernel panic - not syncing:attempted to kill init!








 This way, the kernel will boot, the initrd scripts will run, but insead
 of normal init running (with the init scripts), you'll end up with the /
 fs mounte ro and no init scripts having been run.  Its like booting a
 LiveCD without being able to write anything.  You'll be able to run any
 apps in /bin and /sbin.

 You'll get a sh prompt.  Run the following (assuming that your root fs
 is ext2 or ext3):

        /sbin/e2fsck -C 0 -f -y /dev/sda4

 This will run an fsck on /dev/sda4.  -C 0 gives you the progress
 indicator, -f causes it to run even if it looks clean, and -y answers
 yes to all fix? questions.

 If you want to also check the drive for bad blocks, add:

        -c -c

 to the option list.  This will take a long time.

 You may find that e2fsck has to be run a couple of time until no errors
 are reported.

 When you want to exit and try rebooting, since you've dillied with the
 fs, I'd:

        sync

        halt

 Ideally, halt would sync the disks, but the man page says that it can't
 unless /proc is mounted.

 When the system is halted, turn the power off, wait 15 seconds and
 power on.

 Alternatively, if you don't want to halt and power-cycle, but want to
 immediatly try booting, do:

        exec init

 which will terminate your sh process and run the init process.

 Good luck.

 Doug.





 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



help! debian sid cannot boot, kerel panic - not syncing

2009-03-10 Thread Star Liu
These days my debian sid amd64 box is not stable, the last time when I
shutdown, I found some error message say the filesystem is readonly,
some /var/run/*** files cannot be removed. then after I reboot, my box
is broken down completely, with the following messages:
-
begin: mounting root file system begin:running /scripts/local-top ... done.
begin: running /scripts/local-premount... done
kjournald starting. commit interval  5 seconds
ext3-fs:mount filesystem with ordered data mode.
begin:running /script/local-bottom... done
done.
begin:running /script/init-bottom...done
mount:mounting /sys on /root/sys failed: invaild argument
run-init:/sbin/init:I/O error
kernel panic - not syncing:attempted to kill init!
---
anyone can help me recover my system? thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Help! My debian sid cannot boot, A manual fsck must be performed

2009-03-10 Thread Star Liu
On Wed, Mar 11, 2009 at 11:07 AM, Bob Cox debian-u...@lists.bobcox.com wrote:
 On Wed, Mar 11, 2009 at 08:25:35 +0800, Star Liu (minxinjian...@gmail.com) 
 wrote:

 On Wed, Mar 11, 2009 at 8:16 AM, Star Liu minxinjian...@gmail.com wrote:
  On Tue, Mar 10, 2009 at 9:47 PM, Douglas A. Tutty dtu...@vianet.ca wrote:

  At grub's menu, edit the kernel command line so that you add:
 
         init=/bin/sh
            

  My debian sid now break more, after I add init-/bin/sh to the kernel
                                              
 It may just be a typo, but init-/bin/sh is not the same as
 init=/bin/sh
yes, in fact I added init=/bin/sh to the kernel command line, but it
seems the boot process haven't come here when it have died.


 --
 Bob Cox.  Stoke Gifford, near Bristol, UK.
 Please reply to the list only.  Do NOT send copies directly to me.
 Debian on the NSLU2: http://bobcox.com/slug/


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to setup ftp server on debian sid?

2009-03-09 Thread Star Liu
On Fri, Mar 6, 2009 at 5:34 PM, Deng Xiyue
manphiz-gu...@users.alioth.debian.org wrote:
 Star Liu minxinjian...@gmail.com writes:

 i cannot install proftpd on sid, and wzdftpd doesn't work correctly.
 does anyone has experience in setting up a ftp server on debian sid? I
 need the function of uploading files and folders. thanks

 Vsftpd works fine.  Check /usr/share/doc/vsftpd/* for docs after
 installing.

I have a problem with the vsftpd now. I can successfully upload files
and folders to ftp server, but those files are with permission 600,
which means that I have to change their permissions to allow read,
it's not convinient, how to make uploaded files with permission 664?
thanks.

 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Aptitude problem when upgrade to lenny

2009-03-09 Thread B. Liu

Hi Daniel,

Just let you know that I used a local university mirror for the upgrade, 
because I don't have internet connection for this machine.

Thanks

Bin

On Fri, 6 Mar 2009, B. Liu wrote:


uname -a
Linux on02--srl 2.6.18-6-amd64 #1 SMP Fri Dec 12 05:49:32 UTC 2008 x86_64 
GNU/Linux


strace -o /tmp/stace dpkg --install 
/tmp/aptitude_0.4.11.11-1~lenny1_amd64.deb
I attached the txt file with this email. Please let me know if the 
attachement was blocked out.


Thanks

Bin

On Fri, 6 Mar 2009, Daniel Burrows wrote:

On Fri, Mar 06, 2009 at 10:46:15AM +, B. Liu bl...@hermes.cam.ac.uk 
was heard to say:
I download the aptitude_0.4.11.11-1~lenny1_amd64.deb package, using dpkg 
to install, it hangs as well. My machines is dell poweredge 1950 64-bit 
Quad core.


 What's the output if you run strace dpkg --install (deb file)?
Note that you'll have to install strace if it isn't already installed.

 Also, what do you get from uname -a?

 Daniel





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Aptitude problem when upgrade to lenny

2009-03-09 Thread B. Liu

Hi Daniel,

Just let you know that I have sorted the problem. I reboot the machine, then 
tried tha command again, then it worked, I have been able to login to the new 
lenny.

Thanks for your help.

All the best

Bin

On Mon, 9 Mar 2009, B. Liu wrote:


Hi Daniel,

Just let you know that I used a local university mirror for the upgrade, 
because I don't have internet connection for this machine.


Thanks

Bin

On Fri, 6 Mar 2009, B. Liu wrote:


uname -a
Linux on02--srl 2.6.18-6-amd64 #1 SMP Fri Dec 12 05:49:32 UTC 2008 x86_64 
GNU/Linux


strace -o /tmp/stace dpkg --install 
/tmp/aptitude_0.4.11.11-1~lenny1_amd64.deb
I attached the txt file with this email. Please let me know if the 
attachement was blocked out.


Thanks

Bin

On Fri, 6 Mar 2009, Daniel Burrows wrote:

On Fri, Mar 06, 2009 at 10:46:15AM +, B. Liu 
bl...@hermes.cam.ac.uk was heard to say:
I download the aptitude_0.4.11.11-1~lenny1_amd64.deb package, using dpkg 
to install, it hangs as well. My machines is dell poweredge 1950 64-bit 
Quad core.


 What's the output if you run strace dpkg --install (deb file)?
Note that you'll have to install strace if it isn't already installed.

 Also, what do you get from uname -a?

 Daniel







--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Help! My debian sid cannot boot, A manual fsck must be performed

2009-03-09 Thread Star Liu
When I boot my debian sid 5 minutes ago, I got this error message:
---
/dev/sda4: unexpected inconsistency; run fsck manually.(i.e., without
-a or -p options)
fsck died with exit status 4
failed (code 4)
An automatic file system check(fsck) of the root filesystem failed. A
manual fsck must be performed. The fsck should be performed in
maintance mode with the root filesystem mounted in read-only mode.
failed!
---

i have entered the maintance mode, but i don't know how to recover my
filesystem. anyone can help me? thank you. this is the first time i
encounter a serious problem with debian.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Help! My debian sid cannot boot, A manual fsck must be performed

2009-03-09 Thread Star Liu
On Mon, Mar 9, 2009 at 9:14 PM, Star Liu minxinjian...@gmail.com wrote:
 When I boot my debian sid 5 minutes ago, I got this error message:
 ---
 /dev/sda4: unexpected inconsistency; run fsck manually.(i.e., without
 -a or -p options)
 fsck died with exit status 4
 failed (code 4)
 An automatic file system check(fsck) of the root filesystem failed. A
 manual fsck must be performed. The fsck should be performed in
 maintance mode with the root filesystem mounted in read-only mode.
 failed!
 ---

 i have entered the maintance mode, but i don't know how to recover my
 filesystem. anyone can help me? thank you. this is the first time i
 encounter a serious problem with debian.

i have fixed it, just exe fsck /dev/sda4 and press enters :)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



how to compile gtk+ programs?

2009-03-08 Thread Star Liu
I'm trying to build a sample gtk+ program on debian sid amd64, by
following the tutorial from gtk.org, but get this error:

Desktop:~/eclipseworkspace/DebianCPlus/src# gcc -o Gtk Gtk.c
`pkg-config --libs --cflags gtk+2.0`
Package gtk+2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+2.0' found

I have installed libgtk2.0-dev, how to resolve the error? thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to compile gtk+ programs?

2009-03-08 Thread Star Liu
On Sun, Mar 8, 2009 at 5:24 PM, Star Liu minxinjian...@gmail.com wrote:
 I'm trying to build a sample gtk+ program on debian sid amd64, by
 following the tutorial from gtk.org, but get this error:

 Desktop:~/eclipseworkspace/DebianCPlus/src# gcc -o Gtk Gtk.c
 `pkg-config --libs --cflags gtk+2.0`
 Package gtk+2.0 was not found in the pkg-config search path.
 Perhaps you should add the directory containing `gtk+2.0.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'gtk+2.0' found

 I have installed libgtk2.0-dev, how to resolve the error? thanks.

i have got it, it should be gtk+-2.0, not gtk+2.0


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



does these warning messages important?

2009-03-08 Thread Star Liu
Following are the warning messages when startup my debian sid amd64

Mar  8 20:11:10 Desktop modprobe: WARNING: All config files need
.conf: /etc/modprobe.d/alsa-base, it will be ignored in a future
release.
Mar  8 20:11:10 Desktop modprobe: WARNING: All config files need
.conf: /etc/modprobe.d/no-ipv6, it will be ignored in a future
release.
Mar  8 20:11:10 Desktop modprobe: WARNING: All config files need
.conf: /etc/modprobe.d/libpisock9, it will be ignored in a future
release.
Mar  8 20:11:10 Desktop modprobe: WARNING: All config files need
.conf: /etc/modprobe.d/linux-sound-base_noOSS, it will be ignored in a
future release.
Mar  8 20:11:10 Desktop modprobe: WARNING: All config files need
.conf: /etc/modprobe.d/blacklist, it will be ignored in a future
release.
Mar  8 20:11:10 Desktop modprobe: WARNING: All config files need
.conf: /etc/modprobe.d/display_class, it will be ignored in a future
release.
Mar  8 20:11:10 Desktop modprobe: WARNING: All config files need
.conf: /etc/modprobe.d/alsa-base-blacklist, it will be ignored in a
future release.
Mar  8 20:11:10 Desktop modprobe: WARNING: All config files need
.conf: /etc/modprobe.d/pnp-hotplug, it will be ignored in a future
release.

I found some functions doesn't work, for example, when i click the
link in pidgin, it cannot start up the web browser anymore. when i
click on the exe file(built by mono), it cannot start, i doubt it's
caused by this. how could i resolve it, adding a .conf to these files?
thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to produce cross-platform exe file?

2009-03-08 Thread Star Liu
On Sun, Mar 8, 2009 at 8:56 PM, Eduardo M KALINOWSKI
edua...@kalinowski.com.br wrote:
 Star Liu wrote:
 My target is to make cross-platform desktop application by gecko, now
 I have prepared a sample program, all the files are in a folder named
 myapp.
 In linux system, I can launch the app by this commmand: xulrunner-1.9
 /root/MyLife/Mozilla/myapp/application.ini
 In windows system, I can launch the app by this command: xulrunner.exe
 e:/myapp/application.ini
 I want to make a exe file, so that by double clicking the exe file,
 users can launch the app, I hope a same exe file can do it on both
 windows and linux systems, and I also hope the exe file will display
 as a selected icon.
 How could I reach it? thanks.

 You really can't have one executable that runs on Windows and Linux. The
 file formats are different and not compatible.

i think it's possible, for the main part of my app are made by XUL and
run by xulrunner, it can run on both linux and windows as described
above, what i need my exe to do is just to enter the xulrunner, as
simple as a command line, so I'm trying to reach it.

mono nearly has reached it, but there is something wrong with my
debian box, which makes my mono exe file can only be run by command
line, but by double click.

then i tried gtk, but i guess it will be a big problem to deploy gtk
libs to windows, though it works fine with linux.


 --
 A lot of people I know believe in positive thinking, and so do I.  I
 believe everything positively stinks.
                -- Lew Col

 Eduardo M KALINOWSKI
 edua...@kalinowski.com.br


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



why clicking the web links in pidgin cannot launch the web browser anymore?

2009-03-08 Thread Star Liu
i remember that i can launch the web browser to display a link in
pidgin by a single click, but now i cannot by single or double click
or right click then choose open this link, is it a bug of pidgin or
my debian box? thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: why clicking the web links in pidgin cannot launch the web browser anymore?

2009-03-08 Thread Star Liu
On Sun, Mar 8, 2009 at 9:52 PM, Frank Lanitz fr...@frank.uvena.de wrote:
 On Sun, 8 Mar 2009 21:24:03 +0800
 Star Liu minxinjian...@gmail.com wrote:

 i remember that i can launch the web browser to display a link in
 pidgin by a single click, but now i cannot by single or double click
 or right click then choose open this link, is it a bug of pidgin or
 my debian box? thanks

 Check your configuration at Topols - Preferences - Browser (or
 something like that - Pidgin in running with de_DE here).
yes, i have found that it configs run with iceweasel in a new tab, but
no effections. i also tried ephany, also no effections.


 --
 http://frank.uvena.de/en/



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: why clicking the web links in pidgin cannot launch the web browser anymore?

2009-03-08 Thread Star Liu
On Mon, Mar 9, 2009 at 1:16 AM, Frank Lanitz fr...@frank.uvena.de wrote:
 On Sun, 8 Mar 2009 22:02:02 +0800
 Star Liu minxinjian...@gmail.com wrote:

 On Sun, Mar 8, 2009 at 9:52 PM, Frank Lanitz fr...@frank.uvena.de
 wrote:
  On Sun, 8 Mar 2009 21:24:03 +0800
  Star Liu minxinjian...@gmail.com wrote:
 
  i remember that i can launch the web browser to display a link in
  pidgin by a single click, but now i cannot by single or double
  click or right click then choose open this link, is it a bug of
  pidgin or my debian box? thanks
 
  Check your configuration at Topols - Preferences - Browser (or
  something like that - Pidgin in running with de_DE here).
 yes, i have found that it configs run with iceweasel in a new tab, but
 no effections. i also tried ephany, also no effections.

 Can you check the debug output of Pidgin for any error messages?
thank you, here is the debug info when i click on a link:
(08:25:25) gtknotify: Executing xdg-open 'http://www.debian.org'
(08:25:27) g_log: ATK_ROLE_TOOLTIP object found, but doesn't look like
a tooltip.
(08:25:27) g_log: ATK_ROLE_TOOLTIP object found, but doesn't look like
a tooltip.
(08:25:35) jabber: Sending (ssl): iq type='get'
id='purplebf9126b2'ping xmlns='urn:xmpp:ping'//iq
(08:25:35) jabber: Recv (ssl)(81): iq
to=minxinjian...@gmail.com/Home1570F935 id=purplebf9126b2
type=result/
(08:25:35) jabber: xmlParseChunk returned warning 100


 Cheers,
 Frank
 --
 http://frank.uvena.de/en/



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: sid postgresql 8.3 install status?

2009-03-08 Thread Star Liu
On Mon, Mar 9, 2009 at 8:58 AM, Jude DaShiell jdash...@shellworld.net wrote:
 Is postgresql 8.3 still uninstallable on sid?  Last time I tried
 installation failed since postgresql 8.3 had a forward dependency on an
 obsoleted package.

I installed pgl 8.3 very long before on debian sid, i don't know there
is a  forward dependency on an obsoleted package.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



how to produce cross-platform exe file?

2009-03-07 Thread Star Liu
My target is to make cross-platform desktop application by gecko, now
I have prepared a sample program, all the files are in a folder named
myapp.
In linux system, I can launch the app by this commmand: xulrunner-1.9
/root/MyLife/Mozilla/myapp/application.ini
In windows system, I can launch the app by this command: xulrunner.exe
e:/myapp/application.ini
I want to make a exe file, so that by double clicking the exe file,
users can launch the app, I hope a same exe file can do it on both
windows and linux systems, and I also hope the exe file will display
as a selected icon.
How could I reach it? thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



what may be the cause of error message couldn't display [the_name_of_an_exe_file]?

2009-03-07 Thread Star Liu
my platform is debian sid amd64, now i have an exe file, if i run it
from command line, it runs successfully; but if i double click it to
run, it disaplays error message couldn't display
[the_name_of_an_exe_file], what may be the cause of this error?
thanks.
(the exe file is built by monodevelop)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



how to setup ftp server on debian sid?

2009-03-06 Thread Star Liu
i cannot install proftpd on sid, and wzdftpd doesn't work correctly.
does anyone has experience in setting up a ftp server on debian sid? I
need the function of uploading files and folders. thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Aptitude problem when upgrade to lenny

2009-03-06 Thread B. Liu

Dear All,

I am in the middle of upgraing from etch to lenny.

I run apt-get update. This complained about an unknown key.
Then run: apt-get install debian-keyring debian-archive-keyring
and run: apt-key update
then run: aptitude update
then run: aptitude install apt dpkg aptitude

However when unpacking the apitutde package, it simplely hangs. The message is:
Preparing to replace aptitude 0.4.4-4 (using 
.../aptitude_0.4.11.11-1~lenny1_amd64.deb) ...
Unpacking replacement aptitude ...

I download the aptitude_0.4.11.11-1~lenny1_amd64.deb package, using dpkg to 
install, it hangs as well. My machines is dell poweredge 1950 64-bit Quad core.

I am not on the mailing list, please reply to my email as well.

Thanks

Bin


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: how to setup ftp server on debian sid?

2009-03-06 Thread Star Liu
On Fri, Mar 6, 2009 at 5:27 PM, Marcin Kłapkowski mklapkow...@gmail.com wrote:
 Dnia 2009-03-06, o godz. 17:10:22
 Star Liu minxinjian...@gmail.com napisał(a):

 i cannot install proftpd on sid, and wzdftpd doesn't work correctly.
 does anyone has experience in setting up a ftp server on debian sid? I
 need the function of uploading files and folders. thanks



 proftpd is 1.3.1, and have no new upgrade for version 1.3.2
 and proftpd depends on
        proftpd-basic           1.3.1
        proftpd-mod-ldap        1.3.1
        proftpd-mod-mysql       1.3.1
        proftpd-modpgsql        1.3.1

 and proftpd is in conflict with
        proftpd-basic           1.3.2

 but in repo there are new versions of packages but not proftpd package
        proftpd-basic           is 1.3.2 in repo
        proftpd-mod-ldap        is 1.3.2 in repo
        proftpd-mod-mysql       is 1.3.2 in repo
        proftpd-modpgsql        is 1.3.2 in repo

 you cannot upgrade proftpd to 1.3.2 now.
 trying to upgrade proftpd-basic from 1.3.1 to 1.3.2 affect removing
 proftpd because of dependencies.
 this same is if you try to install proftpd, because of lack of
 dependencies it cannot be done.

 You can install proftpd only if you install make downgrade these
 other packages to 1.3.1. Or just install 1.3.1 version.
I hope someone will fix this bug in sid. thank you!

 Marcin Kłapkowski


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to setup ftp server on debian sid?

2009-03-06 Thread Star Liu
On Fri, Mar 6, 2009 at 5:34 PM, Deng Xiyue
manphiz-gu...@users.alioth.debian.org wrote:
 Star Liu minxinjian...@gmail.com writes:

 i cannot install proftpd on sid, and wzdftpd doesn't work correctly.
 does anyone has experience in setting up a ftp server on debian sid? I
 need the function of uploading files and folders. thanks

 Vsftpd works fine.  Check /usr/share/doc/vsftpd/* for docs after
 installing.
thank you, I have successfully setup the ftp server using vsftpd. it's
good for it uses the native filesystem permissions.

 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to setup ftp server on debian sid?

2009-03-06 Thread Star Liu
On Fri, Mar 6, 2009 at 8:32 PM, Javier Payno Pallarés
kilwac...@gmail.com wrote:
 On Friday 06 March 2009 10:34:29 Deng Xiyue wrote:
 Star Liu minxinjian...@gmail.com writes:
  i cannot install proftpd on sid, and wzdftpd doesn't work correctly.
  does anyone has experience in setting up a ftp server on debian sid? I
  need the function of uploading files and folders. thanks

 Vsftpd works fine.  Check /usr/share/doc/vsftpd/* for docs after
 installing.

 If u need  the ftp server just for a couple of transfer and then ur gonna shut
 it off pure-ftp is easy to configure, just install it and, as Deng notice
 you, have a look in /usr/share/doc/pure-ftp/ readme Debian for config

thank you, I have built one by vsftpd.
 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



gecko is a good method for developing desktop software, right?

2009-03-05 Thread Star Liu
I'm thinking about the methods of developing cross platform desktop
software those days, I think the advantage of gecko is that it
seperates layout, styles and event response information(code), which
is a correct direction for software development, as I saw this
direction in web development. Other methods(gtk, qt, wx) may still
stay at the traditional stage, which mix layout information with event
response code. Am I right? what's your opinion about the direction of
desktop software development? thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: gecko is a good method for developing desktop software, right?

2009-03-05 Thread Star Liu
On Fri, Mar 6, 2009 at 1:31 PM, Kelly Clowers kelly.clow...@gmail.com wrote:
 On Thu, Mar 5, 2009 at 20:38, Star Liu minxinjian...@gmail.com wrote:
 I'm thinking about the methods of developing cross platform desktop
 software those days, I think the advantage of gecko is that it
 seperates layout, styles and event response information(code), which
 is a correct direction for software development, as I saw this
 direction in web development. Other methods(gtk, qt, wx) may still
 stay at the traditional stage, which mix layout information with event
 response code. Am I right? what's your opinion about the direction of
 desktop software development? thanks

 I don't know about the others, but QT 4 is model/view. Apparently
 it isn't MVC, but Model, View, Delegate and Selections.

is it a good idea to use unified layout language to describe both
desktop and web application user interface? if QT also seperates
layout code from event handler code, then shall it invent a new
language to describe its user interface? For gecko, I hope XUL can be
integrated into html, is that possible?

 Cheers,
 Kelly Clowers


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to solve the problem Could not bind sock on port 21: Address already in use?

2009-03-05 Thread Star Liu
On Thu, Mar 5, 2009 at 10:48 PM, Robert Brockway
rob...@timetraveller.org wrote:
 On Thu, 5 Mar 2009, Star Liu wrote:

 i changed the port my ftp server use, then it starts. it's good, i'm
 not so stupid.

 Hi Star.  I'd recommend against solving the problem that way.  Ports are
 standardised so they may be found easily by those who needs them.

 As others have noted Inetd is the Internet superserver.  If you look in
 /etc/inetd.conf (or /etc/xinetd.* if using xinetd) then you should see an
 entry where it is starting an ftp server on tcp/21.  It shouldn't be
 starting anything else there unless you have a honeypot set up.

 So I'd recommend finding out what Inetd is starting, disable it and start
 your ftp server on the correct port.

 Having said that I wouldn't recommend ftp for anything except anonymous
 access.  sftp is now widely supported in file transfer clients even on
 MS-Windows.  sftp is a lot more secure and doesn't have any problems with
 firewalls like ftp does.
thank you, I have stopped inetd using 21 port by commenting out that
line about ftp, but unfortunitely, I have not setup my ftp server, it
seems the best ftp server is proftpd, but sid doesn't support
it(why?), then how could i setup a ftp server on sid? I have tried
more then 5 ftpd servers, like wzdftpd, pureftpd,, but none is
successful, any suggestion? thanks
 Cheers,

 Rob

 --
 I tried to change the world but they had a no-return policy


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
 of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



what's the difference and superior between gtk+ and gecko?

2009-03-04 Thread Star Liu
I want to develop a cross-platform desktop software by open source
platform and develop tools. I'm also a web developer so I'm interested
in gecko, and know that gecko is also able to build desktop
applications by XUL, not only display html files. But it seems gtk+ is
the more normal way to develop desktop applications, then what's the
superior of the two methods? thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what's the difference and superior between gtk+ and gecko?

2009-03-04 Thread Star Liu
On Wed, Mar 4, 2009 at 5:15 PM, Mirco Piccin pic...@gmail.com wrote:
 Hi,

 On Wed, Mar 4, 2009 at 10:04 AM, Star Liu minxinjian...@gmail.com wrote:

 I want to develop a cross-platform desktop software by open source
 platform and develop tools. I'm also a web developer so I'm interested
 in gecko, and know that gecko is also able to build desktop
 applications by XUL, not only display html files. But it seems gtk+ is
 the more normal way to develop desktop applications, then what's the
 superior of the two methods? thanks.

 Did you consider to use Qt?
no, i heard it's not free software.

 Regards
 M




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what's the difference and superior between gtk+ and gecko?

2009-03-04 Thread Star Liu
On Wed, Mar 4, 2009 at 6:10 PM, Kelly Clowers kelly.clow...@gmail.com wrote:
 On Wed, Mar 4, 2009 at 01:04, Star Liu minxinjian...@gmail.com wrote:
 I want to develop a cross-platform desktop software by open source
 platform and develop tools. I'm also a web developer so I'm interested
 in gecko, and know that gecko is also able to build desktop
 applications by XUL, not only display html files. But it seems gtk+ is
 the more normal way to develop desktop applications, then what's the
 superior of the two methods? thanks.

 This is off topic for this list, but since I am replying anyway...


 GTK and QT are traditional toolkits that are use for building apps.
 They are comparable to WinForms (.NET),  MFC (Win), or AppKit
 (OS X).

 Gecko is technically the rendering engine at the heart of XULRunner,
 otherwise known as the Mozilla Platform. XUL is Mozilla's XML
 User interface Language, which is used for Firefox's Chrome -
 all the UI elements around the web page. XUL is rendered with
 Gecko, just like HTML, and the UI is driven with Javascript.

 XULRunner's use of XML and Javascript might make it easier
 for a Web dev to write an app, but I suspect you would have to
 write some amount of C++. In any case, you would have to learn
 how the JS wraps the C++ interface, which is rather different
 from the DOM.

 QT is written in C++ and GTK is C with GLib/GObject. I know
 you can write the bulk of a GTK program in Python; QT has
 QTScript (ecmascript) and some support for Python and
 Ruby, although I don't know if the majority of a QT program
 can be written with any of those.

 A XULRunner program will be larger (on disk and in memory)
 and slower than a GTK or QT program. A large, complex
 program will suffer less from this than a small or trivial
 program.

 XULRunner make the most sense if you are going to be
 rendering html or doing networking with your program anyway.

 It is worth noting that QT is a very complete framework, more
 so even than XULRunner, and it includes QTWebkit. In the
 just released QT 4.5, the Webkit is close to the version used
 in the new Safari 4 betas.

 GTK is more loosely joined, with many parts run as separate
 but allied projects (e.g. Pango, the text engine), and in some
 cases there are several projects that might fill a need, with
 none really official.

 All three are now available under the LGPL, and QT and
 Moz have some other license options.


 I suggest you check out the sites and maybe ask some
 specific questions (not which is better) on the appropriate
 forums/mailing lists and decide which is better for you.

 http://developer.mozilla.org/En/XULRunner
 http://www.gtk.org/
 http://www.qtsoftware.com/


 Cheers,
 Kelly Clowers

thank you. My task is to make a Optical Freedom Surfaces Design
Tool, for example, given a math expression for a surface, I will
display the 2D/3D picture of the surface, and do some other operation
around the surface.
I want to make this tool by fully free software, I think gecko is not
proper for my task, but I don't know how to choose between qt and
gtk+.

 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: what's the difference and superior between gtk+ and gecko?

2009-03-04 Thread Star Liu
On Wed, Mar 4, 2009 at 8:16 PM, Thierry Chatelet tchate...@free.fr wrote:
 On 4 March 2009 13:07:42 Star Liu wrote:
 On Wed, Mar 4, 2009 at 6:10 PM, Kelly Clowers kelly.clow...@gmail.com
 wrote:
  On Wed, Mar 4, 2009 at 01:04, Star Liu minxinjian...@gmail.com wrote:
  I want to develop a cross-platform desktop software by open source
  platform and develop tools. I'm also a web developer so I'm interested
  in gecko, and know that gecko is also able to build desktop
  applications by XUL, not only display html files. But it seems gtk+ is
  the more normal way to develop desktop applications, then what's the
  superior of the two methods? thanks.
 
  This is off topic for this list, but since I am replying anyway...
 
 
  GTK and QT are traditional toolkits that are use for building apps.
  They are comparable to WinForms (.NET),  MFC (Win), or AppKit
  (OS X).
 
  Gecko is technically the rendering engine at the heart of XULRunner,
  otherwise known as the Mozilla Platform. XUL is Mozilla's XML
  User interface Language, which is used for Firefox's Chrome -
  all the UI elements around the web page. XUL is rendered with
  Gecko, just like HTML, and the UI is driven with Javascript.
 
  XULRunner's use of XML and Javascript might make it easier
  for a Web dev to write an app, but I suspect you would have to
  write some amount of C++. In any case, you would have to learn
  how the JS wraps the C++ interface, which is rather different
  from the DOM.
 
  QT is written in C++ and GTK is C with GLib/GObject. I know
  you can write the bulk of a GTK program in Python; QT has
  QTScript (ecmascript) and some support for Python and
  Ruby, although I don't know if the majority of a QT program
  can be written with any of those.
 
  A XULRunner program will be larger (on disk and in memory)
  and slower than a GTK or QT program. A large, complex
  program will suffer less from this than a small or trivial
  program.
 
  XULRunner make the most sense if you are going to be
  rendering html or doing networking with your program anyway.
 
  It is worth noting that QT is a very complete framework, more
  so even than XULRunner, and it includes QTWebkit. In the
  just released QT 4.5, the Webkit is close to the version used
  in the new Safari 4 betas.
 
  GTK is more loosely joined, with many parts run as separate
  but allied projects (e.g. Pango, the text engine), and in some
  cases there are several projects that might fill a need, with
  none really official.
 
  All three are now available under the LGPL, and QT and
  Moz have some other license options.
 
 
  I suggest you check out the sites and maybe ask some
  specific questions (not which is better) on the appropriate
  forums/mailing lists and decide which is better for you.
 
  http://developer.mozilla.org/En/XULRunner
  http://www.gtk.org/
  http://www.qtsoftware.com/
 
 
  Cheers,
  Kelly Clowers

 thank you. My task is to make a Optical Freedom Surfaces Design
 Tool, for example, given a math expression for a surface, I will
 display the 2D/3D picture of the surface, and do some other operation
 around the surface.
 I want to make this tool by fully free software, I think gecko is not
 proper for my task, but I don't know how to choose between qt and
 gtk+.

  --
  To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
  listmas...@lists.debian.org

 Lots of free software do that already. A single search gave me:
 Opencascade, k3dsurf, Genius

thank you very much, it seems they are all good and just what i need,
i have to choose the best one again, do you have any idea?

 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



how to solve the problem Could not bind sock on port 21: Address already in use?

2009-03-04 Thread Star Liu
i found that there is already a application listening on port 21, but
i donot know what's the application, and it prevents my ftp server
starting, so i want to find out the app and stop it, how to do it?
thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to solve the problem Could not bind sock on port 21: Address already in use?

2009-03-04 Thread Star Liu
On Thu, Mar 5, 2009 at 3:12 PM, Star Liu minxinjian...@gmail.com wrote:
 i found that there is already a application listening on port 21, but
 i donot know what's the application, and it prevents my ftp server
 starting, so i want to find out the app and stop it, how to do it?
 thanks.
i have found it by lsof -i:21, it's inetd, what's this process do? is
it safe to stop it and remove it? how to stop and remove it? thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to solve the problem Could not bind sock on port 21: Address already in use?

2009-03-04 Thread Star Liu
On Thu, Mar 5, 2009 at 3:21 PM, Nelson Castillo nelson...@gmail.com wrote:
 On Thu, Mar 5, 2009 at 3:12 PM, Star Liu minxinjian...@gmail.com wrote:
 i found that there is already a application listening on port 21, but
 i donot know what's the application, and it prevents my ftp server
 starting, so i want to find out the app and stop it, how to do it?
 thanks.

 Try with

  netstat -p

 ?
in fact i just want to install a ftp server, but there is no proftp
server in sid, and other ftp servers doesn't work. At last i found
wzdftpd, but it says Could not bind sock on port 21: Address already
in use and refuse to start.

 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to solve the problem Could not bind sock on port 21: Address already in use?

2009-03-04 Thread Star Liu
On Thu, Mar 5, 2009 at 3:27 PM, Nelson Castillo nelson...@gmail.com wrote:
 On Thu, Mar 5, 2009 at 3:22 PM, Star Liu minxinjian...@gmail.com wrote:
 On Thu, Mar 5, 2009 at 3:12 PM, Star Liu minxinjian...@gmail.com wrote:
 i found that there is already a application listening on port 21, but
 i donot know what's the application, and it prevents my ftp server
 starting, so i want to find out the app and stop it, how to do it?
 thanks.
 i have found it by lsof -i:21, it's inetd, what's this process do? is
 it safe to stop it and remove it? how to stop and remove it? thanks

 I guess you can edit /etc/inetd.conf and then restart inetd.

 On my Lenny installation the initialization script is
 /etc/init.d/openbsd-inetd .

i changed the port my ftp server use, then it starts. it's good, i'm
not so stupid.
 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



how to lock my desktop(gnome) ?

2009-03-02 Thread Star Liu
Is there any simple way to lock my desktop? I cannot find the button
to lock my desktop. thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to lock my desktop(gnome) ?

2009-03-02 Thread Star Liu
On Tue, Mar 3, 2009 at 12:41 PM, Daryl Styrk darylst...@gmail.com wrote:
 Star Liu wrote:

 Is there any simple way to lock my desktop? I cannot find the button
 to lock my desktop. thanks




 Ctrl+Alt+l

but it does not really lock the desktop, I mean it doesn't require me
to input password to recover, how to lock the desktop with password
protect? thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to lock my desktop(gnome) ?

2009-03-02 Thread Star Liu
On Tue, Mar 3, 2009 at 2:11 PM, Kousik Maiti kousiks...@gmail.com wrote:
 Are you login in your system as root user? Because from root user you can't
 lock screen. Login as other user and see wheather it work?
yes, i'm root, thank you.


 On Tue, Mar 3, 2009 at 6:07 AM, Star Liu minxinjian...@gmail.com wrote:

 On Tue, Mar 3, 2009 at 12:41 PM, Daryl Styrk darylst...@gmail.com wrote:
  Star Liu wrote:
 
  Is there any simple way to lock my desktop? I cannot find the button
  to lock my desktop. thanks
 
 
 
 
  Ctrl+Alt+l
 
 but it does not really lock the desktop, I mean it doesn't require me
 to input password to recover, how to lock the desktop with password
 protect? thanks


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org




 --
 Wishing you the very best of everything, always!!!
 Registered Linux User #474025



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to set up sound

2009-01-13 Thread Stephen Liu

--- Javier Barroso javibarr...@gmail.com wrote:

 On Tue, Jan 13, 2009 at 3:17 AM, Stephen Liu sati...@yahoo.com
 wrote:
  Hi folks,
 
 
  Debian Etch - Workstation as host OS on Xen
 
 
  Debian has been running as host OS on a Xen box, a server box, for
  something without problem.  I don't need sound on server therefore
 I
  didn't care whether it works or not.  On googling technical
 document
  some websites have sound.  Therefore I'm trying to setup sound on
 it.
  Please advise where shall I check and how to add sound.  TIA
 Did you mean getting sound inside domU , or I didn't understand  ?
 
 If yes, you could take your pci inside your domU:
 http://www.wlug.org.nz/XenPciPassthrough


Hi Javier,


No.  All domUs are server.  They don't need sound.  I need sound on
dom0 only which are used to configure domU.  Occasionally I need
googling technical documents on it.  Therefore I try to setup sound
listening the sound clips integrated on their websites.  Thanks


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



  1   2   3   4   5   6   >