LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-15-2006, 05:49 AM   #1
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Wine X Server Error


Hey,
I just installed wine on Slackware. It is givin followin error :


err:imagelist:ImageList_ReplaceIcon no color!
wine: Unhandled page fault on write access to 0x003ffd80 at address 0x6113d103 (thread 0009), starting debugger...
wine: '/root/.wine' created successfully.
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.


What does this mean? How do I fix this?
 
Old 10-15-2006, 09:19 AM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
You are running wine as root and running X as user. DISPLAY variable is not set.

If you really must run wine as root (could be risky) then put 'export DISPLAY=:0.0' in /root/.bash_profile and 'xhost +local:' in your users .bash_profile. Then log in again.
 
Old 03-07-2007, 02:52 PM   #3
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Quote:
Originally Posted by dive
You are running wine as root and running X as user. DISPLAY variable is not set.
If you really must run wine as root (could be risky) then put 'export DISPLAY=:0.0' in /root/.bash_profile and 'xhost +local:' in your users .bash_profile. Then log in again.
I get a similar error message trying to run WINE as root with Slackware 11 and kernel 2.6.18.
Please see below:
****************

err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
************************

However, I cannot find either of the files to which you refer to above.
I've found a .bash_history file, but not .bash_profile or users .bash_profile.
Can you please direct me to the proper locations?

I really don't want to run as a user. I've tried that and it drives me crazy having to switch back and forth or sign on and off inside a terminal window while logged on as a user.
I would rather take the risk of running as root.
Thanks.

Last edited by cwizardone; 03-07-2007 at 02:58 PM.
 
Old 03-07-2007, 04:21 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Hmmmm ... you're running wine as root ... better call the nearest Asylum fast
 
Old 03-07-2007, 05:31 PM   #5
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 69
~/.bash_profile and for that matter ~/.bashrc does not exist by default. It is up to the user to create it. That said I can think of no good reason you should be running wine as root. There could be times when you want root to use your display for something and the commands that have been shown to you will allow just that, but I would never add them where they are always loaded.
 
Old 03-07-2007, 07:22 PM   #6
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Quote:
Originally Posted by H_TeXMeX_H
Hmmmm ... you're running wine as root ... better call the nearest Asylum fast
I keep hearing this, but humor me, please, and tell me why?
I'll ask the same question of you, XGizzmo, why is running as root such a "taboo" especially, it seems, when running WINE?
Thanks.

Last edited by cwizardone; 03-07-2007 at 07:58 PM.
 
Old 03-07-2007, 07:59 PM   #7
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
Doing anything in Linux as root is taboo!!! never ever do that ... always use normal user powers and super user only if you absolutely must.
 
Old 03-07-2007, 08:06 PM   #8
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Quote:
Originally Posted by duryodhan
Doing anything in Linux as root is taboo!!! never ever do that ... always use normal user powers and super user only if you absolutely must.
I really do appreciate that you took the time to respond, but the question is, why?
Why should the owner of the system not run as root?

Thanks.
 
Old 03-07-2007, 08:39 PM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Because a single bad command by root will completely fubar / snafu / f**k your whole system ... unless that's what you want, I wouldn't run anything as root unless absolutely necessary.

Wine (a crappy, beta, Window$ API port) should definitely NOT be run as root. It messes things up even when run as a regular user ... imagine what it can do as root

Last edited by H_TeXMeX_H; 03-07-2007 at 08:40 PM.
 
Old 03-07-2007, 08:59 PM   #10
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current !
Posts: 342

Rep: Reputation: 59
Wink running as root...

is like playing with a knife. Like cleaning your fingernails with a knife... Even if you are skilled enough to do that, it is a dangerous situation.
 
Old 03-07-2007, 10:03 PM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
or playing Russian roulette ... really.
 
  


Reply

Tags
wine



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
Trouble running wine from src wine:error while loading shared libraries: libwine.so.1 brynjarh Linux - Newbie 2 05-28-2013 10:59 AM
[wine] internal server error with installshield nik600 Linux - Software 3 10-22-2004 10:25 AM
wine error: error while loading shared libraries... eam Linux - Software 0 11-26-2003 12:01 AM
Help! Wine: DOS error 6 repeating while running unreal server Threln Linux - Software 2 09-07-2003 08:49 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:48 AM.

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