You are not logged in.

#1 2015-03-18 19:05:37

Whitz
Member
Registered: 2015-02-09
Posts: 13

Some programs not starting anymore (MonoDevelop)

Hey Guys,

Got a problem here..
I'm running an ArchLinux installation wih XFCE.
Each time I try to start MonoDevelop over the lefthand program menu its not starting. - Nothing happens
Its only working if I type sudo monodevelop in terminal.

Appreciate your help
Tom

Offline

#2 2015-03-18 19:15:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Some programs not starting anymore (MonoDevelop)

Did you install monodevelop from the repos?
What happens if you run just 'monodevelop' from the terminal, w/o 'sudo'?

Offline

#3 2015-03-18 19:22:48

Whitz
Member
Registered: 2015-02-09
Posts: 13

Re: Some programs not starting anymore (MonoDevelop)

Yeahh, installed from the official repos, also tried to reinstall a few times even with pacman -Rns but nothing changed.
If I just try to run monodevelop in the terminal nothing happens at all. It loads for about 2 seconds and then I am again able to type something.

Offline

#4 2015-03-19 11:43:18

ayekat
Member
Registered: 2011-01-17
Posts: 1,591

Re: Some programs not starting anymore (MonoDevelop)

There is no output at all? What is the return value of monodevelop? Try

echo $?

As it sounds permission-related, I would have tried to take a glance at the output of

strace -e open monodevelop

and see what files it tries to access (and possibly fails).


pkgshackscfgblag

Offline

#5 2015-03-19 12:41:35

Whitz
Member
Registered: 2015-02-09
Posts: 13

Re: Some programs not starting anymore (MonoDevelop)

ok, heres the output of strace:

 [tom@AsusTom ~]$ strace -e open monodevelop
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libreadline.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libncursesw.so.5", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/dev/tty", O_RDWR|O_NONBLOCK)     = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 3
open("/usr/bin/monodevelop", O_RDONLY)  = 3
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17616, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17617, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17619, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
+++ exited with 0 +++

and if I type

 echo $monodevelop 

there isnt any number, just a blank line.
and output of

 echo $? 

is 0

Offline

#6 2015-03-19 13:05:25

ayekat
Member
Registered: 2011-01-17
Posts: 1,591

Re: Some programs not starting anymore (MonoDevelop)

The return value is actually the value the program returns after it runs (and `echo $?` just displays the return value of the last program that ran). But anyway, according to strace, it exits with 0 (success).

Anyway, now I'm a little confused.
Did you install monodevelop via pacman? Is the executable in /usr/bin (see the output of `which monodevelop`)? What are the file permissions on the executable (`ls -l /usr/bin/monodevelop`)?

Last edited by ayekat (2015-03-19 13:05:55)


pkgshackscfgblag

Offline

#7 2015-03-19 14:02:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Some programs not starting anymore (MonoDevelop)

ayekat wrote:

Did you install monodevelop via pacman?

He said he did: https://bbs.archlinux.org/viewtopic.php … 9#p1512229

Offline

#8 2015-03-19 14:54:04

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Some programs not starting anymore (MonoDevelop)

You said "some programs". What other programs are not starting?

Offline

#9 2015-03-19 21:04:30

Whitz
Member
Registered: 2015-02-09
Posts: 13

Re: Some programs not starting anymore (MonoDevelop)

Actually there are only 2 programs not starting, monodevelop and dropbox.
Heres the output of monodevelop

 [tom@AsusTom ~]$ ls -l /usr/bin/monodevelop
-rwxr-xr-x 1 root root 744 28. Jan 21:46 /usr/bin/monodevelop 

and here for dropbox

 lrwxrwxrwx 1 root root 20 10. Feb 22:07 /usr/bin/dropbox -> /opt/dropbox/dropbox

Offline

#10 2015-03-19 21:08:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Some programs not starting anymore (MonoDevelop)

Anything interesting about dropbox in the logs or in the terminal when started from the terminal?

Offline

#11 2015-03-19 21:10:17

Whitz
Member
Registered: 2015-02-09
Posts: 13

Re: Some programs not starting anymore (MonoDevelop)

well, if I try to start dropbox it replies "killed"

Offline

#12 2015-03-20 00:59:04

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Some programs not starting anymore (MonoDevelop)

For what it's worth, I was able to install and start monodevelop just fine. hmm

How about permissions? Please post the output of these commands:

ls -ld ~
ls -ld ~/.config
ls -la ~/.config/MonoDevelop
ls -la ~/.config/MonoDevelop-5.0
ls -la ~/.cache/MonoDevelop-5.0

Also, is there anything in the file "ls ~/.config/MonoDevelop/log"?

Last edited by drcouzelis (2015-03-22 06:25:53)

Offline

#13 2015-03-21 17:42:52

Whitz
Member
Registered: 2015-02-09
Posts: 13

Re: Some programs not starting anymore (MonoDevelop)

Sorry for late reply, here are the outputs:

 [tom@AsusTom ~]$ ls -ld ~
drwx------ 79 tom users 4096 21. Mär 2015  /home/tom
[tom@AsusTom ~]$ ls -ld ~/.config
drwxr-xr-x 51 tom users 4096 18. Mär 22:51 /home/tom/.config
[tom@AsusTom ~]$ ls -la ~/.config/MonoDevelop
insgesamt 8
drwxr-xr-x  2 tom users 4096  7. Feb 22:05 .
drwxr-xr-x 51 tom users 4096 18. Mär 22:51 ..
-rw-r--r--  1 tom users    0 19. Mär 22:05 log
[tom@AsusTom ~]$ ls -la ~/.config/MonoDevelop-5.0
insgesamt 232
drwxr-xr-x  3 tom users  4096 19. Mär 22:05 .
drwxr-xr-x 51 tom users  4096 18. Mär 22:51 ..
-rw-r--r--  1 tom users  1466 19. Mär 13:36 addins-setup.config
-rw-r--r--  1 tom users  9806  7. Jan 22:28 EditingLayout.xml
-rw-r--r--  1 tom users 75814 19. Mär 22:05 MonoDevelopProperties.xml
-rw-r--r--  1 tom users 75814 19. Mär 13:36 MonoDevelopProperties.xml.previous
-rw-r--r--  1 tom users    66 10. Dez 21:29 MonoDevelop-tools.xml
drwxr-xr-x  2 tom users  4096 16. Jan 22:47 repository-cache
-rw-r--r--  1 tom users 46745 25. Nov 23:32 Toolbox.xml
[tom@AsusTom ~]$ ls -la ~/.cache/MonoDevelop-5.0
insgesamt 48
drwxr-xr-x   8 tom users  4096 16. Jan 22:47 .
drwx------  22 tom users  4096 21. Mär 18:41 ..
drwxr-xr-x   6 tom users  4096  7. Jan 22:22 addin-db-001
drwxr-xr-x   5 tom users  4096 19. Mär 13:36 addin-db-002
drwxr-xr-x   2 tom users  4096 23. Dez 14:33 AutoSave
drwxr-xr-x   2 tom users  4096 10. Dez 22:04 CTagsData
drwxr-xr-x 229 tom users 16384  6. Jan 17:40 DerivedData
drwxr-xr-x   2 tom users  4096 19. Mär 22:05 Logs
-rw-r--r--   1 tom users  1876  7. Jan 22:22 WelcomePage-NewsLinks.xml
[tom@AsusTom ~]$ ls ~/.config/MonoDevelop
log

Offline

Board footer

Powered by FluxBB