gvim hangs in squeeze release(debian) with root account, but not with common account.
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Linux From Scratch. 64 bit. Kernel 5.8.3. Fluxbox.
Posts: 53
Rep:
I do not run Debian. However it might be an idea to check that both root and common account get the same libraries loaded for gvim. Login as one of these ids, find out which version of gvim that id uses (perhaps via which gvim), and then check the libraries that will be used via ldd. So you could do something like which gvim
For me this gives /usr/bin/gvim
Then ldd /usr/bin/gvim (or whatever you got from which) > file1
You then need to strip off the load addresses from the resultant file.
To make this process a bit easier you could use ldd, which and sed (stream editor) together in order to get just the library names with one operation. That would look like this: ldd `which gvim` | sed -e 's/ (.*//' > filex
where x is 1 or 2, depending on whether you are running the command as user root or as user common account. Note that getting all the characters right for this command is important, so it might be best to do it via copy and paste.
You would have to do this for both accounts, and then compare file1 and file2, looking for differences in library paths (not addresses), via diff file1 file2
If you see something other than a null result from this difference calculation, then it suggests that you have multiple versions of the same library, and a little housekeeping may be called for. If the result is null then its probably not a problem associated with different versions of the same library.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.