Re: How do I start a X session on another machine
On Sunday, October 13, 2002, at 10:39 , Thorsten Haude wrote:
Hi,
* Andrew Lindley <aml47@ntlworld.com> [02-10-13 10:20]:
I went for option 2 - ssh. I can ssh between the 2 hosts but the
$DISPLAY variable does not get set on the server machine. I have
ssh_config on both sides defaulting to ForwardX11=yes and can see the
x11_get_proto line if I give ssh the -vv option. So I have a situation
where I can ssh for command line but no X support.
The entry in ssh_config is meant to replace ssh's -X option? Does the
server offer X11?
Anthing to learn from 'ssh -v' (or 'ssh -v -X')? What do the X
applications say?
Thorsten
--
Is there a suspect in your family? - Contact the Ministry of
Information.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Welcome to Darwin!
[localhost:~] andlin% ssh 10.10.84.2
andlin@10.10.84.2's password:
Linux gate 2.4.18 #8 Sat Aug 24 21:19:58 BST 2002 i586 unknown
Welcome to gate - for authorised use only
No mail.
Last login: Mon Oct 7 10:47:57 2002
andlin@gate:~$ su -c "shutdown -h now"
Password:
Broadcast message from root (pts/0) (Mon Oct 7 12:48:33 2002):
The system is going down for system halt NOW!
andlin@gate:~$ exit
logout
Connection to 10.10.84.2 closed.
[localhost:~] andlin% ping 10.10.84.2
PING 10.10.84.2 (10.10.84.2): 56 data bytes
^C
--- 10.10.84.2 ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss
[localhost:~] andlin% ssh 10.10.84.2
andlin@10.10.84.2's password:
Linux gate 2.4.18 #8 Sat Aug 24 21:19:58 BST 2002 i586 unknown
Welcome to gate - for authorised use only
You have mail.
Last login: Tue Oct 8 20:45:45 2002 from sidhe.leny.co.uk
andlin@gate:~$ Read from remote host 10.10.84.2: Operation timed out
Connection to 10.10.84.2 closed.
[localhost:~] andlin% ssh 10.10.84.2
andlin@10.10.84.2's password:
Linux gate 2.4.18 #8 Sat Aug 24 21:19:58 BST 2002 i586 unknown
Welcome to gate - for authorised use only
No mail.
Last login: Thu Oct 10 18:38:50 2002 from sidhe.leny.co.uk
andlin@gate:~$ su -
Password:
gate:~# cd /etc
gate:/etc# cd mail
su: cd: mail: No such file or directory
gate:/etc# ls
CORBA foomatic logcheck qpopper.conf
Muttrc fstab login.defs rc.boot
Net ftpchroot logrotate.conf rc0.d
X11 ftpusers logrotate.d rc1.d
adduser.conf gateways lynx.cfg rc2.d
adjtime gconf magic rc3.d
aliases gdm mail.rc rc4.d
alternatives gimp mailcap rc5.d
anacrontab gnome mailcap.order rc6.d
apm gnome-vfs-mime-magic mailname rcS.d
apt groff manpath.config
reportbug.conf
at.deny group mc resolv.conf
bash.bashrc group- mediaprm
resolv.conf.ppp.bak
bash_completion gtk menu resolv.conf~
bash_completion.d host.conf menu-methods rmt
bind hostname mime-magic rpc
calendar hosts mime-magic.dat screenrc
chatscripts hosts.allow mime.types
scrollkeeper.conf
checksecurity.conf hosts.allow.bak mkinitrd securetty
console hosts.allow~ modules security
console-tools hosts.deny modules.conf serial.conf
cron.d identd.conf modules.conf.old services
cron.daily imlib modules.old sgml
cron.monthly inetd.conf modutils shells
cron.weekly init.d motd skel
crontab inittab mozilla sound
csh.cshrc inputrc mtab spamassassin
csh.login ioctl.save mtools.conf ssh
csh.logout ipsec.conf nethack ssl
debconf.conf ipsec.secrets networks syslog.conf
debian_version isapnp.conf news terminfo
default isdn nsswitch.conf testfw
defoma issue ntp.conf timezone
deluser.conf issue.net oaf updatedb.conf
dhclient-script kde2 opt vfs
dhclient.conf kderc pam.conf wgetrc
diald kernel-img.conf pam.d wvdial.conf
dpkg kernel-pkg.conf paper.config wvdial.conf~
emacs ld.so.cache papersize wwwoffle
emacs20 ld.so.conf passwd x509cert.der
email-addresses ldap passwd- ytalkrc
enscript.cfg lftp.conf ppp zlogin
esound lilo.conf printcap zlogout
exim lilo.conf~ printcap.cups zprofile
fdmount.conf locale.alias profile zshenv
fetchmailrc locale.gen protocols zshrc
firewall-ipchains localtime python2.1
gate:/etc# cd exim
gate:/etc/exim# ls
exim.conf
gate:/etc/exim# vi exim.conf
# This is the main exim configuration file.
# It was originally generated by `eximconfig', part of the exim package
# distributed with Debian, but it may edited by the mail system
administrator.
# This file originally generated by eximconfig at Thu Aug 1 16:24:24
BST 2002
# See exim info section for details of the things that can be configured
here.
# Please see the manual for a complete list
# of all the runtime configuration options that can be included in a
# configuration file.
# This file is divided into several parts, all but the last of which are
# terminated by a line containing the word "end". The parts must appear
# in the correct order, and all must be present (even if some of them are
# in fact empty). Blank lines, and lines starting with # are ignored.
######################################################################
# MAIN CONFIGURATION SETTINGS #
######################################################################
# Specify the domain you want to be added to all unqualified addresses
# here. Unqualified addresses are accepted only from local callers by
# default. See the receiver_unqualified_{hosts,nets} options if you want
# to permit unqualified addresses from remote sources. If this option is
# not set, the primary_hostname value is used for qualification.
qualify_domain = leny.co.uk
# If you want unqualified recipient addresses to be qualified with a
different
# domain to unqualified sender addresses, specify the recipient domain
here.
# If this option is not set, the qualify_domain value is used.
# qualify_recipient =
# Specify your local domains as a colon-separated list here. If this
option
# is not set (i.e. not mentioned in the configuration file), the
# qualify_recipient value is used as the only local domain. If you do
not want
# to do any local deliveries, uncomment the following line, but do not
supply
# any data for it. This sets local_domains to an empty string, which is
not
# the same as not mentioning it at all. An empty string specifies that
there
# are no local domains; not setting it at all causes the default value
(the
# setting of qualify_recipient) to be used.
local_domains = localhost:gate.leny.co.uk
# Allow mail addressed to our hostname, or to our IP address.
local_domains_include_host = true
local_domains_include_host_literals = true
# Domains we relay for; that is domains that aren't considered local but
we
# accept mail for them.
#relay_domains =
# If this is uncommented, we accept and relay mail for all domains we are
# in the DNS as an MX for.
#relay_domains_include_local_mx = true
# No local deliveries will ever be run under the uids of these users (a
colon-
# separated list). An attempt to do so gets changed so that it runs
under the
# uid of "nobody" instead. This is a paranoic safety catch. Note the
default
# setting means you cannot deliver mail addressed to root as if it were a
# normal user. This isn't usually a problem, as most sites have an alias
for
# root that redirects such mail to a human administrator.
never_users = root
# The setting below causes Exim to do a reverse DNS lookup on all
incoming
# IP calls, in order to get the true host name. If you feel this is too
# expensive, you can specify the networks for which a lookup is done, or
# remove the setting entirely.
#host_lookup = *
# The setting below would, if uncommented, cause Exim to check the
syntax of
# all the headers that are supposed to contain email addresses (To:,
From:,
# etc). This reduces the level of bounced bounces considerably.
# headers_check_syntax
# Exim contains support for the Realtime Blocking List (RBL), and the
many
# similar services that are being maintained as part of the DNS. See
# http://www.mail-abuse.org/ for background. The line below, if
uncommented,
# will reject mail from hosts in the RBL, and add warning headers to mail
# from hosts in a list of dynamic-IP dialups. Note that MAPS may charge
# for this service.
#rbl_domains = rbl.mail-abuse.org/reject : dialups.mail-abuse.org/warn
# http://www.rfc-ignorant.org is another interesting site with a number
of
# services you can use with the rbl_domains option
# The setting below allows your host to be used as a mail relay by only
# the hosts in the specified networks. See the section of the manual
# entitled "Control of relaying" for more info.
host_accept_relay = 127.0.0.1 : ::::1 : 10.10.84.0/24
exim.conf: 466 lines, 17757 characters
gate:/etc/exim# /etc/init.d/exim restart
gate:/etc/exim# Read from remote host 10.10.84.2: Operation timed out
Connection to 10.10.84.2 closed.
[localhost:~] andlin% ssh 10.10.84.2
andlin@10.10.84.2's password:
Linux gate 2.4.18 #8 Sat Aug 24 21:19:58 BST 2002 i586 unknown
Welcome to gate - for authorised use only
No mail.
Last login: Thu Oct 10 19:11:45 2002 from jim.leny.co.uk
andlin@gate:~$ su -
Password:
gate:~# apt-get update
Get:1 http://security.debian.org stable/updates/main Packages [55.1kB]
Get:2 http://security.debian.org stable/updates/main Release [110B]
Hit ftp://ftp.uk.debian.org stable/contrib Packages
Hit ftp://ftp.uk.debian.org stable/contrib Release
Hit ftp://ftp.uk.debian.org stable/main Packages
Hit ftp://ftp.uk.debian.org stable/main Release
Hit ftp://ftp.uk.debian.org stable/non-free Packages
Hit ftp://ftp.uk.debian.org stable/non-free Release
Hit ftp://ftp.uk.debian.org stable/non-US/contrib Packages
Hit ftp://ftp.uk.debian.org stable/non-US/contrib Release
Hit ftp://ftp.uk.debian.org stable/non-US/main Packages
Hit ftp://ftp.uk.debian.org stable/non-US/main Release
Fetched 55.2kB in 16s (3302B/s)
Reading Package Lists... Done
Building Dependency Tree... Done
gate:~# apt-get update
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit ftp://ftp.uk.debian.org stable/contrib Packages
Hit ftp://ftp.uk.debian.org stable/contrib Release
Hit ftp://ftp.uk.debian.org stable/main Packages
Hit ftp://ftp.uk.debian.org stable/main Release
Hit ftp://ftp.uk.debian.org stable/non-free Packages
Hit ftp://ftp.uk.debian.org stable/non-free Release
Hit ftp://ftp.uk.debian.org stable/non-US/contrib Packages
Hit ftp://ftp.uk.debian.org stable/non-US/contrib Release
Hit ftp://ftp.uk.debian.org stable/non-US/main Packages
Hit ftp://ftp.uk.debian.org stable/non-US/main Release
Reading Package Lists... Done
Building Dependency Tree... Done
gate:~# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
2 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 452kB of archives. After unpacking 4096B will be used.
Do you want to continue? [Y/n]
Get:1 http://security.debian.org stable/updates/main fetchmail
5.9.11-6.1 [286kB]
Get:2 http://security.debian.org stable/updates/main fetchmail-common
5.9.11-6.1 [165kB]
Fetched 452kB in 1m50s (4072B/s)
Preconfiguring packages ...
(Reading database ... 53584 files and directories currently installed.)
Preparing to replace fetchmail 5.9.11-6 (using
.../fetchmail_5.9.11-6.1_i386.deb) ...
Stopping mail retrieval agent: fetchmail.
Unpacking replacement fetchmail ...
Preparing to replace fetchmail-common 5.9.11-6 (using
.../fetchmail-common_5.9.11-6.1_all.deb) ...
Stopping mail retrieval agent: system-wide fetchmail not running.
Unpacking replacement fetchmail-common ...
Setting up fetchmail-common (5.9.11-6.1) ...
Setting up fetchmail (5.9.11-6.1) ...
Starting mail retrieval agent: fetchmail.
gate:~# Read from remote host 10.10.84.2: Operation timed out
Connection to 10.10.84.2 closed.
[localhost:~] andlin% ping pop.ntlworld.com
PING pop.ntlworld.com (62.253.162.50): 56 data bytes
64 bytes from 62.253.162.50: icmp_seq=0 ttl=248 time=165.673 ms
64 bytes from 62.253.162.50: icmp_seq=1 ttl=248 time=160.671 ms
64 bytes from 62.253.162.50: icmp_seq=2 ttl=248 time=142.692 ms
64 bytes from 62.253.162.50: icmp_seq=3 ttl=248 time=127.781 ms
64 bytes from 62.253.162.50: icmp_seq=4 ttl=248 time=139.69 ms
64 bytes from 62.253.162.50: icmp_seq=5 ttl=248 time=136.237 ms
64 bytes from 62.253.162.50: icmp_seq=6 ttl=248 time=135.508 ms
64 bytes from 62.253.162.50: icmp_seq=7 ttl=248 time=148.749 ms
^C
--- pop.ntlworld.com ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max = 127.781/144.625/165.673 ms
[localhost:~] andlin% ping www.ntlworld.com
ping: unknown host www.ntlworld.com
[localhost:~] andlin% ping www.ntlworld.com
^C
[localhost:~] andlin% ping www.ntlworld.com
PING www.ntlworld.com (62.253.162.30): 56 data bytes
64 bytes from 62.253.162.30: icmp_seq=0 ttl=246 time=159.613 ms
64 bytes from 62.253.162.30: icmp_seq=1 ttl=246 time=1798.05 ms
64 bytes from 62.253.162.30: icmp_seq=2 ttl=246 time=817.413 ms
64 bytes from 62.253.162.30: icmp_seq=3 ttl=246 time=126.995 ms
64 bytes from 62.253.162.30: icmp_seq=4 ttl=246 time=126.259 ms
64 bytes from 62.253.162.30: icmp_seq=5 ttl=246 time=125.47 ms
64 bytes from 62.253.162.30: icmp_seq=6 ttl=246 time=124.717 ms
64 bytes from 62.253.162.30: icmp_seq=7 ttl=246 time=124.018 ms
64 bytes from 62.253.162.30: icmp_seq=8 ttl=246 time=123.223 ms
64 bytes from 62.253.162.30: icmp_seq=9 ttl=246 time=122.503 ms
64 bytes from 62.253.162.30: icmp_seq=10 ttl=246 time=121.722 ms
64 bytes from 62.253.162.30: icmp_seq=11 ttl=246 time=120.979 ms
^C
--- www.ntlworld.com ping statistics ---
12 packets transmitted, 12 packets received, 0% packet loss
round-trip min/avg/max = 120.979/324.246/1798.05 ms
[localhost:~] andlin% ping www.ntlworld.com
^C
[localhost:~] andlin% ping www.ntlworld.com
^C
[localhost:~] andlin% ping www.ntlworld.com
PING www.ntlworld.com (62.253.162.30): 56 data bytes
64 bytes from 62.253.162.30: icmp_seq=0 ttl=246 time=168.17 ms
64 bytes from 62.253.162.30: icmp_seq=1 ttl=246 time=137.514 ms
64 bytes from 62.253.162.30: icmp_seq=2 ttl=246 time=136.755 ms
^C
--- www.ntlworld.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 136.755/147.479/168.17 ms
[localhost:~] andlin% telnet 10.10.84.3
Trying 10.10.84.3...
Connected to 10.10.84.3.
Escape character is '^]'.
Debian GNU/Linux testing/unstable sidhe.leny.co.uk
sidhe login: andlin
Password:
Last login: Sun Oct 13 09:55:14 2002 from :0 on pts/0
Linux sidhe 2.4.18-586tsc #1 Sun Apr 14 10:57:57 EST 2002 i586 unknown
unknown GNU/Linux
Most of the programs included with the Debian GNU/Linux system are
freely redistributable; the exact distribution terms for each program
are described in the individual files in /usr/share/doc/*/copyright
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
andlin@sidhe:~$ su
Password:
sidhe:/home/andlin# ps aux |less
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 1264 476 ? S 09:52 0:00 init [2]
root 2 0.0 0.0 0 0 ? SW 09:52 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SWN 09:52 0:00
[ksoftirqd_CPU0]
root 4 0.0 0.0 0 0 ? SW 09:52 0:00 [kswapd]
root 5 0.0 0.0 0 0 ? SW 09:52 0:00 [bdflush]
root 6 0.0 0.0 0 0 ? SW 09:52 0:00 [kupdated]
root 60 0.0 0.0 0 0 ? SW 09:53 0:00
[scsi_eh_1]
daemon 118 0.0 0.1 1372 428 ? S 09:53 0:00
/sbin/portmap
root 216 0.0 0.3 2028 780 ? S 09:53 0:00
/sbin/syslogd
root 219 0.0 0.4 1928 1084 ? S 09:53 0:00
/sbin/klogd
root 228 0.0 0.2 1432 676 ? S 09:53 0:00
/sbin/rpc.statd
root 238 0.0 0.2 1984 696 ? S 09:53 0:00
/usr/sbin/inetd
root 241 0.0 0.6 4840 1788 ? S 09:53 0:00
/usr/sbin/cupsd
postgres 276 0.0 0.6 8520 1664 ? S 09:53 0:00
/usr/lib/postgres
ql/bin/postmaster
postgres 279 0.0 0.6 9512 1648 ? S 09:53 0:00 postgres:
stats b
uffer process
postgres 281 0.0 0.6 8552 1688 ? S 09:53 0:00 postgres:
stats c
ollector process
root 309 0.0 0.4 2748 1172 ? S 09:53 0:00
/usr/sbin/sshd
root 317 0.0 1.2 4408 3240 ? S 09:53 0:00
/usr/bin/X11/xfs
-daemon
daemon 320 0.0 0.2 1376 568 ? S 09:53 0:00
/usr/sbin/atd
root 323 0.0 0.2 1640 668 ? S 09:53 0:00
/usr/sbin/cron
root 336 0.0 0.5 2876 1412 ? S 09:53 0:00
/usr/sbin/apache
www-data 340 0.0 0.5 2888 1432 ? S 09:53 0:00
/usr/sbin/apache
www-data 341 0.0 0.5 2888 1432 ? S 09:53 0:00
/usr/sbin/apache
www-data 342 0.0 0.5 2888 1432 ? S 09:53 0:00
/usr/sbin/apache
www-data 343 0.0 0.5 2888 1432 ? S 09:53 0:00
/usr/sbin/apache
www-data 344 0.0 0.5 2888 1432 ? S 09:53 0:00
/usr/sbin/apache
root 345 0.0 0.7 7112 1816 ? S 09:53 0:00
/usr/bin/gdm
root 355 0.0 0.1 1248 464 tty2 S 09:53 0:00
/sbin/getty 38400
tty2
root 356 0.0 0.1 1248 464 tty3 S 09:53 0:00
/sbin/getty 38400
tty3
root 357 0.0 0.1 1248 464 tty4 S 09:53 0:00
/sbin/getty 38400
tty4
root 358 0.0 0.1 1248 464 tty5 S 09:53 0:00
/sbin/getty 38400
tty5
root 359 0.0 0.1 1248 464 tty6 S 09:53 0:00
/sbin/getty 38400
tty6
root 373 0.0 0.1 1248 464 tty1 S 09:54 0:00
/sbin/getty 38400
tty1
root 561 0.0 0.7 7160 1932 ? S 10:39 0:00
/usr/bin/gdm
root 563 0.0 0.4 3048 1116 ? S< 10:39 0:00
/usr/bin/X11/X :1
-indirect gate vt8 -auth /var/lib/gdm/:1.Xauth
telnetd 644 0.0 0.2 1444 672 ? S 10:43 0:00
in.telnetd: jim.l
eny.co.uk
andlin 646 0.3 0.5 2316 1312 pts/0 S 10:43 0:00 -bash
root 647 0.9 0.5 2316 1304 pts/0 S 10:44 0:00 bash
root 648 0.0 0.5 3284 1416 pts/0 R 10:44 0:00 ps aux
root 649 0.0 0.2 1592 612 pts/0 S 10:44 0:00 less
sidhe:/home/andlin# kill 563
sidhe:/home/andlin# kill -9 563
sidhe:/home/andlin# exit
exit
andlin@sidhe:~$ exitConnection closed by foreign host.
[localhost:~] andlin% ls
Desktop Library Music Public pd
Documents Movies Pictures Sites phillet.rtf
[localhost:~] andlin% ftp 10.10.84.3
Connected to 10.10.84.3.
220 sidhe.leny.co.uk FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17)
ready.
Name (10.10.84.3:andlin):
331 Password required for andlin.
Password:
230- Linux sidhe 2.4.18-586tsc #1 Sun Apr 14 10:57:57 EST 2002 i586
unknown unknown GNU/Linux
230-
230- Most of the programs included with the Debian GNU/Linux system are
230- freely redistributable; the exact distribution terms for each
program
230- are described in the individual files in /usr/share/doc/*/copyright
230-
230- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
230- permitted by applicable law.
230 User andlin logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
total 896
drwx------ 2 andlin andlin 4096 Sep 8 14:15 .AbiSuite
lrwxrwxrwx 1 andlin andlin 33 Jul 31 17:12
.DCOPserver_sidhe -> /home/andlin/.DCOPserver_sidhe_:0
-rw------- 1 andlin andlin 312 Oct 13 10:46 .ICEauthority
-rw------- 1 andlin andlin 32 Oct 7 15:00 .MCOP-random-seed
-rw------- 1 andlin andlin 214 Oct 13 10:46 .Xauthority
-rw------- 1 andlin andlin 4587 Oct 13 11:03 .bash_history
-rw-r--r-- 1 andlin andlin 573 Aug 14 15:24 .bash_profile
-rw-r--r-- 1 andlin andlin 566 Aug 12 21:38 .bash_profile~
-rw-r--r-- 1 andlin andlin 1137 Aug 14 15:24 .bashrc
-rw-r--r-- 1 andlin andlin 1133 Aug 12 21:38 .bashrc~
-rw------- 1 andlin andlin 16 Jul 31 14:09 .esd_auth
drwxr-xr-x 17 andlin andlin 4096 Oct 7 16:12 .gimp-1.2
drwx------ 7 andlin andlin 4096 Oct 13 11:23 .gnome
drwxr-xr-x 3 andlin andlin 4096 Sep 29 12:43 .gnome-desktop
-rw------- 1 andlin andlin 1546 Oct 13 11:23 .gnome-errors
drwx------ 3 andlin andlin 4096 Jul 31 14:10 .gnome_private
-rw-r--r-- 1 andlin andlin 1104 Oct 7 15:00 .gtkrc-kde
-rw-r--r-- 1 andlin andlin 10 Aug 11 18:34 .ispell_american
drwx------ 4 andlin andlin 4096 Jul 31 17:13 .kde
-rw------- 1 andlin andlin 158 Jul 31 17:14 .kderc
drwxr-xr-x 3 andlin andlin 4096 Jul 31 19:24 .kpackage
drwxr-xr-x 13 andlin andlin 4096 Aug 14 21:00 .lyx
drwxr-xr-x 2 andlin andlin 4096 Oct 13 10:36 .mc
drwxr-xr-x 3 andlin andlin 4096 Jul 31 17:13 .mcop
-rw------- 1 andlin andlin 31 Oct 7 15:00 .mcoprc
drwxr-xr-x 4 andlin andlin 4096 Jul 31 16:45 .mozilla
drwxrwx--- 4 andlin andlin 4096 Oct 6 20:17 .sane
drwxr-xr-x 3 andlin andlin 4096 Jul 31 17:12 .sawfish
drwx------ 2 andlin andlin 4096 Oct 13 06:37 .ssh
-rw-r--r-- 1 andlin andlin 5 Oct 7 15:00 .wmrc
drwx------ 2 andlin andlin 4096 Sep 11 22:32 .xcdroast
-rw------- 1 andlin andlin 632 Oct 12 19:40 .xsession-errors
drwx------ 3 andlin andlin 4096 Oct 12 19:40 Desktop
drwx------ 2 andlin andlin 4096 Aug 1 13:39 Mail
drwxr-xr-x 4 andlin andlin 4096 Aug 12 20:38 bak
drwxr-xr-x 3 andlin andlin 4096 Aug 12 20:37 bin
drwxr-xr-x 3 andlin andlin 4096 Sep 21 15:57 doc
-rw-r--r-- 1 andlin andlin 1487 Oct 13 11:38 errlog
-rw-r--r-- 1 andlin andlin 5896 Oct 13 11:13 errlog~
drwx------ 2 andlin andlin 4096 Aug 10 19:14 nsmail
drwxr-xr-x 3 andlin andlin 4096 Aug 11 11:50 ntlworld
drwxr-xr-x 3 andlin andlin 4096 Oct 6 20:18 pic
-rw-r--r-- 1 andlin andlin 692318 Oct 3 10:05 pipex.pdf
drwxr-xr-x 2 andlin andlin 4096 Aug 10 19:14 public_html
drwxr-xr-x 2 andlin andlin 4096 Sep 19 19:10 sheet
drwxr-xr-x 4 andlin andlin 4096 Aug 12 20:39 src
226 Transfer complete.
ftp> get errlog
local: errlog remote: errlog
200 PORT command successful.
150 Opening BINARY mode data connection for 'errlog' (1487 bytes).
226 Transfer complete.
1487 bytes received in 0.00129 seconds (1157198 bytes/s)
ftp> bye
221 Goodbye.
[localhost:~] andlin% vi errlog
The following is a snippet of the ssh log that resulted from a
ssh -vv -X gate
where gate is the server. It is from where gate authenticates the caller
to where the command line is available. There are some earlier debug
entries which indicate that it uses the ssh_config and ~/.ssh/config
entries for gate.
OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f
--snip--
debug1: ssh-userauth2 successful: method publickey
debug1: fd 6 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug2: callback start
debug1: ssh_session2_setup: id 0
debug1: channel request 0: pty-req
debug2: x11_get_proto /usr/bin/X11/xauth list :0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 0: x11-req
debug1: channel request 0: shell
debug1: fd 3 setting TCP_NODELAY
errlog: unmodified: line 1
The following is a snippet of the ssh log that resulted from a
ssh -vv -X gate
where gate is the server. It is from where gate authenticates the caller
to where the command line is available. There are some earlier debug
entries which indicate that it uses the ssh_config and ~/.ssh/config
entries for gate.
OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f
--snip--
debug1: ssh-userauth2 successful: method publickey
debug1: fd 6 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug2: callback start
debug1: ssh_session2_setup: id 0
debug1: channel request 0: pty-req
debug2: x11_get_proto /usr/bin/X11/xauth list :0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 0: x11-req
debug1: channel request 0: shell
debug1: fd 3 setting TCP_NODELAY
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
--snip--
The moans that come from X apps are as follows
andlin@gate:~$ xterm
xterm Xt error: Can't open display:
andlin@gate:~$ kmail
Aborting. $DISPLAY is not set.
ERROR: KUniqueApplication: Pipe closed unexpected.
andlin@gate:~$ echo .${DISPLAY}.
..
andlin@gate:~$
I'm not entirely certain what you mean by does the server offer X11.
It certainly has X11 installed and running on it, I can
X :1 -indirect gate
and get the chooser. (Thank you Ramin.)
TIA - Andrew
Reply to: