Leopard problems and some solutions

The editor applications (like TextEdit and others) do not take the cursor along when you page up/dn. So you scroll down 5 pages and try to place the cursor using the arrow keys and it suddenly jumps back to 5 pages up. You must click mouse after scrolling down. Perhaps my expectations about usability were too high.

NFS auto mounts on /net. This is neat.

Configuration for auto mounting of home dir was very easy as compared to Tiger.
1. Set uid same as NIS uid
    System Preferences > Accounts > Right click user > "Advanced Options"
2. Set password same as NIS password
3. Edit /etc/auto_home 
    Comment out +auto_home
    Add line like this: \*    home-dir-host:/dir1/dir2/&

I also prefer to set the same user name and group id as NIS which makes it so easy for permissions and ssh w/o user name. But changing the group id was quite challenging till I found the right set of commands. The group id 10 is owner while I wanted it to be staff which was 20. To swap owner and staff group ids, execute the following commands:
dscl . list groups gid (notice staff is 20 and owner is 10)
sudo dscl . change groups/staff PrimaryGroupID 20 2020
sudo dscl . change groups/owner PrimaryGroupID 10 20
sudo dscl . change groups/staff PrimaryGroupID 2020 10
dscl . list groups gid (notice staff and owner are now reversed)

Terminal has tabs but can not set the tab title. Could not believe this, but its true. People are suggesting all kinds of hacks but none of them suit me. One can cycle tabs using cmd+shift+braces (braces or arrows). But if tab title can not be set, there is no way to find out which tab to select unless you go to the tab and see the window title. Too Bad! Liked the window groups though.

OpenOffice worked initially (for a few times) but then started hanging. Found out that its a known pain point and is mainly due to broken X11.
http://lists.apple.com/archives/x11-users/2007/Oct/msg00165.html
http://www.oooforum.org/forum/viewtopic.phtml?t=65161
http://shaunmcdonald131.blogspot.com/2008/03/ooo-possible-fix-for-command-timed-out.html
http://www.mail-archive.com/users@openoffice.org/msg82997.html

Not just OO, but even X11 stopped opening after a while. Could not even open xterm. Just hangs. Then found out that this was again a known issue.
http://forums.macosxhints.com/showthread.php?t=80171
http://homepage.mac.com/sao1/X11/
http://aaroniba.net/articles/x11-leopard.html
http://xquartz.macosforge.org/trac/wiki/X112.2.1

Installed XQuartz X11 to replace original X11. The problem is, this needs to be re-installed every time there is a software update. What a mess!

Installing new X11 did not fix OO. So finally blew away the original OO and installed OpenOffice.org 3 Aqua Beta which was released on May 1st, 2008.
http://porting.openoffice.org/mac/download/aqua.html
http://porting.openoffice.org/mac/download/aqua-Intel.html
Haven't tried exhaustively yet but hey, it at least works!  (looks really good)

You have to use X11 forwarding to execute X11 apps on remote machine.
The following use case does not work with X11 forwarding:
1. ssh as yourself to Solaris
2, su to root
3. launch X11 application. This fails with message:
    X11 connection rejected because of wrong authentication.  
    X connection to localhost:10.0 broken (explicit kill or server shutdown).

Need to run X11 apps like product installers on Solaris as root. So this was something essential for me. Had to workaround/hack as below, opening a security hole:
1. Login to Solaris server as root
2. Edit /etc/ssh/sshd_config
    PermitRootLogin yes
3. Restart sshd daemon
    grep and kill all sshd proceses and the daemon will restart again

Now you can ssh as root from Mac and run the X11 app.
    ssh -Y -l root solaris.example.com
May be there is a better and secure way that I do not know.

Sometimes during administration it just complains "No Such User" when you are logged in, but does not allow you to do anything unless relogin or reboot.

Comments:

hi there, i'm dealing with gid's in leopard and i have a problem. it might be dumb but i wan't to create a new group named multixs with gid 200...i managed to create it with system preferences but gid is 505. i try to change from the pannel so i type 200 but as soon as i hit enter the gid becomes 505 again. thanks for your help

Posted by rodrigo on June 24, 2008 at 02:34 PM PDT #

You can run X apps using sudo; first connect with ``ssh -Y user@host'', then ``sudo xprog''.

Posted by Claire Connelly on July 15, 2008 at 01:16 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Prashant Dighe

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today