This is a page of "How to" solve some computer problems that may happen.

P = problem; S = solution

P: (2014.07.24) Xming is no longer good for Windows 8.1

S: Install Vcxsrv, which is a clone of Xming, and remove Xming itself.

P: (2014.01.17) NIS in tube 60 does not work, although NFS works

S: Activate ypbind with the following command

# sysv-rc-conf ypbind on 
# reboot

P: (2013.10.24) X-windows does not work, cannot connect to Flex using X-windows (Xming, NX, etc.)

S: restart X-windows service in Flex

#sudo service lightdm restart

P:(2013.08.26) E-mail does not work after shutting down the Flex

S: restart dovecot and postfix

#service dovecot start
#service dovecot stop
#service dovecot restart
#sudo /etc/init.d/postfix restart

P:(2013.06.05) how to customize GDM login screen

S: using ubuntu-tweak

Install ubuntu-tweak

 #sudo add-apt-repository ppa:tualatrix/ppa
 #sudo apt-get update
 #sudo apt-get install ubuntu-tweak

Launch ubuntu-tweak from terminal and customize the login screen

P: (2013.06.03) xdvi doesn't put period and comma correctly when reading Japanese documents.

S: Check a tutorial created by other people

http://d.hatena.ne.jp/tama_sh/20120505/1336197629

Install xdvi-ja

# apt-get install xdvik-ja

Font map file: /etc/texmf/vfontmap.d/

Do the following:

# cd /etc/texmf/vfontmap.d/
# mv 20ptex-jisfonts.map 20ptex-jisfonts.map.org
# mv 20xdvik-ja.map 20xdvik-ja.map.org
# mv 30morisawa.map. 30morisawa.map.org 

Next, check the fc-list the name of the Japanese font to use.

$ fc-list | grep Takao
Takao P??,TakaoPMincho:style=Regular
Takao????,TakaoGothic:style=Regular
Takao P????,TakaoPGothic:style=Regular
TakaoEx????,TakaoExGothic:style=Regular
TakaoEx??,TakaoExMincho:style=Regular
Takao??,TakaoMincho:style=Regular

Add the following lines to a file takao.map (create new if not exist) under the directory /etc/texmf/vfontmap.d/

@TakaoMincho-Regular@
       rml  JIS-H      % ASCII pTeX
       rmlv JIS-V      % ASCII pTeX
       dm   JIS-H      % NTT jTeX
       rml-jis  JIS-H  % ptex-jisfonts
@TakaoGothic-Recular@
       gbm  JIS-H      % ASCII pTeX
       gbmv JIS-V      % ASCII pTeX
       dg   JIS-H      % NTT jTeX
       gbm-jis  JIS-H  % ptex-jisfonts

Finally, update the registration information of the font

# update-vfontmap

P: (2012.10.02) How to remove Ubuntu welcome notes

Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-25-generic x86_64)

 * Documentation:  https://help.ubuntu.com/
 New release '12.04 LTS' available.
 Run 'do-release-upgrade' to upgrade to it.
 *** System restart required ***

S: Please check /etc/update-motd.d/ folder

Then change the permission

 sudo chmod 600 * 

P: (2012.09.26) Warning: File `Makefile' has modification time 38 s in the future

warning: Clock skew detected. Your build may be incomplete. Such warning appears in TUBE50

S: TUBE50 clock is not synchronized to ntp.tohoku.ac.jp

P: (2012.09.25)"yes" command appears every time we restart TUBE50

S: check file /etc/default/nfs-common

P: (2012.08.29) Changing default text editor

S: run this command:

sudo update-alternatives --config editor

P: (2012.03.29) Segmentation fault when login tube

S: run this command /rsaito/bin/no-passwd

Then press Enter anytime the statement appears

P: (2010.04.29) set-pathname-coding-system function does not exists in new xemacs lisp which existed in flex.

P: (2010.01.19) Managing ntp

S: ntp and ntpdate package have to be configured in some tricky ways

P: (2010.01.13) The problem of 2010.1.6 is solved but response is slow.

S: The problem is due to the fact that /etc/mtab is on root (not snapshot)

Since we do not know what is the process of mount the file. we can not change mtab to snapshot. For a moment, we force mount /home1 and /rsaito on /tmp/home1, /tmp/rsaito

/etc/rc5.d/S28autofs stop
mkdir /tmp/home1
mkdir /tmp/rsaito
mount -n 192.168.2.100:/home1 /tmp/home1
mount -n 192.168.2.100:/rsaito /tmp/rsaito
df

/rsaito/bin/pxe-mount

P: (2010.1.6) /rsaito is not automountd on PXE client.

S: edit and add flexS:/rsaito information on

tube30:/nfsboot/root/etc/mtab

P: (2009.10.10) Gnorm logout is slow for Xming etc.

This is a firewall problem of windows.

S: Open port 16001 tcp

control panel -> firewall -> add new port ->

Name Esound
Port 16001
     TCP

P: (2009.07.17) Load average of FLEX is very high.

This is due to mounting problem again (mount NFS). After checking mount status, it is found that a network harddisk was not unmounted nicely before turning off.

S: Re-mount (turn on) the harddisk, and do some safety procedure.

P: (2009.07.02) Flex is unstable for logining or e-mails.

S: mount to tube:/home1-old was not allowed any more.

comment out one line in /etc/auto.misc 
# home1    172.17.4.134:/home1-old
./S28autofs forcerestart
I also delete in /etc/exports 
the requests from 172.17.4.184 (nuguraha) 172.17.4.188 (mahabubu)
and 172.17.4.127 (furu).
exportfs -a
we also need to restart nfs
/etc/rc5.d/S60nfs restart

P: (2009.06.03) Today we were failed to run ether-wake command on new-PXE server/client machines using new Hub/router.

S: We manually turn those on and off. After that ether-wake (wake-on-Lan) command was successful.

P: PXE (network boot) is now installing 2009.5.1

S: finished. status PXE Server (Open)

P: We move /etc/passwd then we can not be root. No more even shutdown.

S: cntl-alt-del and reboot. Then when OS selection, push any arrow.

Then many selection of OS appears. Select one of OS, and press E. Then select kernel and press E again. Then you can edit the command for starting kernel and add "single" in the last of the command. Finally select "b" for booting and single user mode appears. Make /etc/passwd files and exit and runlevel 5 is recovers.

Even if we used NIS, we should not delete /etc/passwd /etc/group and /etc/shadow.

P: linux emacs ispell error (no language "eu") 2009.4.24

S: solved. "M-x ispell-change-dictionary" and select english

S: solved. Edit .emacs to add (setq ispell-dictionary "english")

P: How to update the files of remote to the files of local

S: solved. "rsync -avc -e ssh saito@remote:/home/saito/book09/ /rsaito/book09"


Front page   New Page list Search Recent changes   Help   RSS of recent changes