Running Wine from a user

C.D.McDiarmid cliffy at cliffhangers.screaming.net
Thu Jan 11 07:51:13 PST 2001


On Wednesday 10 January 2001 01:57, you wrote:
> On January  9, 2001 07:57 pm, C.D.McDiarmid wrote:
> > Does anyone know how to run WINE as an ordinary user?   I've got it
> > running fine as root and can start it su root from a user, but can not
> > get it to start as an ordinary user.   I've tried every conceivable
> > permission on the exe file and all other dirs. are accessible for the
> > user; but nothing. It's created /home/.wine and the /home/.winerc file is
> > present(although I know that's not necessary to run Wine).   Any ideas?
>
> perhaps it just needs root permissions to get to certain hardware? Have you
> tried setuid bits?

Yes, tried that, no luck.  I've used 'strace' from root and user to see what 
is happening, but all I can see is it halting on a system call(recvmsg- 
what's this?) - any ideas?

USER:
wait4(679, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 679
--- SIGCHLD (Child exited) ---
lstat("socket", {st_mode=S_IFSOCK|0600, st_size=0, ...}) = 0
getuid()                                = 503
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
connect(3, {sin_family=AF_UNIX, path=" socket"}, 9) = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
chdir("/home/cliffy")                   = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
recvmsg(3, 
STOPS HERE

ROOT:
wait4(702, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 702
--- SIGCHLD (Child exited) ---
lstat("socket", {st_mode=S_IFSOCK|0600, st_size=0, ...}) = 0
getuid()                                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
connect(3, {sin_family=AF_UNIX, path=" socket"}, 9) = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
chdir("/home/cliffy")                   = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\0", 1}], msg_controllen=16, 
msg_control=0xbffff920, , msg_flags=0}, 0) = 1
lseek(4, 0, SEEK_END)                   = 8192
old_mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0x4001a000


Thanks

MAC


-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list