10-06-2010
X11 connection problem when using Xwin-32
Hi I'm using Xwin-32 to connect to my labs UNIX machines. Previously I was able to connect to the systems easily but now I get this error message (posted below) and the unix session is not able to start. can somebody help me.
Looking up host "blade2.tec.ufl.edu"
Connecting to 128.227.241.112 port 22
Server version: SSH-2.0-Sun_SSH_1.1.2
We claim version: SSH-2.0-PuTTY_Local:_Sep_25_2008_15:32:15
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-1
Host key fingerprint is:
ssh-rsa 1024 b9:5e:6e:18:a3:f1:04:66:b7:95:aa:fa:91:3e:81:45
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Access granted
Opened channel for session
Requesting X11 forwarding
X11 forwarding enabled
Started a shell/command
Received X11 connect request from 127.0.0.1:33001
Opening X11 forward connection succeeded
Forwarded X11 connection terminated
Server sent command exit status 1
Disconnected: All channels closed
It seems like it is connecting to the servers but X11 is not being enabled? Is there something wrong with my system or should I contact my administrator?
Thank you.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Has anyone had any luck in using a newer Geforce card in BSD? I dont really care about 3d accel as of now, just trying to get X up with a standard 1024x768 display would be nice :rolleyes:
Never mind, just read on web that nvidea is planning on making drivers for fbsd now that the latest... (2 Replies)
Discussion started by: bsdjunkie
2 Replies
2. UNIX for Advanced & Expert Users
At school, on an HP-UX or B.11.11 U 9000/785 system, my X11 root window is always set to 8-bit color, but all the child windows are 24-bit. The problem with this, is any background/wallpaper looks extremely ugly with the 8-bit color. Is there any way to make X starts with 24-bit color root window?... (0 Replies)
Discussion started by: ljfong
0 Replies
3. Debian
I have 2 Debian boxes.
In my ssh.com client and my putty client, I have X11 fowarding turned
on for both boxes.
When I connect one, I can xterm with no problem back to my pc.
On the other, I keep getting:
xterm Xt error: Can't open display:
xterm: DISPLAY is not set
On both... (3 Replies)
Discussion started by: natter
3 Replies
4. Red Hat
X11 forwarding problem between 2 RHEL4 machines with SSH
Already configured the following on both machines under /etc/ssh
Under sshd_config:
UsePAM no
AllowTcpForwarding yes
Under ssh_config:
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
-----------------------------
Using... (1 Reply)
Discussion started by: panggou
1 Replies
5. UNIX for Dummies Questions & Answers
Hey guys,
I'm on a Solaris 9 boxes and I setup Putty to do X11 forwarding I can get my Xmanager to connect and load Xwindows screens fine. But, sometimes if I lose my putty connection or the app im running crashes X freaks out and deletes my display, setting it to nothing. When I add my display... (2 Replies)
Discussion started by: kingdbag
2 Replies
6. UNIX Desktop Questions & Answers
I have two Solaris 10 systems, A and B, both of which share home directories via NFS (served from a 3rd, Linux, machine). User names, uids, and home directories are identical when the same user has accounts on both Solaris 10 machines.
When I run ssh -X user@A from my home machine, I can easily... (0 Replies)
Discussion started by: WolfyPDX
0 Replies
7. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
8. UNIX for Dummies Questions & Answers
Hello. I installed a Debian box, and its installed remotely. I need to boot up iceweasel from there to do a quick test.
I log on using:
ssh root@<IP> -X
I have modified the /etc/ssh/sshd_config file, and added the X11Forwarding yes flag
And yet I still get:
Error: cannot open... (10 Replies)
Discussion started by: dynelight
10 Replies
9. AIX
Currently ,we use Exceed,X-Win32,winaxe 7.7,Reflection X software for doing evaluation.
1.Chinese word problem
When we use "more filename" to check the file in xterm command console mode from our client Window XP to IBM AIX server.it can show the chinese word,but when we change to grahpic mode... (1 Reply)
Discussion started by: whbun123
1 Replies
10. Solaris
Hello,
I have a Solaris-10 non global zone. I am using MobaXterm. I login on box with root and then "su - caddrd" and then "/usr/local/bin/sudo -u cadwebppc /cad/envs/qa-cm/cadwccDomain/ucm/cs/bin/UserAdmin". This is supposed to open a GUI console, but it is failing and I am not able to figure... (2 Replies)
Discussion started by: solaris_1977
2 Replies
LEARN ABOUT DEBIAN
dropbear
dropbear(8) System Manager's Manual dropbear(8)
NAME
dropbear - lightweight SSH2 server
SYNOPSIS
dropbear [-FEmwsgjki] [-b banner] [-d dsskey] [-r rsakey] [-p [address:]port]
DESCRIPTION
dropbear is a SSH 2 server designed to be small enough to be used in small memory environments, while still being functional and secure
enough for general use.
OPTIONS
-b banner
bannerfile. Display the contents of the file banner before user login (default: none).
-d dsskey
dsskeyfile. Use the contents of the file dsskey for the DSS host key (default: /etc/dropbear/dropbear_dss_host_key). Note that
some SSH implementations use the term "DSA" rather than "DSS", they mean the same thing. This file is generated with dropbear-
key(8).
-r rsakey
rsakeyfile. Use the contents of the file rsakey for the rsa host key (default: /etc/dropbear/dropbear_rsa_host_key). This file is
generated with dropbearkey(8).
-F Don't fork into background.
-E Log to standard error rather than syslog.
-m Don't display the message of the day on login.
-w Disallow root logins.
-s Disable password logins.
-g Disable password logins for root.
-j Disable local port forwarding.
-k Disable remote port forwarding.
-p [address:]port
Listen on specified address and TCP port. If just a port is given listen on all addresses. up to 10 can be specified (default 22
if none specified).
-i Service program mode. Use this option to run dropbear under TCP/IP servers like inetd, tcpsvd, or tcpserver. In program mode the
-F option is implied, and -p options are ignored.
-P pidfile
Specify a pidfile to create when running as a daemon. If not specified, the default is /var/run/dropbear.pid
-a Allow remote hosts to connect to forwarded ports.
-W windowsize
Specify the per-channel receive window buffer size. Increasing this may improve network performance at the expense of memory use.
Use -h to see the default buffer size.
-K timeout_seconds
Ensure that traffic is transmitted at a certain interval in seconds. This is useful for working around firewalls or routers that
drop connections after a certain period of inactivity. The trade-off is that a session may be closed if there is a temporary lapse
of network connectivity. A setting if 0 disables keepalives.
-I idle_timeout
Disconnect the session if no traffic is transmitted or received for idle_timeout seconds.
FILES
Authorized Keys
~/.ssh/authorized_keys can be set up to allow remote login with a RSA or DSS key. Each line is of the form
[restrictions] ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIgAsp... [comment]
and can be extracted from a Dropbear private host key with "dropbearkey -y". This is the same format as used by OpenSSH, though the
restrictions are a subset (keys with unknown restrictions are ignored). Restrictions are comma separated, with double quotes around
spaces in arguments. Available restrictions are:
no-port-forwarding
Don't allow port forwarding for this connection
no-agent-forwarding
Don't allow agent forwarding for this connection
no-X11-forwarding
Don't allow X11 forwarding for this connection
no-pty Disable PTY allocation. Note that a user can still obtain most of the same functionality with other means even if no-pty is set.
command="forced_command"
Disregard the command provided by the user and always run forced_command.
The authorized_keys file and its containing ~/.ssh directory must only be writable by the user, otherwise Dropbear will not allow a
login using public key authentication.
Host Key Files
Host key files are read at startup from a standard location, by default /etc/dropbear/dropbear_dss_host_key and /etc/dropbear/drop-
bear_rsa_host_key or specified on the commandline with -d or -r. These are of the form generated by dropbearkey.
Message Of The Day
By default the file /etc/motd will be printed for any login shell (unless disabled at compile-time). This can also be disabled per-
user by creating a file ~/.hushlogin .
ENVIRONMENT VARIABLES
Dropbear sets the standard variables USER, LOGNAME, HOME, SHELL, PATH, and TERM.
The variables below are set for sessions as appropriate.
SSH_TTY
This is set to the allocated TTY if a PTY was used.
SSH_CONNECTION
Contains "<remote_ip> <remote_port> <local_ip> <local_port>".
DISPLAY
Set X11 forwarding is used.
SSH_ORIGINAL_COMMAND
If a 'command=' authorized_keys option was used, the original command is specified in this variable. If a shell was requested this
is set to an empty value.
SSH_AUTH_SOCK
Set to a forwarded ssh-agent connection.
AUTHOR
Matt Johnston (matt@ucc.asn.au).
Gerrit Pape (pape@smarden.org) wrote this manual page.
SEE ALSO
dropbearkey(8), dbclient(1)
http://matt.ucc.asn.au/dropbear/dropbear.html
dropbear(8)