X11 connection problem when using Xwin-32


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers X11 connection problem when using Xwin-32
# 1  
Old 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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Problem in intiating x11 console

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

2. AIX

X11 Font problem

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

3. UNIX for Dummies Questions & Answers

Problem with X11 Forwarding

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

4. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

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

5. UNIX Desktop Questions & Answers

X11 connection rejected because of wrong authentication

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

6. UNIX for Dummies Questions & Answers

X11 problem

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

7. Red Hat

X11 forwarding problem between 2 RHEL4 machines with SSH

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

8. Debian

X11 Forwarding Problem

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

9. UNIX for Advanced & Expert Users

Problem with X11 Root Window

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

10. UNIX Desktop Questions & Answers

geforce 4 and Xwin in BSD

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
Login or Register to Ask a Question
GETPEEREID(3)						   BSD Library Functions Manual 					     GETPEEREID(3)

NAME
getpeereid -- get the effective credentials of a UNIX-domain peer LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <unistd.h> int getpeereid(int s, uid_t *euid, gid_t *egid); DESCRIPTION
The getpeereid() function returns the effective user and group IDs of the peer connected to a UNIX-domain socket. The argument s must be a UNIX-domain socket (unix(4)) of type SOCK_STREAM on which either connect(2) or listen(2) have been called. The effective used ID is placed in euid, and the effective group ID in egid. The credentials returned to the listen(2) caller are those of its peer at the time it called connect(2); the credentials returned to the connect(2) caller are those of its peer at the time it called listen(2). This mechanism is reliable; there is no way for either side to influence the credentials returned to its peer except by calling the appropriate system call (i.e., either connect(2) or listen(2)) under different effective credentials. One common use of this routine is for a UNIX-domain server to verify the credentials of its client. Likewise, the client can verify the cre- dentials of the server. IMPLEMENTATION NOTES
On FreeBSD, getpeereid() is implemented in terms of the LOCAL_PEERCRED unix(4) socket option. RETURN VALUES
The getpeereid() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indi- cate the error. ERRORS
The getpeereid() function fails if: [EBADF] The argument s is not a valid descriptor. [ENOTSOCK] The argument s is a file, not a socket. [ENOTCONN] The argument s does not refer to a socket on which connect(2) or listen(2) have been called. [EINVAL] The argument s does not refer to a socket of type SOCK_STREAM, or the kernel returned invalid data. SEE ALSO
connect(2), getpeername(2), getsockname(2), getsockopt(2), listen(2), unix(4) HISTORY
The getpeereid() function appeared in FreeBSD 4.6. BSD
July 15, 2001 BSD