Tuesday Jan 26, 2010

Workaround for runaway metacity

Sun Ray on OpenSolaris build 131 requires the same workarounds I previously mentioned.

There is one more that helps with both 130 and 131. With the new gdm set up the login screen now runs "metacity" and occasionally this can get into a loop just consuming CPU. The trigger is that metacity has been sent a signal to terminate but then tries to be a bit too clever and goes into the loop. I've filed this bug so that it can be fixed.

Happily once again you can work around this with a bit of dtrace:

#!/usr/sbin/dtrace -qws

proc:::signal-handle
/ execname == "metacity" && args[0] == 15 / {
        system("logger -t metacity.d -p daemon.notice killing metacity[%d]", pid); 
        raise(9)
}

Wednesday May 09, 2007

Good Morning Build 63

Build 63 has hit our Sun Ray server, and my Sun Ray server at home:


: estale.eu FSS 1 $; uname -a
SunOS estale 5.11 snv_63 sun4u sparc SUNW,Sun-Fire
: estale.eu FSS 2 $; 

All is well, except the main menu now has a “shutdown” button on it:



Which is a bit off putting as this is a Sun Ray used by lots of other people. (It did not stop me trying though. Since it calls gnome-sys-suspend which then checks /etc/default/sys-suspend to see if you are allowed to shut the system down there is no harm apart from the wasted real estate on the screen).

More worryingly the upgrade has undone the edit of /etc/default/sys-suspend that the Sun Ray software does so that the user on the console can't shutdown the system.

Monday Feb 26, 2007

nautilus ssh://foo.com

I know no real geek would dream of using nautlius or any file browser, after all the pinnacle of UI design was the screen on the vt220, however this is so cool as to make it worth it. If only for your “friends” so that they will stop using ftp. I know this is not new news to many but I was surprised to discover a few people who I expected to know this did not. I'll not name names.

The nautilus file browser will allow you to browse files over ssh. If you have a system “foo.com” into which you can ssh, with or without a password then enter this URI into the nautlius location bar: “ssh://foo.bar” If you can't see the location bar hit the pencil symbol it allows you to type it in.

I did this on a system running Nevada build 58 and it then proceeded to ask me if I wished to store my passwords in the gnome keyring and then popped up a window displaying the root file system of my remote system.

Now if you bookmark that you can easily copy data from one place to another using a secure and if you have set up ssh to do it, compressed channel.

Very cool on a laptop and you need to copy files onto your server or if you want to browse your home server from work.

Tags:

About

This is the old blog of Chris Gerhard. It has mostly moved to http://chrisgerhard.wordpress.com

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
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