LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-01-2005, 03:42 PM   #1
nocturna_gr
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 704

Rep: Reputation: 30
amd64 chroot to ia32: X problems


Code:
pyros:/# export DISPLAY=:0
pyros:/# nedit
NEdit: Can't open display
I followed the how-to, but still have problems; I am now logged in via ssh and cannot get X Windows working.
Ideas?

Last edited by nocturna_gr; 12-01-2005 at 03:44 PM.
 
Old 12-02-2005, 08:40 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,185

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Try export DISPLAY=0:0

Also maybe you need to run xhost+ as root on the server.
 
Old 12-02-2005, 11:44 AM   #3
nocturna_gr
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 704

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by jlightner
Try export DISPLAY=0:0

Also maybe you need to run xhost+ as root on the server.
Thanks jlightner.
Do you mean DISPLAY=:0.0 ?
Any way, i've tried everything:

Code:
pyros:/# export DISPLAY=0:0
pyros:/# qemu /root/sarge-i386.img
Connected to host network interface: tun%d
sudo: unable to lookup pyros via gethostbyname()
SIOCSIFADDR: No such device
tun%d: ERROR while getting interface flags: No such device
/etc/qemu-ifup: could not launch network script
Could not initialize SDL - exiting
pyros:/# export DISPLAY=:0.0
pyros:/# qemu /root/sarge-i386.img
Connected to host network interface: tun%d
sudo: unable to lookup pyros via gethostbyname()
SIOCSIFADDR: No such device
tun%d: ERROR while getting interface flags: No such device
/etc/qemu-ifup: could not launch network script
Could not initialize SDL - exiting
pyros:/# xhost +
xhost:  unable to open display ":0.0"
pyros:/# export DISPLAY=0:0
pyros:/# xhost +
xhost:  unable to open display "0:0"
pyros:/#
Any other ideas? Nedit for example makes no difference; the problem isn't qemu specific...
 
Old 12-02-2005, 03:53 PM   #4
acker
Member
 
Registered: Apr 2004
Location: Timisoara, Romania
Distribution: Debian
Posts: 90

Rep: Reputation: 15
Code:
acker@dido /tmp $ xhost -
access control enabled, only authorized clients can connect
acker@dido /tmp $ xhost +local:root
non-network local connections being added to access control list
acker@dido /tmp $ sudo su -
root@dido ~ # export DISPLAY=:0
root@dido ~ # gvim
art_render_invoke: no image source given
art_render_invoke: no image source given
art_render_invoke: no image source given
art_render_invoke: no image source given
art_render_invoke: no image source given
art_render_invoke: no image source given
art_render_invoke: no image source given
art_render_invoke: no image source given
root@dido ~ #
You may have to change xhost +local:root. The most unrestrictive is xhost +, but you should try to avoid that for security reasons I thing. I've done xhost -, to clear anything else and to show that I worked here with just +local:root. Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD64 - 3d accel in a 32bit chroot don't work ssobeht Debian 2 12-22-2005 10:11 AM
alsa,amd64,chroot and dmix wrongman Debian 0 03-17-2005 11:19 AM
a particular situation... (ALSA, AMD64,CHROOT, DMIX) wrongman Linux - Software 2 03-17-2005 08:05 AM
linux ia32 or ia 64? Niflheim Linux - Newbie 5 02-25-2005 11:55 AM
Linux / IA32 / IA64 / AMD64 mhuggins Fedora 1 01-22-2004 05:02 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration