LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 12-01-2005, 04:42 PM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

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 kpachopoulos; 12-01-2005 at 04:44 PM.
 
Old 12-02-2005, 09:40 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,815
Blog Entries: 15

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

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

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, 04: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



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 11:11 AM
alsa,amd64,chroot and dmix wrongman Debian 0 03-17-2005 12:19 PM
a particular situation... (ALSA, AMD64,CHROOT, DMIX) wrongman Linux - Software 2 03-17-2005 09:05 AM
linux ia32 or ia 64? Niflheim Linux - Newbie 5 02-25-2005 12:55 PM
Linux / IA32 / IA64 / AMD64 mhuggins Fedora 1 01-22-2004 06:02 PM

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

All times are GMT -5. The time now is 11:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration