View previous topic :: View next topic |
Author |
Message |
kiss-o-matic Guru
Joined: 19 Jul 2004 Posts: 423 Location: Tokyo
|
Posted: Tue Jul 27, 2004 12:27 am Post subject: export DISPLAY and SSH -X (neither work) |
|
|
Can't figure this out. I have a new install, and everything seems to be working fine except for this.
I do xhost +, and then try to do export DISPLAY=mynode:0.0 from another machine, but it always says "can't open display".
I also try SSH -X to forward xpackets, but the same error is returned. I have uncommented the "X11 Forwarding yes" line in the ssh_config and sshd_config (and restarted). Still no love.
Any suggestions? |
|
Back to top |
|
|
subrahmanyan Tux's lil' helper
Joined: 19 Jan 2004 Posts: 149 Location: Grey Havens
|
Posted: Tue Jul 27, 2004 5:20 am Post subject: |
|
|
Maybe you need to modify the default server arguments in /usr/X11R6/bin/startx.
Try to replace the following line:
Code: |
defaultserverargs="-nolisten tcp"
|
by this:
Code: |
defaultserverargs=""
|
Exporting the display should work now. _________________ emerge -C Microsoft |
|
Back to top |
|
|
kiss-o-matic Guru
Joined: 19 Jul 2004 Posts: 423 Location: Tokyo
|
Posted: Tue Jul 27, 2004 5:44 am Post subject: |
|
|
Yep - that worked, thanks!
Now to figure out why SSH -X doesn't work. |
|
Back to top |
|
|
fleed l33t
Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Tue Jul 27, 2004 1:00 pm Post subject: |
|
|
For ssh -X check your /etc/ssh/ssh_config on the client and /etc/ssh/sshd_config on the server for ForwardX11 yes and X11Forwarding yes respectively. |
|
Back to top |
|
|
kiss-o-matic Guru
Joined: 19 Jul 2004 Posts: 423 Location: Tokyo
|
Posted: Tue Jul 27, 2004 11:14 pm Post subject: |
|
|
yes, as per before, I set that in both config files, and it still doesn't work.
EDIT: I re-emerged openssh. Now, I get:
Quote: |
Xlib: extension "GLX" missing on dipslay "localhost:11.0"
X Error: BadAtom (invalid Atom parameter) 5
Major opcode: 20
Resource id: 0xfe
Segmentation Fault |
Yucky |
|
Back to top |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Wed Jul 28, 2004 6:35 am Post subject: |
|
|
You might try the following ... I have had to use it on occasion for running certain opengl base programs.
|
|
Back to top |
|
|
anshul n00b
Joined: 15 Oct 2004 Posts: 64 Location: Mumbai, India
|
Posted: Thu Oct 28, 2004 4:06 pm Post subject: |
|
|
subrahmanyan wrote: | Maybe you need to modify the default server arguments in /usr/X11R6/bin/startx.
Try to replace the following line:
Code: |
defaultserverargs="-nolisten tcp"
|
by this:
Code: |
defaultserverargs=""
|
Exporting the display should work now. |
i am having the same problem and after trying this as well i am not being able to export display.
could anyone tell me the solution.
regards
Anshul |
|
Back to top |
|
|
kiss-o-matic Guru
Joined: 19 Jul 2004 Posts: 423 Location: Tokyo
|
Posted: Fri Oct 29, 2004 4:20 am Post subject: |
|
|
do
and see if you see the "nolisten tcp" argument in there. I just built a new machine, and see this.
Quote: | cmtd 6284 6272 0 13:03 tty1 00:00:00 xinit /home/cmtd/.xinitrc -- -nolisten tcp -br -deferglyphs 16
|
You need to figure out how X is starting, and make sure that that argument is not there. I asked the specific question (how to change the arguments if starting from xdm/kdm) and it was answered... search for posts I've made, and you should find it, it wasn't long ago.
EDIT:
Here
https://forums.gentoo.org/viewtopic.php?t=237410&highlight= |
|
Back to top |
|
|
anshul n00b
Joined: 15 Oct 2004 Posts: 64 Location: Mumbai, India
|
Posted: Fri Oct 29, 2004 8:03 am Post subject: |
|
|
kiss-o-matic wrote: | do
and see if you see the "nolisten tcp" argument in there. I just built a new machine, and see this.
Quote: | cmtd 6284 6272 0 13:03 tty1 00:00:00 xinit /home/cmtd/.xinitrc -- -nolisten tcp -br -deferglyphs 16
|
You need to figure out how X is starting, and make sure that that argument is not there. I asked the specific question (how to change the arguments if starting from xdm/kdm) and it was answered... search for posts I've made, and you should find it, it wasn't long ago.
EDIT:
Here
https://forums.gentoo.org/viewtopic.php?t=237410&highlight= |
i checked at this link and made changes my file. and now its working...
thanks
anshul |
|
Back to top |
|
|
|