I am a complete newbie to Wine. I am aware of the wonderful things OTHER people can get it to do as far as running MS apps, but I have never had such sucess. The last attempt to run "winesetup" as root was met with the following: debian:/home/tilleyrw# whoami root debian:/home/tilleyrw# winesetup Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Application initialization failed: couldn't connect to display ":0" Error in startup script: invalid command name "wm" while executing "wm geometry $pTopLevel 600x400" while constructing object "::ObjScrFileLoc" in ::CBaseScr::constructor (body line 15) invoked from within "CBaseScr::constructor $apObjBase" while constructing object "::ObjScrFileLoc" in ::CScrFileLoc::constructor (body line 1) invoked from within "CScrFileLoc ObjScrFileLoc ObjBase" (procedure "BuildScrTree" line 2) invoked from within "BuildScrTree" invoked from within "CBase ObjBase [BuildScrTree]" (file "Main.itcl" line 1426) debian:/home/tilleyrw# I am using Debian and my system is updated nightly. Has something broken in the latest builds? I've used winesetup before and it is a very nice interface to the complicated wine.conf file. Any info is most appreciated. -- Robert Tilley <tilleyrw@cfl.rr.com>
Robert Tilley wrote:> I am a complete newbie to Wine. I am aware of the wonderful things > OTHER people can get it to do as far as running MS apps, but I have > never had such success. > > The last attempt to run "winesetup" as root was met with the > following: > > debian:/home/tilleyrw# whoami > root > debian:/home/tilleyrw# winesetup > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > Application initialization failed: couldn't connect to display ":0"Can you get Wine running as a non-root user? Can you get other X apps to connect to the X server as root? If you want to get root to connect for X apps, you might want to try "xhost +localhost". -- Matthew Cline | Suppose you were an idiot. And suppose that matt@nightrealms.com | you were a member of Congress. But I repeat | myself. -- Mark Twain
On Tue, 27 Feb 2001, Robert Tilley wrote:> I am a complete newbie to Wine. I am aware of the wonderful things OTHER > people can get it to do as far as running MS apps, but I have never had > such sucess. > > The last attempt to run "winesetup" as root was met with the following: > > debian:/home/tilleyrw# whoami > root > debian:/home/tilleyrw# winesetup > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to ServerThis is nothing to do with Wine. Wine is an X application, subject to the same X rules as any other X application. If root _has_ to run wine for this (I don't know winesetup, I was building wine before any of the convenience and package tools were developed, and it still works for me), (tilleyrw should exit from X) and root should start X itself (or log in itself, if you use GUI login). That is the simplest way I know. Otherwise, have a nice long recursive read of man xauth. The rest is probably just fallout from the first failure.> debian:/home/tilleyrw# > > I am using Debian and my system is updated nightly. Has something broken > in the latest builds? I've used winesetup before and it is a very nice > interface to the complicated wine.conf file.No. Maybe Debian has changed its X security policy.> > Any info is most appreciated. > -- > Robert Tilley <tilleyrw@cfl.rr.com>Lawson ---cut here ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj.
Robert Tilley <tilleyrw@cfl.rr.com> wrote:> I am a complete newbie to Wine. I am aware of the wonderful things > OTHER people can get it to do as far as running MS apps, but I have > never had such sucess. > > The last attempt to run "winesetup" as root was met with the following: >How do you switch to root? Use su - or do you run X as root (nope). If the first, try "xhost + localhost" in an xterm and then "xterm -display :0" in the su'ed xterm. H. -- Wer HTML postet oder gepostetes HTML quotet oder sich gepostetes oder gequotetes HTML beschafft, um es in Verkehr zu bringen, wird geplonkt. Dresdener LaTeX-Stammtisch: http://www.ifbus.de/~schubi/LatexDD.html http://rudi.urz.tu-dresden.de/~hille/
> debian:/home/tilleyrw# winesetup > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > Application initialization failed: couldn't connect to display ":0" > Error in startup script: invalid command name "wm" > while executing > "wm geometry $pTopLevel 600x400" > while constructing object "::ObjScrFileLoc" in ::CBaseScr::constructor > (body line 15) > invoked from within > "CBaseScr::constructor $apObjBase" > while constructing object "::ObjScrFileLoc" in > ::CScrFileLoc::constructor (body line 1) > invoked from within > "CScrFileLoc ObjScrFileLoc ObjBase" > (procedure "BuildScrTree" line 2) > invoked from within > "BuildScrTree" > invoked from within > "CBase ObjBase [BuildScrTree]" > (file "Main.itcl" line 1426) > debian:/home/tilleyrw#anyway, that message from winesetuptk is misleading and ugly...i'll correct it. martin