Difficulty installing Wine

Ignazio Palmisano ignazio_io at yahoo.it
Thu Apr 23 17:23:21 UTC 2009

Steven Vollom wrote:
>>From the following website:  http://www.winehq.org/download/deblenny, I chose 

 From what I can see you are looking at the instructions for Debian. 
They need some adaptation:

> Method 1:  Add the repository.  I entered ~$ sudo su and got Root.  I then 

                                                     ^^^^ why needed? 
sudo will serve you perfectly well, as far as I can see. Plus, being 
root may give you troubles with the X server...

> typed in:  sudo apt-get install gedit and installed Gedit.  I then added the 
> command:  gedit /etc/apt/sources.list and got the following:  
> steven at Yeshua:~$ sudo su
> [sudo] password for steven:
> root at Yeshua:/home/steven# gedit /etc/apt/sources.list
> No protocol specified
> (gedit:10053): Gtk-WARNING **: cannot open display: :0.0

                                                      ^^^^ and there 
goes the problem of being root here.

Don't do these things as root unless they don't work with sudo.

gedit is just a text editor, you didn't need to install it. kwrite will 
do the same job:

sudo kwrite /etc/apt/sources.list

(it should be kdesudo kwrite /etc/apt/sources.list but I always forget 
which graphical sudo is the right one - help anyone please :) - but 
kwrite works for me with sudo)

Try again without logging as root and tell us if you got any luck or 
different errors,

> root at Yeshua:/home/steven#
> I am over my head again; can someone help me?  Thanks!
> Steven

More information about the kubuntu-users mailing list