1,428 reputation
516
bio website blogs.oracle.com/alanc
location California
age 40
visits member for 3 years, 11 months
seen yesterday

Software engineer at Sun Oracle working on the X Window System for Solaris, OpenSolaris, and Linux. Active member of the X.Org community.


May
26
comment cannot make protobuf on Solaris 8
Or you could stop trying to build new software on a 15 year old version that hits end of its extended support life this year and move forward to Solaris 10, which has stdint.h already.
Apr
15
comment Compilation of gtkdialog with gcc fails on Solaris (cc1: error: invalid option `t')
gcc is seeing the -mt option (enable multithread features for cc) as the two options -m & -t and not knowing what to do with -t, so it's the -mt option you need to replace.
Mar
13
comment Why can't I use renice to increase a process' nice value?
The answer to “why?” is simply most likely to be “because no one needed it enough to write the code to fix it.” When Unix was originally written, tracking who set the priority of a process might have been expensive in terms of memory usage and work to update it, but on modern machines, that's negligible, just leaving lack of motivation for writing the code to track this for sites that want to keep the original policy of “user can't override sysadmin.”
Feb
26
comment Open program in another terminal window windows-solaris
xauth handles your local X11 cookies files - it doesn't use $DISPLAY or connect to a X server, so xauth $DISPLAY is both bad syntax and a bad test case.
Jan
28
comment What happened to Primary Administrator profile in Solaris 11?
And for running all commands with full privileges without any discretion in any code path in which RBAC was used, causing unexpected use of root in some cases (like in GNOME with profile aware menu launchers).
Jan
13
comment X client forwarded over SSH “cannot open display: localhost:11.0”
Adding the -v flag to ssh is often helpful in troubleshooting as well.
Dec
20
comment Launch a fake/minimal X session for Pulseaudio/dbus
Xvfb has to do some setup before it is ready to accept X connections, so if the later commands run too soon, you may find they fail to connect to the X server. You may want to look into using xinit to start Xvfb, and put those commands in the .xinitrc so that xinit starts them only once Xvfb is ready for them.
Dec
11
comment How to terminate GUI in SunOS from a shell-script
On Solaris 11 & later, cde-login has been replaced by gdm, so it would be svcadm disable gdm and svcadm enable gdm instead.
Dec
11
comment How to terminate GUI in SunOS from a shell-script
Nope, when Solaris used runlevels (prior to the switch to SMF in Solaris 10), the GUI was started in runlevel 2, as part of the "local system services" -- runlevel 3 was for running servers for other systems to connect to.
Dec
7
comment Will there ever be a Solaris 12?
blogs.oracle.com/markusflierl/entry/… is from the Oracle VP in charge of core Solaris development about the roadmap presentation he gave for Solaris at Oracle OpenWorld a couple months ago. Slides from his talk are at oracleus.activeevents.com/2013/connect/fileDownload/session/…
Nov
28
comment Does Android SDK work in Solaris?
Solaris includes Java out of the box. (They were both Sun products, now both Oracle products.) Python, gcc, & gmake are included in later Solaris releases as well. None of that is specific to the Android SDK.
Nov
17
comment Why does a new directory have a hard link count of 2 before anything is added to it?
Whether links to directories are allowed, and whether you can count subdirs from the link count, are both dependent on which filesystem you're using - some allow, some don't.
Aug
2
comment Viewing very wide files
The problem pointed out in that page is that awk -F works with Solaris awk for single characters, but not for strings. The newer awks (nawk, xpg4 awk, or on more recent Solaris versions, GNU gawk) support more features than the classic awk does.
Jul
6
comment Tool in UNIX to subtract dates
On Solaris 11, it will be installed as both /usr/bin/gdate and /usr/gnu/bin/date so you can choose to use it either by name or by $PATH setting.
Jun
28
comment change shell in Solaris/SunOS for your user only wihtout access to /etc/passwd
Unfortunately, Solaris doesn't provide chsh, so unless the local admin installed it, that won't help here.
May
5
comment How can I disable /proc pseudo-filesystem on a shared Linux environment?
For Solaris, see How to Limit Display of Other User's Processes to configure which users can see what other users are doing.
Apr
11
comment Triple compression and I only save 1% in space?
bzip will compress the original tar much better than it can compress an already gzipped tar file.
Apr
6
comment How do I get current keyboard layout?
-query was added in setxkbmap 1.2.0
Feb
28
comment Solaris default install (user tools)
On Solaris 11, vim is the default vi now.
Feb
2
comment Browser fails to reach any host on Solaris 8
Have you tried using traceroute to some of those IP addresses to see where the failure occurs?