LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2003, 11:23 AM   #1
edverb
LQ Newbie
 
Registered: Feb 2003
Posts: 10

Rep: Reputation: 0
I changed /tmp permissions for Wine, now evolution doesn't work


hi everybody,

I'm still very newbish, but I've been making real progress in the last two weeks learning linux (I'm a professional windoze support tech). I'm in a little over my head now in Linux, my reach is exceeding my grasp :-(

I'm running RH8 (kernel 2.4.18-24.8.0). I installed Wine from wine-20030219-1rh8winehq.i386.rpm and it installed successfully, but being that I'm running it w/o windows, /home/batewell/.wine/config needed a little tweaking to point it to the right devices, etc, which I did.

I ran perl ./wineconfig (as user, not root), and got 84% correct, just that certain /tmp stuff didn't have adequate permissions. So, (here's the dumb newb part) I became root and entered chmod +777 /tmp, trying to solve the permissions problem.

Wine still doesn't work, but now I cannot open Evolution (root or user), I get
ORBit-ERROR **: Wrong permissions for /tmp/orbit-batewell

or ORBit-ERROR **: Wrong permissions for /tmp/orbit-root.

Also I get a message at boot (i forget the exact msg) about /tmp/mcop-batewell being wrong.

I tried to install the codeweavers wine (has a GUI config) from RPM, but it conflicts with the existing wine version. So (as root) I ran rpm -qa, found the wine version installed, and ran rpm -e "wine version", which caused rpm to hang (a documented problem), and only rebooting allowed me to continue. I then tried to install the codeweavers Wine again, but I get

[root@localhost batewell]# rpm -i codeweavers-wine-20020904-7.i386.rpm
error: Failed dependencies:
wine conflicts with codeweavers-wine-20020904-7

Did rpm -e only uninstall the binaries? Apparently the config files and dir structure is the same, because now my ./winecheck outputs:

------------------------- checking miscellaneous stuff -------------------------
001. Checking for root user... OK.

--------------------------- checking Wine base files ---------------------------
002. Checking for file "wine"... which: no wine in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/batewell/bin)
FAILED (file not found).
- ADVICE: Make sure the "wine" command is in your PATH (echo $PATH; export PATH=xxx).
003. Checking for correct .so lib config (please wait)... OK.

----------------------------- checking config file -----------------------------
004. Checking config file access... OK.

>>> Checking drive A settings:
005. Checking Path option... OK.
006. Checking Type option... OK.
007. Checking device /dev/fd0... OK.
008. Checking Filesystem option... OK.
--> OK.

>>> Checking drive C settings:
009. Checking Path option... FAILED (/usr/share/wine-c does not exist !).
- ADVICE: create this directory or point Path to a real directory.
010. Checking Type option... OK.
011. Checking Filesystem option... OK.
--> PROBLEM.

>>> Checking drive D settings:
012. Checking Path option... OK.
013. Checking Type option... OK.
014. Checking device /dev/hdc... OK.
015. Checking Filesystem option... OK.
--> OK.

>>> Checking drive E settings:
016. Checking Path option... SUSPICIOUS (directory /tmp/.wine-root/server-302-10f3c6 is not accessible for you).
- ADVICE: If your user account is supposed to be able to access
it properly, use chmod as root to fix it ("man chmod"). If that doesn't help, change mount options in case of VFAT ("umask" option).
017. Checking Type option... OK.
018. Checking Filesystem option... OK.
--> PROBLEM.

>>> Checking drive F settings:
019. Checking Path option... OK.
020. Checking Type option... OK.
021. Checking Filesystem option... OK.
--> OK.

--------------------- checking system devices used by Wine ---------------------
022. Checking sound device /dev/dsp... OK.
023. Checking audio mixer device /dev/mixer... OK.
024. Checking MIDI sequencer device /dev/sequencer... OK.

----------------------- checking registry configuration ------------------------
025. Checking availability of winedefault.reg entries... OK.
026. Checking availability of windows registry entries... NOTICE (entry "Default Taskbar" not found).
- ADVICE: A Windows registry does not seem to have been added to Wine as this typical Windows registry entry does not exist in Wine's registry. A complete original Windows registry entry set will *not* be available with a no-windows install. Usually this will present no problem in running applications although this can affect newer programs.

26 tests. 1 suspicious, 0 bad, 0 critical, 2 failed.
Wine configuration correctness score: 2.24%
------------------------------------------------------------------


BOTH /usr/share/wine-c, and the Wine binary used to exist before I tried uninstalling the first version to install the GUI codeweavers version.


So my questions are:

1> What do I need to do to restore my old /tmp permissions so Evolution works again? I can't find a comprehensive list of default permissions for /tmp anywhere.
2> How then do I get wine to work?

I'm thinking of all the money I can save some of my poor Windoze clients when their Win98 is hosed and they lost the media & CDkey to reinstall. My reasoning is that if I can understand Wine really well, maybe I can present them with Linux as a much cheaper solution, and they can still use those WIN apps they own that don't have a Linux alternative yet. :-)

thx in advance,
Ed Batewell

<edit>
PS: What is causing this?

[root@localhost batewell]# rpm -qa | grep wine
wine-20030219-1rh8winehq
[root@localhost batewell]# rpm -e wine-20030219-1rh8winehq
error reading information on service wine: No such file or directory
error: %preun(wine-20030219-1rh8winehq) scriptlet failed, exit status 1


Last edited by edverb; 02-26-2003 at 11:35 AM.
 
Old 02-27-2003, 08:12 PM   #2
edverb
LQ Newbie
 
Registered: Feb 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Help? anybody? Please?
 
Old 02-27-2003, 09:11 PM   #3
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Quote:
So my questions are:

1> What do I need to do to restore my old /tmp permissions so Evolution works again? I can't find a comprehensive list of default permissions for /tmp anywhere.
2> How then do I get wine to work?
1> delete both directories with:
Code:
rm -rf orbit*
the directories will be recreated.

2> sorry, can't help you
 
Old 02-28-2003, 12:05 AM   #4
edverb
LQ Newbie
 
Registered: Feb 2003
Posts: 10

Original Poster
Rep: Reputation: 0
THANKS!!!!

:-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changed permissions, ls does not work blizunt7 Linux - General 3 09-26-2005 07:12 AM
permissions suddenly changed for /tmp rioguia Linux - Security 1 12-12-2004 12:34 PM
permissions in /tmp directory linux_pioneer Linux - Software 1 08-30-2003 10:43 PM
wine: chdir to /tmp/.wine-tom/server-306-33fca : No such file or directory Kinstonian Linux - Software 19 06-21-2003 05:16 AM
Permissions changed crashmeister Linux - Security 3 11-13-2002 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration