1,538 reputation
618
bio website blogs.oracle.com/alanc
location California
age 41
visits member for 4 years, 2 months
seen 3 hours ago

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


1d
comment What is the meaning of every column when executing psig command?
While current Solaris source isn't available, this output hasn't changed in many years, so you can reference the source code in the final OpenSolaris snapshot - specifically psig.c.
Oct
13
comment patch bash at sunos5.7
Bash was not included in Solaris 7 (SunOS 5.7) - you should find out where the copy of bash you have now came from and update it via the same method (rebuild with the same options, install new package from same provider, etc.). Though of course if you need security patches, you need to move to an OS that's new enough to still get them, since Solaris 7 isn't being patched for any security bugs now, years after the end of its support lifecycle.
Oct
10
comment Why does the X Window System use a server?
X used named pipe on SysV systems where named pipes were bi-directional, including Solaris & SCO Unixes.
Sep
29
comment shellshock solution for nexenta/solaris
For Solaris, Oracle published patches on their support portal.
Sep
18
comment Solaris 10 : command to copy text to the clipboard. (command line)
The clipboard man page you link to for OpenSolaris is not for a command, but is for a Tcl/Tk function you can use when writing Tcl/Tk programs. As for the Copy key, it doesn't run a separate program, but is treated by the running application as a keyboard shortcut for its builtin copy functionality.
Sep
15
comment Programmatic way to install xkb keyboard layout
Fonts are very different from keyboard layouts - they are generally just adding a new file, not editing existing ones, and are much more widely distributed than keyboard layouts. There isn't good support for adding new keyboard layouts into the existing files on the system, they're generally added into the upstream XKB-config files and picked up by the packagers.
Aug
9
comment How to verify from “uname -a” output, the installed Solaris OS is openSolaris or not
showrev was removed in OpenSolaris and Solaris 11 & later, so can only give answers for Solaris 10 & older.
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.