OpenVZ Forum


Home » General » Support » *SOLVED* Problem with X11 and VNC
*SOLVED* Problem with X11 and VNC [message #5876] Mon, 04 September 2006 09:01 Go to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
Hi Installed opnVZ with one the centos template. But am trying to get Jboss installed and having some issues.

1) when i run Jboss install i get

- Error -
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at javax.swing.JFrame.<init>(Unknown Source)
at com.izforge.izpack.installer.GUIInstaller.loadLangPack(GUIIn staller.java:179)
at com.izforge.izpack.installer.GUIInstaller.<init>(GUIInstaller.java:114)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow n Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un known Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.izforge.izpack.installer.Installer.main(Installer.java:5 3)

looking through the site it says something about the $DISPLAY variable but when i echo $DISPLAY i get nothing.

I have amended the sshd_config file to allow x forwarding. I am using scp to connect through on my laptop. I get the same errors when on the host server and use a terminal window to connect to it.

2) when i try and VNC through i get failed to connect, the VNC server is running on my virtual server, but am a bit confused as to why it is not working.

3) is there a way to log into the virtual server with any graphical elements? for instance Gnome or KDE?


Really frustrating so any help would be greatly appreciated.

Thanks

[Updated on: Tue, 05 September 2006 14:06]

Report message to a moderator

