sshfs

Computer/linux 2007.05.10 20:38
I have one remote account of my institute with NFS. Whenever some network has problems, I cannot login my laptop or whatever. I have to stop to do something.
I do not like this situation. Then I decide to use local account of my laptop. However, whenever the remote account will be needed, I use it with ssh. Well, just transfer files from local to remote, and so on. It is also weird.

sshfs gives me a good solution.  Now I can mount my remote account inside my local account.

How to..


mount : sshfs remoteaccount@remote: /media/dir-name/
unmount : fusermount -u /media/dir-name/

It works great!

This was done with the Ubuntu blog.

'Computer > linux' 카테고리의 다른 글

How to create a stand alone eps file by using pstricks  (0) 2007.05.14
sshfs  (0) 2007.05.10
Running programs in the background.  (0) 2007.03.10
select one ghostscript on ubuntu 6.10  (0) 2007.03.09
posted by citadel

For ubuntu 8.04 see 2008/12/17 - [computer/linux] - xorg.conf with an external monitor


Five days ago, I was so boring to understand one textbook about beam physics. Then I just upgraded my Ubuntu 6.06 to 6.10 with update-manager -c -d command.  Roughly one hour later, I totally realized what the stupid thing I did. Fortunately, my old ROOT GUI,  GEANT4 program, and tools were worked fine. But my dual head configuration did not work very well. I found fgrlx driver worked fine except a strange square mouse cursor, which ate my screen, on the external monitor. Definitely Digging into xorg.conf was starting........ T__T

Whatever methods which I found on the web did not work on my machine.After I lost three days to understand the xorg.conf file, finally everything works fine. Not MergedFB but xinerama method. MergedFB method did not work for me. That gave me the wrong resolution on the external monitor.

  • Specifications
    • Samsung R50
    • 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X700 (PCIE) (result of "lspci")
    • Ubuntu 6.10 (OS)
    • VGA driver "radeon" (open source driver)
    • Laptop LCD (Resolution:1280x800, HorizSync:28-64, VertRefresh:43-60)
    • External Flat LCD/TFT(?) : Dell E177FPf (Resolution:1280x1024, HorizSync: 30-81,        VertRefresh:56-76)
  • What I want
    • When I boot up my ubuntu 6.10 without external VGA cable, only single LCD works.
      • After boot up, when I extend my scrren with xinerama option, just connect VGA cable. And restart server.
    • When I boot up my ubuntu with an external VGA cable, xinerama option works with two different resolution monitors.

Here is my xorg.conf file

more.. xorg.conf


In the configuration file, most important line is   Option          "MonitorLayout"         "LVDS, AUTO"  in "Device" Section.  Ubuntu forum said "LCD, CRT" ,"LVDS, CRT", "CRT,CRT", or whatever combination were recommended. But All combination failed for me.
Only possible option is "LVDS,AUTO".

Here is /var/log/Xorg.0.log  with grep EE and WW

more.. Xorg.0.log


I have no time to solve this. Just ignore DRI configuration.

2007.03.07
This was Bug #22985 . It was solved with xserver-xorg-video-ati-1:6.6.3-2ubuntu3.

2007.03.08
MergedFB also works but I must do some tricky thing.
  1. boot up my laptop with the xinerama configuration file.
  2. 1 can activate the external monitor.
  3. change xorg.conf with xmergedFB file
  4. restart gdm.
  5. more.. xorg.conf with MergedFB


Here is the screenshot.
사용자 삽입 이미지



And /var/log/Xorg.0.log files

more.. Xorg.0.log


posted by citadel
less /var/log/Xorg.0.log |grep security

error opening security policy file /usr/lib/xserver/SecurityPolicy

Actually, I have no idea what SecurityPolicy file is. I found this file in the /usr/share/doc/xserver-xorg-core/SecurityPolicy. (see Ubuntu forum)

cd /usr/lib
mkdir xserver
cd xserver

ln -s /usr/share/doc/xserver-xorg-core/SecurityPolicy SecurityPolicy

After restarting xserver, error message was gone.



posted by citadel