Shai
23-Oct-2007, 19:39
I installed Fedora Core 7 and Cell SDK v3.0. When I run the system simulator I want to be able to open an xterm window on the host system by issuing the xterm command on the simulated Linux system.
Here's what I've done so far:
- ssh'ed into the simulated system from the host system to check if bogus net is set up properly
- typed 'export DISPLAY=172.20.0.1:0' in the console of the simulated system to get it to send graphical output to the host system
- executed gdmsetup on the host system and made sure that 'Deny TCP connections to Xserver' isn't checked
- after that I type 'gdm-restart' to restart the window manager
So after the the window manager has restarted and I've logged in again, I restart the Cell simulator and type 'xterm'.
Here's what I get:
'Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s'
Apparently the warning isn't all that important, but how do I get rid of 'xterm Xt error: Can't open display: %s'?
Here's what I've done so far:
- ssh'ed into the simulated system from the host system to check if bogus net is set up properly
- typed 'export DISPLAY=172.20.0.1:0' in the console of the simulated system to get it to send graphical output to the host system
- executed gdmsetup on the host system and made sure that 'Deny TCP connections to Xserver' isn't checked
- after that I type 'gdm-restart' to restart the window manager
So after the the window manager has restarted and I've logged in again, I restart the Cell simulator and type 'xterm'.
Here's what I get:
'Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s'
Apparently the warning isn't all that important, but how do I get rid of 'xterm Xt error: Can't open display: %s'?