Re: Problem with X11 and VNC [message #5878 is a reply to message #5876] Mon, 04 September 2006 10:02 Go to previous messageGo to next message
mkl0815 is currently offline  mkl0815
Messages: 15
Registered: August 2006
Junior Member
Hi,

you may try "ssh -X ..." when connecting to your ve. you need a local X-Server runnning (f.i. your laptop).

VNC will not work the way you wrote.

you can also install an X-Environment on your VE running a special X-Server for VNC. if this is running, you can connect via VNC to your VE.

greetings,
mario.
Re: Problem with X11 and VNC [message #5879 is a reply to message #5878] Mon, 04 September 2006 10:51 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
Thanks for the reply. I am a bit of a noob when it comes to Linux so don't understand what you mean too well.

Do you kow of an xserver for windows? or for the host system which is RHEL4. I presume i need an x server running on the host server to be able to connect through?

Regarding the X-Environment do you mean either Gnome or KDE or am i completely off track? if so do you know the best way to install them?

Thanks
Re: Problem with X11 and VNC [message #5880 is a reply to message #5879] Mon, 04 September 2006 11:13 Go to previous messageGo to next message
mkl0815 is currently offline  mkl0815
Messages: 15
Registered: August 2006
Junior Member
slonghurst wrote on Mon, 04 September 2006 06:51


Do you kow of an xserver for windows? or for the host system which is RHEL4. I presume i need an x server running on the host server to be able to connect through?


you need a running x-server on the host where the window of your x-application should appear. this would be your laptop (that is running windows it seems). the host server doesnt matter in that way, he only acts as a kind of "proxy" for your network-connections to the VEs. you can use cygwin for windows to get a running x-server.

slonghurst wrote on Mon, 04 September 2006 06:51


Regarding the X-Environment do you mean either Gnome or KDE or am i completely off track? if so do you know the best way to install them?

no, gnome and kde are only window-managers not the X-Environment. the X-server is independend from the overlaying graphical interface like kde or gnome. normaly the x-server needs some hardware for "painting" (like a graphic-card). the special x-server for VNC doesnt need a grapgic-card, cause he only handles virtual VNC-connections.

greetings,
mario.
Re: Problem with X11 and VNC [message #5881 is a reply to message #5876] Mon, 04 September 2006 11:34 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Please,
look at these topics:
http://wiki.openvz.org/X_inside_VE
Re: Problem with X11 and VNC [message #5882 is a reply to message #5880] Mon, 04 September 2006 11:47 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
ok thanks, downloaded cwgyin and still cant get it to work. Do i need to create the ssh from within cwgyin?

I am thinking that the centos package i am using ass a template does not have the packages needed to be able to run what is required. Will have a scout around.

and regarding reading that wiki page. I have read it and followed the instructions all the way through the wiki (which were execllent btw) but it still does not work. That page you say to look at does not give clear enough instructions (at least for someone like me) on how to resolve this issue.

Re: Problem with X11 and VNC [message #5884 is a reply to message #5881] Mon, 04 September 2006 12:17 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
i followed the Wiki to the letter and it is only this part tat i cannot get to work correctly. Maybe i am mis-understanding what i need here.

When I echo $DISPLAY i get nothing, this is when SSH from my laptop (windows) and from the host server(RHEL4) now is there particular software I need on the host server and or my laptop to be able to get this to work?

I am using winSCP on my laptop and a basic terminal window on the RHEL host

Thanks
Re: Problem with X11 and VNC [message #5887 is a reply to message #5884] Mon, 04 September 2006 12:25 Go to previous messageGo to next message
mkl0815 is currently offline  mkl0815
Messages: 15
Registered: August 2006
Junior Member
i think your problem is, that you dont make a direct connection to your VE. try to get putty.exe from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.h tml.
its a ssh-client for windows where you can enable X-forewarding in the options.
so you need to connect directly to the VE without connecting to your host-server an then make another connection to your VE.

greetings,
mario.
Re: Problem with X11 and VNC [message #5888 is a reply to message #5887] Mon, 04 September 2006 12:31 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
thats what i have been using with the X11 bit ticked. i am leaving the display location blank though? not sure if this is correct. Still when i echo $DISPLAY it is blank.

do i need to set the Display Location as my laptop IP or localhost?

Re: Problem with X11 and VNC [message #5889 is a reply to message #5888] Mon, 04 September 2006 12:49 Go to previous messageGo to next message
mkl0815 is currently offline  mkl0815
Messages: 15
Registered: August 2006
Junior Member
slonghurst wrote on Mon, 04 September 2006 08:31

thats what i have been using with the X11 bit ticked. i am leaving the display location blank though? not sure if this is correct. Still when i echo $DISPLAY it is blank.

do i need to set the Display Location as my laptop IP or localhost?



... hmm, ok

1.) run the X-server on your laptop. make shure it acceppts incoming connections from other hosts (xhost +)

2.) make a direct ssh-connection to your VE with (ssh -X user@vehost) or with the putty.exe and X-Forewarding switched on

3.) normaly $DISPLAY on the remoteside (your VE) should contain "localhost:10.0"

4.) try to start some X-application (like xterm)

if you get an error message, post it an write which step went wrong.

greetings,
mario.

p.s. are you using private IPs and NAT for your VEs? is routing between your laptop an the VEs correctly configured?
Re: Problem with X11 and VNC [message #5890 is a reply to message #5889] Mon, 04 September 2006 13:37 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
ok got X-server up and running on my laptop added the command xhost + to allow all incoming, using the same program start an ssh connection with ssh -X root@address

Don't have xterm installed on the template i used so cant run that to test. will give it a download and see.

still get the same results though, echo $DISPLAY returns nothing, and running the Jboss installer jar return the same original error.

This is all running on our local lan, and i can log into the VE from my laptop it is just this install that isnt working.

Thanks a lot for your help btw.
Re: Problem with X11 and VNC [message #5891 is a reply to message #5890] Mon, 04 September 2006 13:50 Go to previous messageGo to next message
mkl0815 is currently offline  mkl0815
Messages: 15
Registered: August 2006
Junior Member
have you checked the configuration of your VEs ssh?

"/etc/ssh/sshd_conf" should contain a line like "X11Forwarding yes" without any "#" before it.

mario.
Re: Problem with X11 and VNC [message #5892 is a reply to message #5891] Mon, 04 September 2006 14:02 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
yep. checked and rechecked Confused

Re: Problem with X11 and VNC [message #5893 is a reply to message #5892] Mon, 04 September 2006 14:20 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Please, check is xauth installed in your VE?
If not - install it.
Re: Problem with X11 and VNC [message #5894 is a reply to message #5893] Mon, 04 September 2006 14:50 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
yep it is installed already. entries are as follows when i xauth list

bootes.domain.local/unix:1 MIT-MAGIC-COOKIE-1
aquarias.domain.local:1 MIT-MAGIC-COOKIE-1 2
aquarias.domain.local/unix:1 MIT-MAGIC-COOKIE-1

bootes is Server
aquarius is VE1

if that helps
Re: Problem with X11 and VNC [message #5896 is a reply to message #5894] Mon, 04 September 2006 19:42 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Can you post here the output of
ssh -X -vvv <your_server>
here, please.
Thanks!
Re: Problem with X11 and VNC [message #5897 is a reply to message #5896] Tue, 05 September 2006 08:32 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
Thanks for sticking with me, I tried starting the VE from scratch but to no avail, here is the output you asked for.


ssh -vvv root@192.168.0.206
OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.0.206 [192.168.0.206] port 22.
debug1: Connection established.
debug1: identity file /home/shaun/.ssh/identity type -1
debug1: identity file /home/shaun/.ssh/id_rsa type -1
debug1: identity file /home/shaun/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-gro
up14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour1
28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-c
tr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour1
28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-c
tr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open
ssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open
ssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-gro
up14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,
aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-c
tr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,
aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-c
tr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open
ssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open
ssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-gro
up14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,
aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-c
tr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,
aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-c
tr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open
ssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open
ssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 133/256
debug2: bits set: 513/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /home/shaun/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug1: Host '192.168.0.206' is known and matches the RSA host key.
debug1: Found key in /home/shaun/.ssh/known_hosts:1
debug2: bits set: 506/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/shaun/.ssh/id_rsa (0x0)
debug2: key: /home/shaun/.ssh/id_dsa (0x0)
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug3: start over, passed a different list publickey,gssapi-with-mic,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/shaun/.ssh/identity
debug3: no such identity: /home/shaun/.ssh/identity
debug1: Trying private key: /home/shaun/.ssh/id_rsa
debug3: no such identity: /home/shaun/.ssh/id_rsa
debug1: Trying private key: /home/shaun/.ssh/id_dsa
debug3: no such identity: /home/shaun/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
root@192.168.0.206's password:
debug3: packet_send2: adding 64 (len 55 padlen 9 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 0
debug3: tty_make_modes: ospeed 38400
debug3: tty_make_modes: ispeed 38400
debug3: tty_make_modes: 1 3
debug3: tty_make_modes: 2 28
debug3: tty_make_modes: 3 8
debug3: tty_make_modes: 4 21
debug3: tty_make_modes: 5 4
debug3: tty_make_modes: 6 0
debug3: tty_make_modes: 7 0
debug3: tty_make_modes: 8 17
debug3: tty_make_modes: 9 19
debug3: tty_make_modes: 10 26
debug3: tty_make_modes: 12 18
debug3: tty_make_modes: 13 23
debug3: tty_make_modes: 14 22
debug3: tty_make_modes: 18 15
debug3: tty_make_modes: 30 0
debug3: tty_make_modes: 31 0
debug3: tty_make_modes: 32 0
debug3: tty_make_modes: 33 0
debug3: tty_make_modes: 34 0
debug3: tty_make_modes: 35 0
debug3: tty_make_modes: 38 1
debug3: tty_make_modes: 39 0
debug3: tty_make_modes: 40 0
debug3: tty_make_modes: 41 0
debug3: tty_make_modes: 50 1
debug3: tty_make_modes: 51 1
debug3: tty_make_modes: 53 1
debug3: tty_make_modes: 54 1
debug3: tty_make_modes: 55 1
debug3: tty_make_modes: 56 0
debug3: tty_make_modes: 57 0
debug3: tty_make_modes: 58 0
debug3: tty_make_modes: 59 1
debug3: tty_make_modes: 60 1
debug3: tty_make_modes: 61 1
debug3: tty_make_modes: 70 1
debug3: tty_make_modes: 71 0
debug3: tty_make_modes: 72 1
debug3: tty_make_modes: 73 0
debug3: tty_make_modes: 74 0
debug3: tty_make_modes: 75 0
debug3: tty_make_modes: 90 1
debug3: tty_make_modes: 91 1
debug3: tty_make_modes: 92 0
debug3: tty_make_modes: 93 0
debug2: channel 0: request shell confirm 0
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
[root@aquarius ~]# debug2: client_check_window_change: changed
debug2: channel 0: request window-change confirm 0

debug3: tty_make_modes: 36 1
debug3: tty_make_modes: 37 0
...

Re: Problem with X11 and VNC [message #5898 is a reply to message #5897] Tue, 05 September 2006 08:47 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
You forgot '-X' option! =)
Please, redo.
Re: Problem with X11 and VNC [message #5899 is a reply to message #5898] Tue, 05 September 2006 09:06 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
sorry here you go

$ ssh -X -vvv root@192.168.0.206
OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.0.206 [192.168.0.206] port 22.
debug1: Connection established.
debug1: identity file /home/shaun/.ssh/identity type -1
debug1: identity file /home/shaun/.ssh/id_rsa type -1
debug1: identity file /home/shaun/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-gro
up14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour1
28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-c
tr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour1
28,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-c
tr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open
ssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open
ssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-gro
up14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,
aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-c
tr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,
aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-c
tr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open
ssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open
ssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 131/256
debug2: bits set: 524/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /home/shaun/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug1: Host '192.168.0.206' is known and matches the RSA host key.
debug1: Found key in /home/shaun/.ssh/known_hosts:1
debug2: bits set: 510/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/shaun/.ssh/identity (0x0)
debug2: key: /home/shaun/.ssh/id_rsa (0x0)
debug2: key: /home/shaun/.ssh/id_dsa (0x0)
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug3: start over, passed a different list publickey,gssapi-with-mic,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/shaun/.ssh/identity
debug3: no such identity: /home/shaun/.ssh/identity
debug1: Trying private key: /home/shaun/.ssh/id_rsa
debug3: no such identity: /home/shaun/.ssh/id_rsa
debug1: Trying private key: /home/shaun/.ssh/id_dsa
debug3: no such identity: /home/shaun/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
root@192.168.0.206's password:
debug3: packet_send2: adding 64 (len 55 padlen 9 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f /tmp/ssh-H7yp2Yo0K9/xauthfile gen
erate :0.0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f /tmp/ssh-H7yp2Yo0K9/xauthfile lis
t :0.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 0
debug3: tty_make_modes: ospeed 38400
debug3: tty_make_modes: ispeed 38400
debug3: tty_make_modes: 1 3
debug3: tty_make_modes: 2 28
debug3: tty_make_modes: 3 8
debug3: tty_make_modes: 4 21
debug3: tty_make_modes: 5 4
debug3: tty_make_modes: 6 0
debug3: tty_make_modes: 7 0
debug3: tty_make_modes: 8 17
debug3: tty_make_modes: 9 19
debug3: tty_make_modes: 10 26
debug3: tty_make_modes: 12 18
debug3: tty_make_modes: 13 23
debug3: tty_make_modes: 14 22
debug3: tty_make_modes: 18 15
debug3: tty_make_modes: 30 0
debug3: tty_make_modes: 31 0
debug3: tty_make_modes: 32 0
debug3: tty_make_modes: 33 0
debug3: tty_make_modes: 34 0
debug3: tty_make_modes: 35 0
debug3: tty_make_modes: 36 1
debug3: tty_make_modes: 37 0
debug3: tty_make_modes: 38 1
debug3: tty_make_modes: 39 0
debug3: tty_make_modes: 40 0
debug3: tty_make_modes: 41 0
debug3: tty_make_modes: 50 1
debug3: tty_make_modes: 51 1
debug3: tty_make_modes: 53 1
debug3: tty_make_modes: 54 1
debug3: tty_make_modes: 55 1
debug3: tty_make_modes: 56 0
debug3: tty_make_modes: 57 0
debug3: tty_make_modes: 58 0
debug3: tty_make_modes: 59 1
debug3: tty_make_modes: 60 1
debug3: tty_make_modes: 61 1
debug3: tty_make_modes: 70 1
debug3: tty_make_modes: 71 0
debug3: tty_make_modes: 72 1
debug3: tty_make_modes: 73 0
debug3: tty_make_modes: 74 0
debug3: tty_make_modes: 75 0
debug3: tty_make_modes: 90 1
debug3: tty_make_modes: 91 1
debug3: tty_make_modes: 92 0
debug3: tty_make_modes: 93 0
debug2: channel 0: request shell confirm 0
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug1: Remote: No xauth program; cannot forward with spoofing.
debug2: channel 0: rcvd adjust 131072
[root@aquarius ~]# debug2: client_check_window_change: changed
debug2: channel 0: request window-change confirm 0
debug2: client_check_window_change: changed
debug2: channel 0: request window-change confirm 0

Re: Problem with X11 and VNC [message #5902 is a reply to message #5899] Tue, 05 September 2006 10:23 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hmmm...
"Remote: No xauth program; cannot forward with spoofing."
Are you sure xauth is installed in _VE_ which you want to connect to?
Please, do rpm -qa | grep xauth in this VE to check.

May be you can give me a remote access and I'll try to figure out what's the problem?

Thanks.
Re: Problem with X11 and VNC [message #5903 is a reply to message #5902] Tue, 05 September 2006 10:29 Go to previous messageGo to next message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
I get this when i run what you said. Sorry cant give you remote access.


# rpm -qa | grep xauth
xauth-4.3.99.903-2

maybe when i reinstalled this VE i have not configured the xauth bit correctly, let me go back over the wiki.
Re: Problem with X11 and VNC [message #5917 is a reply to message #5899] Tue, 05 September 2006 14:06 Go to previous message
slonghurst is currently offline  slonghurst
Messages: 40
Registered: September 2006
Location: UK
Member
Solved, issue was due to an old version of xauth.

Thanks Vass and others for the help.

Previous Topic: *SOLVED* mounting nfs-share on debian template
Next Topic: *SOLVED* dm-multipath support
Goto Forum:
  


Current Time: Mon Nov 18 15:19:36 GMT 2024

Total time taken to generate the page: 0.04974 seconds