[SOLVED] Run X11 apps using sudo while following wiki

i was going through the wiki
https://wiki.archlinux.org/index.php/Su … using_sudo
added the line.
Defaults env_keep += "HOME"
[rho@turion ~]$ sudo visudo
visudo: >>> /etc/sudoers: syntax error near line 94 <<<
What now?
Options are:
(e)dit sudoers file again
e(x)it without saving changes to sudoers file
(Q)uit and save changes to sudoers file (DANGER!)
What now? Q
[rho@turion ~]$ sudo
sudo: >>> /etc/sudoers: syntax error near line 94 <<<
sudo: parse error in /etc/sudoers near line 94
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
Last edited by rhoit (2012-11-16 11:59:50)

rhoit wrote:
$ pacman -Ss hdparm
$
can't find!
That could be a problem, given that hdparm is in core ...
Anyways, man page: http://linux.die.net/man/8/hdparm
(This all is pretty off-topic to the original thread; sorry moderators.  I was merely using it as a rather blatant example of the "Warn the user but do what it is told to do" idea)

Similar Messages

  • Snow Leopard 10.6.2 can't run 'X11.app' (with system log)

    Hello everyone, English is not my mother tongue so may not be exactly correct, sorry about that.
    Background:
    I have a MacBook White (13-inch, Mid 2009) that isn't unibody, and was running Leopard 10.5.
    I am the only one that will use the Mac and my user account is as the 'admin'.
    When I was using 10.5, I could open the 'X11.app'.
    But few days ago, I did a clean installation of 10.6.2 Snow Leopard from the USD$29 disc.
    After that I installed the iLife '09 (the gray disc bundled with the MacBook),
    and I cloned the drive to my ext. FireWire HD immediately after the installation of SL and iLife'09 by using the CCC (Carbon Copy Cloner).
    After that, of course, I was going to install the apps I need, and update the software.
    _But the problem appears:_
    When I try to open the 'X11.app', the X11 icon begins jumping on the Dock, but nothing happens.
    Jumping and jumping... finally, it doesn't jump any more, with just the X11 icon on the dock.
    What's more, there is no white dot under the icon, which means the app isn't running at the moment.
    I right-clicked the icon, it shows me 'application not responding'.
    So, I open the *Activity Monitor*, and I can see there are two apps related to X11 are running:
    (1) X11
    (2) X11.bin
    Please see below for the system log (around 1min. log, starting with the time when I open the X11)
    ==========
    Feb 20 15:56:30 (my user name)-(my user name)-MacBook 0x0-0x33033.org.x.X1128300: X11.app: main(): argc=2
    Feb 20 15:56:30 (my user name)-(my user name)-MacBook 0x0-0x33033.org.x.X1128300: argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
    Feb 20 15:56:30 (my user name)-(my user name)-MacBook 0x0-0x33033.org.x.X1128300: argv[1] = -psn0208947
    Feb 20 15:56:30 (my user name)-(my user name)-MacBook 0x0-0x33033.org.x.X1128300: Waiting for startup parameters via Mach IPC.
    Feb 20 15:56:33 (my user name)-(my user name)-MacBook org.x.startx28308: font_cache: Scanning user font directories to generate X11 font caches
    Feb 20 15:56:33 (my user name)-(my user name)-MacBook org.x.startx28308: font_cache: Updating FC cache
    Feb 20 15:56:33 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Scanning system font directories to generate X11 font caches
    Feb 20 15:56:33 (my user name)-(my user name)-MacBook defaults28334: \nThe domain/default pair of (org.x.X11, dpi) does not exist
    Feb 20 15:56:33 (my user name)-(my user name)-MacBook org.x.startx28308: xauth: creating new authority file /Volumes/(my user name)'s Home/Users/(my user name)/.serverauth.28308
    Feb 20 15:56:33 (my user name)-(my user name)-MacBook org.x.startx28308: /usr/X11/bin/startx: eval: line 288: unexpected EOF while looking for matching `''
    Feb 20 15:56:33 (my user name)-(my user name)-MacBook org.x.startx28308: /usr/X11/bin/startx: eval: line 289: syntax error: unexpected end of file
    Feb 20 15:56:33 (my user name)-(my user name)-MacBook com.apple.launchd.peruser.501135 (org.x.startx): Throttling respawn: Will start in 10 seconds
    Feb 20 15:56:34 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Updating FC cache
    Feb 20 15:56:36 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Done
    Feb 20 15:56:44 (my user name)-(my user name)-MacBook org.x.startx28441: font_cache: Scanning user font directories to generate X11 font caches
    Feb 20 15:56:44 (my user name)-(my user name)-MacBook org.x.startx28441: font_cache: Updating FC cache
    Feb 20 15:56:44 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Scanning system font directories to generate X11 font caches
    Feb 20 15:56:44 (my user name)-(my user name)-MacBook defaults28467: \nThe domain/default pair of (org.x.X11, dpi) does not exist
    Feb 20 15:56:44 (my user name)-(my user name)-MacBook org.x.startx28441: xauth: creating new authority file /Volumes/(my user name)'s Home/Users/(my user name)/.serverauth.28441
    Feb 20 15:56:44 (my user name)-(my user name)-MacBook org.x.startx28441: /usr/X11/bin/startx: eval: line 288: unexpected EOF while looking for matching `''
    Feb 20 15:56:44 (my user name)-(my user name)-MacBook org.x.startx28441: /usr/X11/bin/startx: eval: line 289: syntax error: unexpected end of file
    Feb 20 15:56:44 (my user name)-(my user name)-MacBook com.apple.launchd.peruser.501135 (org.x.startx): Throttling respawn: Will start in 10 seconds
    Feb 20 15:56:44 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Updating FC cache
    Feb 20 15:56:46 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Done
    Feb 20 15:56:54 (my user name)-(my user name)-MacBook org.x.startx28574: font_cache: Scanning user font directories to generate X11 font caches
    Feb 20 15:56:54 (my user name)-(my user name)-MacBook org.x.startx28574: font_cache: Updating FC cache
    Feb 20 15:56:54 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Scanning system font directories to generate X11 font caches
    Feb 20 15:56:54 (my user name)-(my user name)-MacBook defaults28602: \nThe domain/default pair of (org.x.X11, dpi) does not exist
    Feb 20 15:56:54 (my user name)-(my user name)-MacBook org.x.startx28574: xauth: creating new authority file /Volumes/(my user name)'s Home/Users/(my user name)/.serverauth.28574
    Feb 20 15:56:54 (my user name)-(my user name)-MacBook org.x.startx28574: /usr/X11/bin/startx: eval: line 288: unexpected EOF while looking for matching `''
    Feb 20 15:56:54 (my user name)-(my user name)-MacBook org.x.startx28574: /usr/X11/bin/startx: eval: line 289: syntax error: unexpected end of file
    Feb 20 15:56:54 (my user name)-(my user name)-MacBook com.apple.launchd.peruser.501135 (org.x.startx): Throttling respawn: Will start in 10 seconds
    Feb 20 15:56:54 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Updating FC cache
    Feb 20 15:56:56 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Done
    Feb 20 15:57:04 (my user name)-(my user name)-MacBook org.x.startx28708: font_cache: Scanning user font directories to generate X11 font caches
    Feb 20 15:57:04 (my user name)-(my user name)-MacBook org.x.startx28708: font_cache: Updating FC cache
    Feb 20 15:57:04 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Scanning system font directories to generate X11 font caches
    Feb 20 15:57:04 (my user name)-(my user name)-MacBook defaults28734: \nThe domain/default pair of (org.x.X11, dpi) does not exist
    Feb 20 15:57:04 (my user name)-(my user name)-MacBook org.x.startx28708: xauth: creating new authority file /Volumes/(my user name)'s Home/Users/(my user name)/.serverauth.28708
    Feb 20 15:57:04 (my user name)-(my user name)-MacBook org.x.startx28708: /usr/X11/bin/startx: eval: line 288: unexpected EOF while looking for matching `''
    Feb 20 15:57:04 (my user name)-(my user name)-MacBook org.x.startx28708: /usr/X11/bin/startx: eval: line 289: syntax error: unexpected end of file
    Feb 20 15:57:04 (my user name)-(my user name)-MacBook com.apple.launchd.peruser.501135 (org.x.startx): Throttling respawn: Will start in 10 seconds
    Feb 20 15:57:04 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Updating FC cache
    Feb 20 15:57:06 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Done
    Feb 20 15:57:14 (my user name)-(my user name)-MacBook org.x.startx28841: font_cache: Scanning user font directories to generate X11 font caches
    Feb 20 15:57:14 (my user name)-(my user name)-MacBook org.x.startx28841: font_cache: Updating FC cache
    Feb 20 15:57:14 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Scanning system font directories to generate X11 font caches
    Feb 20 15:57:14 (my user name)-(my user name)-MacBook defaults28869: \nThe domain/default pair of (org.x.X11, dpi) does not exist
    Feb 20 15:57:14 (my user name)-(my user name)-MacBook org.x.startx28841: xauth: creating new authority file /Volumes/(my user name)'s Home/Users/(my user name)/.serverauth.28841
    Feb 20 15:57:14 (my user name)-(my user name)-MacBook org.x.startx28841: /usr/X11/bin/startx: eval: line 288: unexpected EOF while looking for matching `''
    Feb 20 15:57:14 (my user name)-(my user name)-MacBook org.x.startx28841: /usr/X11/bin/startx: eval: line 289: syntax error: unexpected end of file
    Feb 20 15:57:14 (my user name)-(my user name)-MacBook com.apple.launchd.peruser.501135 (org.x.startx): Throttling respawn: Will start in 10 seconds
    Feb 20 15:57:14 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Updating FC cache
    Feb 20 15:57:16 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Done
    Feb 20 15:57:24 (my user name)-(my user name)-MacBook org.x.startx28974: font_cache: Scanning user font directories to generate X11 font caches
    Feb 20 15:57:24 (my user name)-(my user name)-MacBook org.x.startx28974: font_cache: Updating FC cache
    Feb 20 15:57:24 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Scanning system font directories to generate X11 font caches
    Feb 20 15:57:24 (my user name)-(my user name)-MacBook defaults29000: \nThe domain/default pair of (org.x.X11, dpi) does not exist
    Feb 20 15:57:24 (my user name)-(my user name)-MacBook org.x.startx28974: xauth: creating new authority file /Volumes/(my user name)'s Home/Users/(my user name)/.serverauth.28974
    Feb 20 15:57:24 (my user name)-(my user name)-MacBook org.x.startx28974: /usr/X11/bin/startx: eval: line 288: unexpected EOF while looking for matching `''
    Feb 20 15:57:24 (my user name)-(my user name)-MacBook org.x.startx28974: /usr/X11/bin/startx: eval: line 289: syntax error: unexpected end of file
    Feb 20 15:57:24 (my user name)-(my user name)-MacBook com.apple.launchd.peruser.501135 (org.x.startx): Throttling respawn: Will start in 10 seconds
    Feb 20 15:57:25 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Updating FC cache
    Feb 20 15:57:27 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Done
    ==========
    It seems that the processes are repeating themselves,
    so I decide to end them in the *Activity Monitor*.
    For 'X11', I have to force quit.
    For 'X11.bin', 'quit' is enough.
    But after that, it seems that the processes are stilling running:
    ==========
    Feb 20 16:03:11 (my user name)-(my user name)-MacBook org.x.startx33510: xauth: creating new authority file /Volumes/(my user name)'s Home/Users/(my user name)/.serverauth.33510
    Feb 20 16:03:11 (my user name)-(my user name)-MacBook org.x.startx33510: /usr/X11/bin/startx: eval: line 288: unexpected EOF while looking for matching `''
    Feb 20 16:03:11 (my user name)-(my user name)-MacBook org.x.startx33510: /usr/X11/bin/startx: eval: line 289: syntax error: unexpected end of file
    Feb 20 16:03:11 (my user name)-(my user name)-MacBook com.apple.launchd.peruser.501135 (org.x.startx): Throttling respawn: Will start in 10 seconds
    Feb 20 16:03:11 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Updating FC cache
    Feb 20 16:03:13 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Done
    Feb 20 16:03:21 (my user name)-(my user name)-MacBook org.x.startx33643: font_cache: Scanning user font directories to generate X11 font caches
    Feb 20 16:03:21 (my user name)-(my user name)-MacBook org.x.startx33643: font_cache: Updating FC cache
    Feb 20 16:03:21 (my user name)-(my user name)-MacBook org.x.privileged_startx206: font_cache: Scanning system font directories to generate X11 font caches
    Feb 20 16:03:21 (my user name)-(my user name)-MacBook defaults33669: \nThe domain/default pair of (org.x.X11, dpi) does not exist
    Feb 20 16:03:21 (my user name)-(my user name)-MacBook org.x.startx33643: xauth: creating new authority file /Volumes/(my user name)'s Home/Users/(my user name)/.serverauth.33643
    ==========
    As I've said, I have a clone of 10.6.2 on my ext. FireWire HD.
    So I've tried to boot the MacBook with the key 'option' pressed in order to boot from the clone.
    What surprises me is that I can open the X11 without any problem.
    And I've tried to open a new user account to test.
    Even if the account isn't 'admin', the X11 can be opened too.
    What this phenomenon tells me is that maybe there is an app(s) that I installed will make the X11 not open.
    I've Googled the problem and tried the following methods:
    (1) Reinstall the X11 from the Snow Leopard disc.
    (2) Log in as the 'root' user, go to *System Preferences* to create a temporary account (e.g. named 'test') so that I can delete my current account (e.g. named 'User') (I copied the UUID and pasted it into TextEdit, saving it on my different partition of ext. FireWire HD.). Then I open a new account with the same username (named 'User') and paste the UUID I previously saved to the newly created account (named 'User'), and then redirect the home folder path to the original home folder (the account named 'User' that I deleted).
    (3) Create an account for testing (e.g. named 'test'), set it as admin. Then log in as the 'root' user, to use 'ditto' command in Terminal to copy my home folder to the account named 'test'. After that, I make the account for testing (account name 'test') have the permission to read and write the files by pressing 'command + I' the home folder, and then set the user 'test' having the permission to read and write and apply this to all the enclosed folder.
    NONE of the above has worked.
    So what can I do in order to make my X11.app work again?
    Thanks in advance!!

    etresoft wrote:
    But you have it running in the other account. With X11 problems, this is as easy as it gets.
    I hope this problem can be solved soon...
    Unfortunately, I'm pretty sure you are going to have to use the Terminal.
    I see, thanks for the info.! (I am new to the Mac since 2009 )
    The only one that would cause any problem by being removed is ".Trash". You don't have any of the other files that Bob is talking about. It would be annoying for any heavy Terminal user to lose those dot files, but perfectly safe.
    There is no need to even attempt to backup anything in /tmp.
    Thanks for the info.!
    Try this. In System Preferences, select Sharing and enable "Remote Login". Login to that Standard user who can run X11 with no problem. Then, just as a test, run "ssh <mainuser>@localhost". Verify that you are in the home directory of the user with the X11 problems. Don't do anything yet. Just type 'exit' to logout.
    Reboot your machine. Login as the Standard User. Run "ssh <mainuser>@localhost" again. This time, run the "rm .<somefile>" on all those dot files (except for .Trash and maybe .CFUserEncoding). This time they should all stay deleted. Follow Bob's advice too and do "rm Library/Preferences/org.x.X11.plist". Type "cd /tmp" and delete everything you can find in there. You can't do any damage there. Type "exit" to quit the ssh session.
    Now logout of the standard user and log back in to your primary user and try it again.
    I am now at the standard account called 'test' and browse this web page using Safari through Wi-Fi.
    4 things:
    .bash_history
    .DS_Store
    .fontconfig
    .Xauthority
    ==========
    With the '.fontconfig', I can't delete it from the Terminal:
    +Michael-Leungs-MacBook:~ Michael$ rm .fontconfig+
    _+rm: .fontconfig: is a directory+_
    (At this moment, I Googled the 'rm' command and found these web pages:
    http://ss64.com/osx/
    http://newsourcemedia.com/blog/basic-terminal-commands/
    That's why I try the 'rmdir' and 'sudo rm'.
    But NONE of these command helps)
    +Michael-Leungs-MacBook:~ Michael$ rmdir .fontconfig+
    _+rmdir: .fontconfig: Directory not empty+_
    +Michael-Leungs-MacBook:~ Michael$ sudo rm .fontconfig+
    +WARNING: Improper use of the sudo command could lead to data loss+
    +or the deletion of important system files. Please double-check your+
    +typing when using sudo. Type "man sudo" for more information.+
    +To proceed, enter your password, or type Ctrl-C to abort.+
    Password:
    +Sorry, try again.+
    Password:
    _+rm: .fontconfig: is a directory+_
    +Michael-Leungs-MacBook:~ Michael$ sudo rm .fontconfig+
    _+rm: .fontconfig: is a directory+_
    =========
    For the '/tmp':
    +Michael-Leungs-MacBook:~ Michael$ cd /tmp+
    +Michael-Leungs-MacBook:tmp Michael$ cd /+
    +Michael-Leungs-MacBook:/ Michael$ sudo rm -rf /tmp+
    Password:
    +Michael-Leungs-MacBook:/ Michael$ +
    So, for the steps you provided, I can follow all the steps except the one '.fontconfig'
    Hope the information I provided above can help you to help me!
    Thank you etresoft!

  • Snow Leopard 10.6.2 takes a long time to run 'X11.app' (with system log)

    Hello everyone, English is not my mother tongue so may not be exactly correct, sorry about that.
    Background:
    I have a MacBook White (13-inch, Mid 2009) that isn't unibody, and was running Leopard 10.5.
    I did a clean installation and now Snow Leopard 10.6.2, with iLife, iWork, and many many apps.
    I am the only one who will use the Mac and my user account is as the 'admin'.
    I previously had a problem concerning X11 too:
    http://discussions.apple.com/thread.jspa?threadID=2343732
    *What I've done:*
    (1) rename my HD to 'Michaels_Home' under 'Get Info' from Finder (I can't rename in Disk Utility though)
    (2) press return (enter)
    (3) change my home folder path to the '/Volumes/Michaels_Home/Users/Michael' (http://eshop.macsales.com/Reviews/Framework.cfm?page=Tips/relocate3/relocate3.ht ml)
    (4) restart
    (5) log in and open X11
    (6) problem solved!!
    ==========
    *BUT NOW* I have a problem after:
    (1) log in as the root user, and use command +ditto -V xyz xyz+ to copy my home folder from '/Volumes/Michaels_Home/Users/Michael' to '/Users>Michael'
    (2) change my home folder path to the '/Users/Michael' (http://eshop.macsales.com/Reviews/Framework.cfm?page=Tips/relocate3/relocate3.ht ml)
    (3) use the Mac OS X Snow Leopard USD$29 disc to boot my Mac up
    (4) delete the 'Michaels_Home' partition (I had 3 partitions: (1) Macintosh HD (2) Michaels_Home (3) Windows XP Professional)
    (5) resize the 'Macintosh HD' partition
    (6) boot from Macintosh HD
    (7) find that there's a problem about X11
    _The problem:_
    it takes a *long time* for X11 to start.
    When I try to open the 'X11.app', the X11 icon begins jumping on the Dock, but nothing happens.
    Jumping and jumping... finally, it doesn't jump any more, with just the X11 icon on the dock.
    What's more, there is no white dot under the icon, which means the app isn't running at the moment.
    I right-clicked the icon, it shows me 'application not responding'.
    So, I open the *Activity Monitor*, and I can see there are 3 apps related to X11 are running:
    (1) X11
    (2) X11.bin
    (3) xauth
    *At the moment now, if you would wait for about 1.5 min., X11 will open.*
    Please see below for the system log (from 'FREEZING' to 'WORKING')
    ==========
    Mar 1 00:42:10 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: main(): argc=2
    Mar 1 00:42:10 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
    Mar 1 00:42:10 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[1] = -psn0139298
    Mar 1 00:42:10 n219073058253 [0x0-0x22022].org.x.X11[327]: Waiting for startup parameters via Mach IPC.
    Mar 1 00:42:10 n219073058253 org.x.startx[335]: font_cache: Scanning user font directories to generate X11 font caches
    Mar 1 00:42:10 n219073058253 org.x.startx[335]: font_cache: Updating FC cache
    Mar 1 00:42:10 n219073058253 org.x.privileged_startx[344]: font_cache: Scanning system font directories to generate X11 font caches
    Mar 1 00:42:10 n219073058253 defaults[370]: \nThe domain/default pair of (org.x.X11, dpi) does not exist
    Mar 1 00:42:12 n219073058253 org.x.privileged_startx[344]: font_cache: Updating FC cache
    Mar 1 00:42:13 n219073058253 org.x.startx[335]: font_cache: Done
    Mar 1 00:42:14 n219073058253 org.x.privileged_startx[344]: font_cache: Done
    Mar 1 00:42:31 n219073058253 org.x.startx[335]: xauth: timeout in locking authority file /Users/Michael/.serverauth.335
    Mar 1 00:42:51 n219073058253 org.x.startx[335]: xauth: timeout in locking authority file /Users/Michael/.Xauthority
    Mar 1 00:43:31: --- last message repeated 1 time ---
    Mar 1 00:43:31 n219073058253 org.x.startx[335]: xauth: timeout in locking authority file /Users/Michael/.Xauthority
    Mar 1 00:43:51: --- last message repeated 1 time ---
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: Listening on socket for fd handoff: (4) /var/tmp/tmp.0.9OYerf
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: Thread created for handoff. Returning success to tell caller to connect and push the fd.
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: Received new $DISPLAY fd: 6 ... sleeping to allow xinitrc to catchup.
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: dostart_x11server(): argc=6
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[0] = /usr/X11/bin/X
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[1] =
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[2] = -nolisten
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[3] = tcp
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[4] = -auth
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[5] = /Users/Michael/.serverauth.335
    Mar 1 00:43:51 n219073058253 org.x.startx[335]: Xquartz: Handoff connection established (try 1 of 5) on fd 6, "/var/tmp/tmp.0.9OYerf". Sending message.
    Mar 1 00:43:51 n219073058253 org.x.startx[335]: Xquartz: Message sent. Closing handoff fd.
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: Xquartz starting:
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: X.Org X Server 1.4.2-apple45
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: Build Date: 20090705
    Mar 1 00:43:51 n219073058253 [0x0-0x22022].org.x.X11[327]: (EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
    Mar 1 00:43:54: --- last message repeated 1 time ---
    Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app Handing off fd to server thread via DarwinListenOnOpenFD(6)
    Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: DarwinListenOnOpenFD: 6
    Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: Calling ListenOnOpenFD() for new fd: 6
    Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: X11.app: Launching /usr/X11/bin/xterm:
    Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[0] = /bin/sh
    Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[1] = -c
    Mar 1 00:43:54 n219073058253 [0x0-0x22022].org.x.X11[327]: argv[2] = /usr/X11/bin/xterm
    ==========
    I quit the X11:
    ==========
    Mar 1 00:45:45 n219073058253 [0x0-0x22022].org.x.X11[327]: Quitting Xquartz...
    Mar 1 00:45:45 n219073058253 org.x.startx[335]: /usr/X11/bin/xinit: connection to X server lost.
    Mar 1 00:45:45 n219073058253 org.x.startx[335]: waiting for X server to shut down
    ==========
    AFTER quitting X11, I can see something related X11 is stilling running:
    ==========
    Mar 1 00:46:06 n219073058253 org.x.startx[335]: xauth: timeout in locking authority file /Users/Michael/.Xauthority
    ==========
    So what actually causes this problem?
    Thanks in advance!

    It turns out that there's something wrong about permissions.
    Here's the fix:
    (1) log in as the +root user+
    (2) type +chown -R Michael:staff ~Michael+
    (3) log out the +root user+
    (4) log in your account
    (5) done!
    Hope this thread will help those who encounter the same problem as me!

  • [AUTO-SOLVED] Run an app as privileged user

    Im preparing a package for an app that uses libpcap and requires administrative rights to run properly.
    Currently, the .desktop file for launching this app contains something like this:
    gksudo mono /foo/bar/app.exe
    But it looks like in the moment the app is going to make use of the libpcap library, the rights get lost and the app just force closes...
    I don't know if this is the best procedure for doing so, but certainly, if i run from a terminal:
    sudo mono /foo/bar/app.exe
    I get the expected results and behaviour....
    Can anyone help me?
    EDIT: Looks like I found the source of the issue.
    If i want to run this app from console, i first have to cd inside of the same dire the .exe is located... so, how to put this into a .desktop file?
    Thanks
    EDIT #2:
    Path=/foo/bar
    inside the .desktop file ...... this did the trick
    Thanks!!!
    Last edited by Xi0N (2011-12-13 23:12:53)

    Im preparing a package for an app that uses libpcap and requires administrative rights to run properly.
    Currently, the .desktop file for launching this app contains something like this:
    gksudo mono /foo/bar/app.exe
    But it looks like in the moment the app is going to make use of the libpcap library, the rights get lost and the app just force closes...
    I don't know if this is the best procedure for doing so, but certainly, if i run from a terminal:
    sudo mono /foo/bar/app.exe
    I get the expected results and behaviour....
    Can anyone help me?
    EDIT: Looks like I found the source of the issue.
    If i want to run this app from console, i first have to cd inside of the same dire the .exe is located... so, how to put this into a .desktop file?
    Thanks
    EDIT #2:
    Path=/foo/bar
    inside the .desktop file ...... this did the trick
    Thanks!!!
    Last edited by Xi0N (2011-12-13 23:12:53)

  • Middle-clicking woes in X11 Apps using a mighty mouse

    Hi,
    This has been a frustrating issue ever since I got my new work computer (it's been over a year and a half) and I've just suffered through it. While middle-clicking a half dozen times today until it worked, I finally decided to ask to see if there's a solution other than scrapping the mighty mouse.
    The problem is that when I use XEmacs (an X-windows app I use for coding), I like to use the middle click to paste, but I almost always manage to make the scroll-ball scroll inadvertently which causes the middle-click to not work and hence, nothing gets pasted. I know that there are other methods I could utilize, like setting up option-left-click or by command-c/command-v, or by using menus, but that's not what I want. I just want to highlight and middle-click. I want to have a middle-click that works with one try every time. I use all the clicking surfaces, so I don't want to map middle click to some other button. Is there a way I can tell X11 to ignore the scroll and middle-click anyway? Can someone give me a pointer on how to middle click better? This is crazy.
    Thanks,
    Rob

    Have you tried an alternate Mouse driver?
    USB Overdrive
    <http://www.versiontracker.com/dyn/moreinfo/macosx/13443>
    SteerMouse
    <http://www.versiontracker.com/dyn/moreinfo/macosx/27620>
    I think they have demo modes.
    Personally, I use a Logitech mouse with about 9 buttons. My scroll wheel can be pushed left or right. Left is configured to Copy and Right is configured for Paste. Via USB Overdrive it does Command-C/Command-V for Mac applications, and the correct thing for X11 applications. That is to say, I can have the buttons do different things for different applications.

  • [Solved] Only root (or using sudo) can start wbar 2.3.4-1

    Since the update from 2.3.0-1 to 2.3.4-1 wbar can only be started using either the root account or starting it with sudo. Due to this its (normal user) config file is ignored.
    I have taken a peek at the wbar site and seen that there have been newer versions before this last one but it is only this one that popped up in pacman. Therefore I do not know if this problem already started with any of these.
    I have downgraded to the previous version I used and all works as it should (and has always done). Anyone else has experienced this?
    Last edited by root (2012-09-27 22:50:24)

    @WorMzy
    When I try to run wbar as regular user I only get a blank line and back to 'console command line' so to speak. I tried to debug it using
    LD_DEBUG=files wbar > wbar.log 2>&1
    but, suprisingly as it always had worked before in other cases, got a 'permission denied' message for the wbar.log file.
    Right now I checked again and, again suprisingly, it (the debug procedure) worked with the following output,
    14214:
    14214: file=libImlib2.so.1 [0]; needed by wbar [0]
    14214: file=libImlib2.so.1 [0]; generating link map
    14214: dynamic: 0xb77a2ea0 base: 0xb774b000 size: 0x0006c690
    14214: entry: 0xb7750b40 phdr: 0xb774b034 phnum: 7
    14214:
    14214:
    14214: file=libX11.so.6 [0]; needed by wbar [0]
    14214: file=libX11.so.6 [0]; generating link map
    14214: dynamic: 0xb7747d88 base: 0xb7615000 size: 0x00135b38
    14214: entry: 0xb7629280 phdr: 0xb7615034 phnum: 7
    14214:
    14214:
    14214: file=libstdc++.so.6 [0]; needed by wbar [0]
    14214: file=libstdc++.so.6 [0]; generating link map
    14214: dynamic: 0xb760c91c base: 0xb752d000 size: 0x000e7614
    14214: entry: 0xb7573620 phdr: 0xb752d034 phnum: 8
    14214:
    14214:
    14214: file=libm.so.6 [0]; needed by wbar [0]
    14214: file=libm.so.6 [0]; generating link map
    14214: dynamic: 0xb752bea8 base: 0xb74ed000 size: 0x0003f080
    14214: entry: 0xb74f1490 phdr: 0xb74ed034 phnum: 9
    14214:
    14214:
    14214: file=libgcc_s.so.1 [0]; needed by wbar [0]
    14214: file=libgcc_s.so.1 [0]; generating link map
    14214: dynamic: 0xb74ec330 base: 0xb74d0000 size: 0x0001c670
    14214: entry: 0xb74d2020 phdr: 0xb74d0034 phnum: 6
    14214:
    14214:
    14214: file=libc.so.6 [0]; needed by wbar [0]
    14214: file=libc.so.6 [0]; generating link map
    14214: dynamic: 0xb74cad7c base: 0xb7324000 size: 0x001aaac4
    14214: entry: 0xb733d760 phdr: 0xb7324034 phnum: 10
    14214:
    14214:
    14214: file=libfreetype.so.6 [0]; needed by /usr/lib/libImlib2.so.1 [0]
    14214: file=libfreetype.so.6 [0]; generating link map
    14214: dynamic: 0xb7322e90 base: 0xb7288000 size: 0x0009b360
    14214: entry: 0xb728fea0 phdr: 0xb7288034 phnum: 7
    14214:
    14214:
    14214: file=libz.so.1 [0]; needed by /usr/lib/libImlib2.so.1 [0]
    14214: file=libz.so.1 [0]; generating link map
    14214: dynamic: 0xb7286ec8 base: 0xb7271000 size: 0x000160fc
    14214: entry: 0xb72729f0 phdr: 0xb7271034 phnum: 7
    14214:
    14214:
    14214: file=libbz2.so.1.0 [0]; needed by /usr/lib/libImlib2.so.1 [0]
    14214: file=libbz2.so.1.0 [0]; generating link map
    14214: dynamic: 0xb7270060 base: 0xb7261000 size: 0x0000fe44
    14214: entry: 0xb7262030 phdr: 0xb7261034 phnum: 6
    14214:
    14214:
    14214: file=libXext.so.6 [0]; needed by /usr/lib/libImlib2.so.1 [0]
    14214: file=libXext.so.6 [0]; generating link map
    14214: dynamic: 0xb725fefc base: 0xb724e000 size: 0x000126c8
    14214: entry: 0xb7250a10 phdr: 0xb724e034 phnum: 7
    14214:
    14214:
    14214: file=libdl.so.2 [0]; needed by /usr/lib/libImlib2.so.1 [0]
    14214: file=libdl.so.2 [0]; generating link map
    14214: dynamic: 0xb724ceb8 base: 0xb7249000 size: 0x00004074
    14214: entry: 0xb7249ad0 phdr: 0xb7249034 phnum: 9
    14214:
    14214:
    14214: file=libxcb.so.1 [0]; needed by /usr/lib/libX11.so.6 [0]
    14214: file=libxcb.so.1 [0]; generating link map
    14214: dynamic: 0xb7246f00 base: 0xb7226000 size: 0x000211d0
    14214: entry: 0xb722e650 phdr: 0xb7226034 phnum: 7
    14214:
    14214:
    14214: file=libXau.so.6 [0]; needed by /usr/lib/libxcb.so.1 [0]
    14214: file=libXau.so.6 [0]; generating link map
    14214: dynamic: 0xb7224f20 base: 0xb7222000 size: 0x00003090
    14214: entry: 0xb7222a70 phdr: 0xb7222034 phnum: 7
    14214:
    14214:
    14214: file=libXdmcp.so.6 [0]; needed by /usr/lib/libxcb.so.1 [0]
    14214: file=libXdmcp.so.6 [0]; generating link map
    14214: dynamic: 0xb7220f20 base: 0xb721b000 size: 0x00006078
    14214: entry: 0xb721bf10 phdr: 0xb721b034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/libc.so.6
    14214:
    14214:
    14214: calling init: /usr/lib/libXdmcp.so.6
    14214:
    14214:
    14214: calling init: /usr/lib/libXau.so.6
    14214:
    14214:
    14214: calling init: /usr/lib/libxcb.so.1
    14214:
    14214:
    14214: calling init: /usr/lib/libdl.so.2
    14214:
    14214:
    14214: calling init: /usr/lib/libX11.so.6
    14214:
    14214:
    14214: calling init: /usr/lib/libXext.so.6
    14214:
    14214:
    14214: calling init: /usr/lib/libbz2.so.1.0
    14214:
    14214:
    14214: calling init: /usr/lib/libz.so.1
    14214:
    14214:
    14214: calling init: /usr/lib/libfreetype.so.6
    14214:
    14214:
    14214: calling init: /usr/lib/libgcc_s.so.1
    14214:
    14214:
    14214: calling init: /usr/lib/libm.so.6
    14214:
    14214:
    14214: calling init: /usr/lib/libstdc++.so.6
    14214:
    14214:
    14214: calling init: /usr/lib/libImlib2.so.1
    14214:
    14214:
    14214: initialize program: wbar
    14214:
    14214:
    14214: transferring control: wbar
    14214:
    14214:
    14214: file=/usr/lib/imlib2/loaders/zlib.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/zlib.so [0]; generating link map
    14214: dynamic: 0xb77d2ee0 base: 0xb77d1000 size: 0x00002060
    14214: entry: 0xb77d17e0 phdr: 0xb77d1034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/zlib.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/zlib.so [0]; direct_opencount=1
    14214:
    14214: /usr/lib/imlib2/loaders/zlib.so: error: symbol lookup error: undefined symbol: save (fatal)
    14214:
    14214: file=/usr/lib/imlib2/loaders/xpm.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/xpm.so [0]; generating link map
    14214: dynamic: 0xb77cfedc base: 0xb77cc000 size: 0x0000406c
    14214: entry: 0xb77cc8c0 phdr: 0xb77cc034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/xpm.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/xpm.so [0]; direct_opencount=1
    14214:
    14214: /usr/lib/imlib2/loaders/xpm.so: error: symbol lookup error: undefined symbol: save (fatal)
    14214:
    14214: file=/usr/lib/imlib2/loaders/tiff.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/tiff.so [0]; generating link map
    14214: dynamic: 0xb77caed4 base: 0xb77c7000 size: 0x0000407c
    14214: entry: 0xb77c7a00 phdr: 0xb77c7034 phnum: 7
    14214:
    14214:
    14214: file=libtiff.so.5 [0]; needed by /usr/lib/imlib2/loaders/tiff.so [0]
    14214: file=libtiff.so.5 [0]; generating link map
    14214: dynamic: 0xb6ff8e64 base: 0xb6f88000 size: 0x00073204
    14214: entry: 0xb6f8d760 phdr: 0xb6f88034 phnum: 7
    14214:
    14214:
    14214: file=liblzma.so.5 [0]; needed by /usr/lib/libtiff.so.5 [0]
    14214: file=liblzma.so.5 [0]; generating link map
    14214: dynamic: 0xb6f86e94 base: 0xb6f61000 size: 0x000260f0
    14214: entry: 0xb6f62f00 phdr: 0xb6f61034 phnum: 7
    14214:
    14214:
    14214: file=libjpeg.so.8 [0]; needed by /usr/lib/libtiff.so.5 [0]
    14214: file=libjpeg.so.8 [0]; generating link map
    14214: dynamic: 0xb6f4fd00 base: 0xb6f0a000 size: 0x000561a4
    14214: entry: 0xb6f0cb70 phdr: 0xb6f0a034 phnum: 7
    14214:
    14214:
    14214: file=libpthread.so.0 [0]; needed by /usr/lib/liblzma.so.5 [0]
    14214: file=libpthread.so.0 [0]; generating link map
    14214: dynamic: 0xb6f06e98 base: 0xb6eef000 size: 0x0001a1fc
    14214: entry: 0xb6ef4b50 phdr: 0xb6eef034 phnum: 9
    14214:
    14214:
    14214: calling init: /usr/lib/libpthread.so.0
    14214:
    14214:
    14214: calling init: /usr/lib/libjpeg.so.8
    14214:
    14214:
    14214: calling init: /usr/lib/liblzma.so.5
    14214:
    14214:
    14214: calling init: /usr/lib/libtiff.so.5
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/tiff.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/tiff.so [0]; direct_opencount=1
    14214:
    14214:
    14214: file=/usr/lib/imlib2/loaders/tga.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/tga.so [0]; generating link map
    14214: dynamic: 0xb77c5ee0 base: 0xb77c3000 size: 0x00003044
    14214: entry: 0xb77c3690 phdr: 0xb77c3034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/tga.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/tga.so [0]; direct_opencount=1
    14214:
    14214:
    14214: file=/usr/lib/imlib2/loaders/pnm.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/pnm.so [0]; generating link map
    14214: dynamic: 0xb77c1ee0 base: 0xb77bf000 size: 0x00003050
    14214: entry: 0xb77bf7a0 phdr: 0xb77bf034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/pnm.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/pnm.so [0]; direct_opencount=1
    14214:
    14214:
    14214: file=/usr/lib/imlib2/loaders/png.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/png.so [0]; generating link map
    14214: dynamic: 0xb77bded4 base: 0xb77ba000 size: 0x000040c4
    14214: entry: 0xb77baed0 phdr: 0xb77ba034 phnum: 7
    14214:
    14214:
    14214: file=libpng15.so.15 [0]; needed by /usr/lib/imlib2/loaders/png.so [0]
    14214: file=libpng15.so.15 [0]; generating link map
    14214: dynamic: 0xb6eedeb8 base: 0xb6ebf000 size: 0x0002f20c
    14214: entry: 0xb6ec35b0 phdr: 0xb6ebf034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/libpng15.so.15
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/png.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/png.so [0]; direct_opencount=1
    14214:
    14214:
    14214: file=/usr/lib/imlib2/loaders/lbm.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/lbm.so [0]; generating link map
    14214: dynamic: 0xb7016ee0 base: 0xb7014000 size: 0x00003048
    14214: entry: 0xb70146c0 phdr: 0xb7014034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/lbm.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/lbm.so [0]; direct_opencount=1
    14214:
    14214: /usr/lib/imlib2/loaders/lbm.so: error: symbol lookup error: undefined symbol: save (fatal)
    14214:
    14214: file=/usr/lib/imlib2/loaders/jpeg.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/jpeg.so [0]; generating link map
    14214: dynamic: 0xb7012ed8 base: 0xb7010000 size: 0x00003078
    14214: entry: 0xb7010a70 phdr: 0xb7010034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/jpeg.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/jpeg.so [0]; direct_opencount=1
    14214:
    14214:
    14214: file=/usr/lib/imlib2/loaders/id3.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/id3.so [0]; generating link map
    14214: dynamic: 0xb700eed4 base: 0xb700b000 size: 0x000040b8
    14214: entry: 0xb700bd90 phdr: 0xb700b034 phnum: 7
    14214:
    14214:
    14214: file=libid3tag.so.0 [0]; needed by /usr/lib/imlib2/loaders/id3.so [0]
    14214: file=libid3tag.so.0 [0]; generating link map
    14214: dynamic: 0xb6ea1ef0 base: 0xb6e8d000 size: 0x00015228
    14214: entry: 0xb6e90e10 phdr: 0xb6e8d034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/libid3tag.so.0
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/id3.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/id3.so [0]; direct_opencount=1
    14214:
    14214: /usr/lib/imlib2/loaders/id3.so: error: symbol lookup error: undefined symbol: save (fatal)
    14214:
    14214: file=/usr/lib/imlib2/loaders/gif.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/gif.so [0]; generating link map
    14214: dynamic: 0xb6ebded8 base: 0xb6ebb000 size: 0x00003044
    14214: entry: 0xb6ebb6a0 phdr: 0xb6ebb034 phnum: 7
    14214:
    14214:
    14214: file=libgif.so.4 [0]; needed by /usr/lib/imlib2/loaders/gif.so [0]
    14214: file=libgif.so.4 [0]; generating link map
    14214: dynamic: 0xb7009f00 base: 0xb7001000 size: 0x0000953c
    14214: entry: 0xb70026c0 phdr: 0xb7001034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/libgif.so.4
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/gif.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/gif.so [0]; direct_opencount=1
    14214:
    14214: /usr/lib/imlib2/loaders/gif.so: error: symbol lookup error: undefined symbol: save (fatal)
    14214:
    14214: file=/usr/lib/imlib2/loaders/bz2.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/bz2.so [0]; generating link map
    14214: dynamic: 0xb6fffee0 base: 0xb6ffe000 size: 0x0000205c
    14214: entry: 0xb6ffe7e0 phdr: 0xb6ffe034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/bz2.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/bz2.so [0]; direct_opencount=1
    14214:
    14214: /usr/lib/imlib2/loaders/bz2.so: error: symbol lookup error: undefined symbol: save (fatal)
    14214:
    14214: file=/usr/lib/imlib2/loaders/bmp.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/bmp.so [0]; generating link map
    14214: dynamic: 0xb6eb9ee0 base: 0xb6eb6000 size: 0x00004044
    14214: entry: 0xb6eb66f0 phdr: 0xb6eb6034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/bmp.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/bmp.so [0]; direct_opencount=1
    14214:
    14214:
    14214: file=/usr/lib/imlib2/loaders/argb.so [0]; dynamically loaded by /usr/lib/libImlib2.so.1 [0]
    14214: file=/usr/lib/imlib2/loaders/argb.so [0]; generating link map
    14214: dynamic: 0xb6eb4ee0 base: 0xb6eb3000 size: 0x0000203c
    14214: entry: 0xb6eb36b0 phdr: 0xb6eb3034 phnum: 7
    14214:
    14214:
    14214: calling init: /usr/lib/imlib2/loaders/argb.so
    14214:
    14214: opening file=/usr/lib/imlib2/loaders/argb.so [0]; direct_opencount=1
    14214:
    14214:
    14214: calling fini: wbar [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libstdc++.so.6 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libgcc_s.so.1 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/zlib.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/xpm.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/tiff.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libtiff.so.5 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/liblzma.so.5 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libpthread.so.0 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/tga.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/pnm.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/png.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libpng15.so.15 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/lbm.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/jpeg.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libjpeg.so.8 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/id3.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libid3tag.so.0 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/gif.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libgif.so.4 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/bz2.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/bmp.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/imlib2/loaders/argb.so [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libImlib2.so.1 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libXext.so.6 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libfreetype.so.6 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libbz2.so.1.0 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libz.so.1 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libm.so.6 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libX11.so.6 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libxcb.so.1 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libXdmcp.so.6 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libXau.so.6 [0]
    14214:
    14214:
    14214: calling fini: /usr/lib/libdl.so.2 [0]
    14214:

  • MBP overheating when running any app using webcam - Skype - Photobooth

    My MacBook Pro (2007) overheats each time when using skype. checked and the same applies to photobooth.
    My MBP's screen was freezing up as the unit heated up using Skype. I initially thought it was the purchase of a 2560X1440 monitor forcing my graphics card to work harder but the problems are replicated even without my external monitor.
    Apple replaced my motherboard/graphics card for the second time yesterday as it was apparently among the defective nVidia units. I took the opportunity to upgrade my hard-drive to 500GB (from 320). My fans and heat sinks were also cleared of all dust.
    I restored my system from time machine.
    When running skype or photobooth, the unit immediately begins to heat-up again.
    I have checked the forums and have installed fan-control to no avail. I have also checked activity monitor with the following results:
    Initially mdcontrol and mds were running 90%+ cpu causing temperatures to spike up over 90 celsius (190+ fahrenheit). they have dropped off now, seems spotlight index needed to be finished after restoring my system.
    With a test of photo booth now, it uses 76% of CPU. Temperature rapidly ramped up to over 74 Celsius (161) with fans at over 5400 RPM. I also have a massive 22cm laptop cooling fan to help out. The system stays at these high temperatures as long as the webcam is running using photobooth or skype. The system drops to "normal" temperatures immediately after dropping webcam useage.
    I have also added an external webcam to see if the problem repeats (Logitech C510). The problem seems worse with temperatures immediately spiking to over 95 degrees Celsius (203 fahrenheit). It is an HD camera so i guess it needs more processing bandwidth.
    I would add that the temperature spike is occurring on CPU A (according to iStat Nano). The GPU Diode rises to but did not jump over 70 Celsius.
    The problem thus appears to be software linked.
    I use skype continuously for work so this is a major issue. There has been a recent update to Skype but my machine was running hot and crashing before then as well.
    At least now with the new board it is not immediately crashing my machine but it is only a matter of time until it begins to fail as well.
    Is anybody else having these problems? Any fixes? This is not normal, it did not occur in the past (at least I don't recall this).
    Thanks

    Allan,
    Thanks will look at disabling spotlight. I don't use safari so there should not be a problem there.
    Main issue is still Skype (can replicate effect with photobooth). Seems that webcam use and skype (iSight or external webcam) will rapidly spike temperatures and cpu use.
    One of the threads mentioned the OnyX utility helping solve the issues. I ran this to clear a lot of things from my machine.
    It seems to have solved many of the issues (though I don't know which was the culprit). Whatever it was came from my original user files/settings as these were the only elements I transferred following my full reformat and reinstall.
    My machine - with fan control and external laptop cooling fan - now stays below 70 degrees though the internal fans are then running at 5700rpm (aggressive settings used). CPU use for Skype at around 76%. Just had a 20 min skype call to test that.
    So OnyX may have solved the problem. My thanks to the developers. May have been able to save replacing the mother board and a full reinstall as a result.

  • How to call Servlet from jsp page and how to run this app using tomcat..?

    Hi ,
    I wanted to call servlet from jsp action i.e. on submit button of JSP call LoginServlet.Java file.
    Please tell me how to do this into jsp page..?
    Also i wanted to execute this application using tomcat.
    Please tell me how to do this...? what setting are required for this...? what will be url ..??
    Thanks.

    well....my problem is as follows:
    whenever i type...... http://localhost:8080/appName/
    i am getting 404 error.....it is not calling to login.jsp (default jsp)
    but when i type......http://localhost:8080/appName/login.do........it executes servlet properly.
    Basically this 'login.do' is form action (form action='/login.do').....and i wanted to execute this from login jsp only.(from submit button)
    In short can anyone please tell me how to diaplay jsp page using tomcat 5.5
    plz help me.

  • Run GUI app with sudo privileges and no need for Terminal?

    I try to use 'Locator' (the GUI version of the 'locate' command) but find that it can't update its database without root privileges, which defeats the GUI-ness of it.
    Can it be set up to be 'run as administrator' a la Vista?

    Not on my machine. Might you have changed it?
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-*//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"*>
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>com.apple.locate</string>
    <key>Disabled</key>
    <true/>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/libexec/locate.updatedb</string>
    </array>
    <key>LowPriorityIO</key>
    <true/>
    <key>Nice</key>
    <integer>5</integer>
    <key>KeepAlive</key>
    <dict>
    <key>PathState</key>
    <dict>
    <key>/var/db/locate.database</key>
    <false/>
    </dict>
    </dict>
    <key>StartCalendarInterval</key>
    <dict>
    <key>Hour</key>
    <integer>3</integer>
    <key>Minute</key>
    <integer>15</integer>
    <key>Weekday</key>
    <integer>6</integer>
    </dict>
    <key>AbandonProcessGroup</key>
    <true/>
    </dict>
    </plist>

  • [SOLVED] Running GTK apps without themes

    You will have to excuse me if this sounds wrong. But I wished to know if it's possible to run GTK themes without any GTK themes.
    Justr curious what the results may actually be and how to go about disabling GTK theme entirely.
    Last edited by wildfowl (2015-01-16 22:51:27)

    I deleted all the themes and Raleigh is still the fallback theme.
    Basically Windows 95.
    No go.

  • Deploying a project with CR8.5 on a pc already running an app using CR7

    Post Author: Eamon Jurdzis
    CA Forum: Older Products
    I have just created a project utilising CR8.5 and its ready to deploy with all the relevant runtime files included in the setup package.The target machine(s) already have an application which was created utilising CR7.If I install my project on one of those machines, how will this affect the operation of the exisiting program which utilises CR7 reports?In other words, are there compatibility issues in the runtime files between version 7 and version 8.5 of crystal reports?

    I already have the fileAdapter JNDI is already configured in console. The error I am getting is during the deployment
    Conflicts found during publish.
    Invalid JCA transport endpoint configuration, exception: javax.resource.ResourceException: Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    Thanks

  • Error when adding phtreads support to PHP while following wiki

    Hi,
    Willing to add phthreads support to PHP, I read this page and began to follow its instructions : https://wiki.archlinux.org/index.php/PH … _extension
    But while the makepkg -s step, compilation stops with the following message :
    checking whether build with IMAP works... no
    configure: error: build test failed. Please check the config.log for details.
    ==> ERROR: A failure occurred in build().
    Aborting...
    Looking at the relevant section from config.log :
    configure:48953: checking whether build with IMAP works
    configure:48997: cc -o conftest -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fvisibility=hidden -pthread -D_FORTIFY_SO
    URCE=2 -D_REENTRANT -L/usr/lib -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c -lcrypto -lssl -lcrypto -lc-client -lcrypt -lpam -lz -lpcre -lrt -lm -ldl -lnsl -lxml2 -lz
    -lm -ldl -lxml2 -lz -lm -ldl >&5
    /usr/lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit':
    (.text+0xb696): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_open_verify':
    (.text+0x1b7): undefined reference to `X509_STORE_CTX_get_error'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_open_verify':
    (.text+0x1bf): undefined reference to `X509_verify_cert_error_string'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_open_verify':
    (.text+0x1d1): undefined reference to `X509_STORE_CTX_get_current_cert'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_open_verify':
    (.text+0x1d9): undefined reference to `X509_get_subject_name'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_open_verify':
    (.text+0x1e9): undefined reference to `X509_NAME_oneline'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_server_input_wait':
    (.text+0x1982): undefined reference to `SSL_get_fd'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_server_input_wait':
    (.text+0x199d): undefined reference to `SSL_pending'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_server_input_wait':
    (.text+0x19b6): undefined reference to `SSL_read'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_abort':
    (.text+0x53d5): undefined reference to `SSL_shutdown'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_abort':
    (.text+0x53de): undefined reference to `SSL_free'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_abort':
    (.text+0x53f4): undefined reference to `SSL_CTX_free'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_sout':
    (.text+0x54c6): undefined reference to `SSL_write'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_sout':
    (.text+0x54e6): undefined reference to `SSL_get_error'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_start':
    (.text+0x56de): undefined reference to `TLSv1_client_method'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_start':
    (.text+0x56e6): undefined reference to `SSL_CTX_new'
    /usr/lib/libc-client.a(osdep.o): In function `ssl_start':
    (.text+0x5704): undefined reference to `SSL_CTX_ctrl'
    It seems that all these missing references belongs to libcrypt.so, but I don't know how to solve this.
    Can you help me ?
    Last edited by Harko33 (2014-06-03 13:20:08)

    karol wrote:
    When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
    like this
    It makes the code more readable and - in case of longer listings - more convenient to scroll through.
    No problem, sorry. I just fixed it.

  • Using SUDO In Terminal - Mavericks

    Before Mavericks, I could run an administrative command in Terminal, it would prompt me for a password, I would type the password to my admin account and everything worked fine.
    Now, when I run an administrative command, I get prompted for MY password.  I then see the following error message:
    Sorry, user " " is not allowed to execute ...
    How can I repair this so when I run a command using SUDO, I get prompted for the administrative password again.
    I followed the process of enabling the root account and set a password for it, but this is still not working.  Do I need to reboot or something?
    Thank you for any help!

    Slow boots?  Look for site-local modifications, add-on enhancements and related; at whatever baggage is part of the local startup.   More often than not, there's add-on software that's starting up that's lengthening the boot time.
    Look at the boot logs.
    Perform a verbose bootstrap.
    Figure out what's wrong or come up with a theory, try some specific changes to prove or disprove the theory, reset the changes back if the tests don't work out, and try another change.
    Try a clean Mavericks install, and compare how fast that boots.
    Look for the usual sorts of hardware bottlenecks, too.  Slow disks.  Insufficient free memory that then forces memory reclamation.  Slow networks.   Slow processors.  Etc.
    No-cost short-cuts to better system performance?  Those are really rare.

  • Can AIR apps in sudo/admin mode?

    Will AIR for linux support running AIR apps in sudo mode?
    Meaning, will it be able to modify a setting that requires the app
    to run in sudo mode?
    If not, will there be an api to check if the app in running
    with sudo or admin privileges. This would also be great for Windows
    and Mac versions.

    So what if the application needs to write to a config file
    that require sudo user? How do we manage that task? will the AIR
    runtime prompt the user to enter a sudo password or will it throw a
    file access error?
    I think it would be easier for AIR to prompt the user for
    sudo access so the developer would not have to worry about the sudo
    access.

  • How do I solve the following message from Code Blocks on a OS X (10.10.2): "Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo." ?. It appears when I try to compile any code.

    Whenever I try to compile any code the following messagem appears: "greeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo."
    I'm using CodeBlocks v. 13.12. Its file (codeblocks-2.app) is inside the App folder.

    I suggest you ask whomever makes CodeBlocks.
    They would be the most knowledgeable.

Maybe you are looking for

  • Can't set desktop image from iPhoto

    my just purchased 17' macbook pro will not set the desktop image from my iphoto pictures I imported from my time machine

  • Cheque Return by selecting contract account

    Hi experts,       Can anyone help me, how to perform cheque return through FP09 by selecting contract account as selection criteria? Is there any function module needs to be activated? Thanks & Regards Paul

  • When installing Adobe Acrobat on my new computer I get the message that the serial number is invalid.

    I try to install Adobe Acrobat on my new computer, but I get a message that the serial number (the one I found in My Account) is invalid. I have already deactivated Adobe Acrobat on my old computer.

  • Apple software updates does not appear to do its automatic checks?

    I have itunes installed on two almost identical Windows 7 based PC's and I have noticed that on one PC the Apple Software Updates do not appear to do its job by checking for updates automatically. If I run the software manually it will show if an upd

  • ShrinkFile

    Boa tarde,  Usei os seguintes comandos para consultar e reduzir o arquivo de log do meu banco porém os aquivos continuam do mesmo tamanho. O que posso fazer para resolver ? DBCC SQLPERF (LOGSPACE) DATABASE NAME - LOG SIZE (MB) - LOG SPACE USED (%) -