<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; CentOS + терминальный доступ через удаленную сессию ssh]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=13506</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=13506&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «CentOS + терминальный доступ через удаленную сессию ssh».]]></description>
		<lastBuildDate>Fri, 13 May 2011 04:44:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=178772#p178772</link>
			<description><![CDATA[<p>Спасибо! Да если будут у кого другие варианты - пишите! я тоже поразбираюсь еще. Это ведь очень актуальная тема для многих! :cool:</p>]]></description>
			<author><![CDATA[null@example.com (katux)]]></author>
			<pubDate>Fri, 13 May 2011 04:44:24 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=178772#p178772</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=178457#p178457</link>
			<description><![CDATA[<div class="quotebox"><cite>katux пишет:</cite><blockquote><p>И все работает... правда малость ругается на что-то еще.. надо подразобраться. а так работает!</p></blockquote></div><p>Молодец. Хватило терпения разобраться. Но не кажется что это какой то гемор? Либо это должно как то проще работать, либо программа сырая совсем.</p>]]></description>
			<author><![CDATA[null@example.com (AAD)]]></author>
			<pubDate>Thu, 12 May 2011 12:32:56 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=178457#p178457</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=178432#p178432</link>
			<description><![CDATA[<p>СПАСИБО всем еще раз большое!!!<br />Заработало!!!!!! <br />Алгоритм моих действий:<br />1) на своей машинке переключаюсь (Ctrl+Alt+F1) на первый терминал tty1, логинюсь под собой и в консоли набираю:</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ xinit&nbsp; -- :1 &amp;</div><br />обратите внимание, что после двух тире пробел есть!<br />2) переключаюсь на tty8 (м.б. tty9 в некот дистр хотя точно не знаю)<br />3) создаем на своей машине публичный ключ (согласно <a href="http://www.lintest.ru/wiki/%D0%A2%D0%B5%D1%80%D0%BC%D0%B8%D0%BD%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B5_%D1%80%D0%B5%D1%88%D0%B5%D0%BD%D0%B8%D1%8F_%28Ubuntu%29">http://www.lintest.ru/wiki/%D0%A2%D0%B5 … 8Ubuntu%29</a>)<br />&nbsp; &nbsp; <div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ ssh-keygen -t rsa </div></p><p>Публикуем этот ключ на удаленную машину, к которой будем подключаться<br />&nbsp; &nbsp; <div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ ssh-copy-id -i ~/.ssh/id_rsa.pub user@host </div>&nbsp; &nbsp; &nbsp; <br />подставляя свои значения user и host<br />запускаю:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"> $ ssh -X 192.168.0.24</div> <br />тот самый удаленный сервер, к которому хочу приконнектиться! логинюсь (указывая ключевую фразу согласно пунктам 3)<br />4) и последний штрих, запускаю гном:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"> $ gnome-session </div><br />И все работает... правда малость ругается на что-то еще.. надо подразобраться. а так работает!&nbsp; <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /></p>]]></description>
			<author><![CDATA[null@example.com (katux)]]></author>
			<pubDate>Thu, 12 May 2011 10:53:57 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=178432#p178432</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=178357#p178357</link>
			<description><![CDATA[<div class="quotebox"><cite>katux пишет:</cite><blockquote><p>не работает! но при этом постоянно висит это:</p></blockquote></div><p>так gdm или xdm? <br />ps -ef|grep gdm что скажет?</p>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Thu, 12 May 2011 07:09:10 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=178357#p178357</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=178330#p178330</link>
			<description><![CDATA[<p>привожу файлы xinitrc (в /etc/X11/xinit/...)</p><div class="codebox"><pre><code>#!/bin/sh
# Copyright (C) 1999 - 2005 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Authors:
#    Mike A. Harris &lt;mharris@redhat.com&gt;

# Mandatorily source xinitrc-common, which is common code shared between the
# Xsession and xinitrc scripts which has been factored out to avoid duplication
. /etc/X11/xinit/xinitrc-common

# The user may have their own clients they want to run.  If they don&#039;t,
# fall back to system defaults.
if [ -f $HOME/.Xclients ]; then
    exec $SSH_AGENT $DBUS_LAUNCH $HOME/.Xclients || \
    exec $SSH_AGENT $HOME/.Xclients
elif [ -f /etc/X11/xinit/Xclients ]; then
    exec $SSH_AGENT $DBUS_LAUNCH /etc/X11/xinit/Xclients || \
    exec $SSH_AGENT /etc/X11/xinit/Xclients
else
    # Failsafe settings.  Although we should never get here
    # (we provide fallbacks in Xclients as well) it can&#039;t hurt.
    [ -x /usr/bin/xsetroot ] &amp;&amp; /usr/bin/xsetroot -solid &#039;#222E45&#039;
    [ -x /usr/bin/xclock ] &amp;&amp; /usr/bin/xclock -geometry 100x100-5+5 &amp;
    [ -x /usr/bin/xterm ] &amp;&amp; xterm -geometry 80x50-50+150 &amp;
    [ -x /usr/bin/twm ] &amp;&amp; /usr/bin/twm
fi</code></pre></div><p>а также файл xinitrc</p><div class="codebox"><pre><code>#!/bin/bash
# Copyright (C) 1999 - 2004 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

# redirect errors to a file in user&#039;s home directory if we can
if [ -z &quot;$GDMSESSION&quot; ]; then
    # GDM redirect output itself in a smarter fashion
    errfile=&quot;$HOME/.xsession-errors&quot;
    if ( umask 077 &amp;&amp; cp /dev/null &quot;$errfile&quot; 2&gt; /dev/null ); then
        chmod 600 &quot;$errfile&quot;
        exec &gt; &quot;$errfile&quot; 2&gt;&amp;1
    else
        errfile=$(mktemp -q /tmp/xses-$USER.XXXXXX)
        if [ $? -eq 0 ]; then
            exec &gt; &quot;$errfile&quot; 2&gt;&amp;1
        fi
    fi
fi

SWITCHDESKPATH=/usr/share/switchdesk

# Mandatorily source xinitrc-common, which is common code shared between the
# Xsession and xinitrc scripts which has been factored out to avoid duplication
. /etc/X11/xinit/xinitrc-common

# This Xsession.d implementation, is intended to obsolte and replace the
# various mechanisms present in the &#039;case&#039; statement which follows, and to
# eventually be able to easily remove all hard coded window manager specific
# content from this script.  See bug #142260 for additional explanation and
# details.  All window manager rpm packages and desktop environment
# packages should be modified to provide the Xsession.d/Xsession.$wm scripts
# to start themselves up.  In the future, the legacy switchdesk mechanisms
# and hard coded window managers and desktop environments will be removed from
# this script. 
XCLIENTS_D=/etc/X11/xinit/Xclients.d
if [ -d &quot;$XCLIENTS_D&quot; -a &quot;$#&quot; -eq 1 -a -x &quot;$XCLIENTS_D/Xclients.$1.sh&quot; ]; then
    exec -l $SHELL -c &quot;$SSH_AGENT $DBUS_LAUNCH $XCLIENTS_D/Xclients.$1.sh&quot;
else
# now, we see if xdm/gdm/kdm has asked for a specific environment
case $# in
1)
    if [ -x &quot;$SWITCHDESKPATH/Xclients.$1&quot; ]; then
       exec -l $SHELL -c &quot;$SWITCHDESKPATH/Xclients.$1&quot;;
    fi;

    case &quot;$1&quot; in
    failsafe)
        exec -l $SHELL -c &quot;xterm -geometry 80x24-0-0&quot;
        ;;
    gnome)
        exec $SSH_AGENT /bin/sh -c &quot;exec -l $SHELL -c \&quot;$DBUS_LAUNCH gnome-session\&quot;&quot; 
        ;;
    kde|kde1|kde2)
        exec $SSH_AGENT /bin/sh -c &quot;exec -l $SHELL -c \&quot;$DBUS_LAUNCH startkde\&quot;&quot;
        ;;
    twm)
        # fall back to twm
        exec $SSH_AGENT /bin/sh -c &quot;exec -l $SHELL -c \&quot;DBUS_LAUNCH twm\&quot;&quot;
        ;;
    *)
       # GDM provies either a command line as the first argument or
       # provides &#039;failsafe&#039;, &#039;default&#039; or &#039;custom&#039;.  KDM will do the
       # same at some point
        if [ &quot;$1&quot; != &quot;default&quot; -a &quot;$1&quot; != &quot;custom&quot; ]; then
        exec $SSH_AGENT /bin/sh -c &quot;exec -l $SHELL -c \&quot;$DBUS_LAUNCH $1\&quot;&quot;
        fi
        ;;
    esac
esac
fi

# otherwise, take default action
if [ -x &quot;$HOME/.xsession&quot; ]; then
    exec $SSH_AGENT /bin/sh -c &quot;exec -l $SHELL -c \&quot;$DBUS_LAUNCH $HOME/.xsession\&quot;&quot;
elif [ -x &quot;$HOME/.Xclients&quot; ]; then
    exec $SSH_AGENT /bin/sh -c &quot;exec -l $SHELL -c \&quot;$DBUS_LAUNCH $HOME/.Xclients\&quot;&quot;
elif [ -x /etc/X11/xinit/Xclients ]; then
    exec $SSH_AGENT /bin/sh -c &quot;exec -l $SHELL -c \&quot;$DBUS_LAUNCH /etc/X11/xinit/Xclients\&quot;&quot;
else
    # should never get here; failsafe fallback
    exec -l $SHELL -c &quot;xsm&quot;
fi</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (katux)]]></author>
			<pubDate>Thu, 12 May 2011 05:58:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=178330#p178330</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=178329#p178329</link>
			<description><![CDATA[<p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"> ssh]# ls -l<br />итого 204<br />-rw------- 1 root root 132839 Сен 12&nbsp; 2010 moduli<br />-rw-r--r-- 1 root root&nbsp; &nbsp;1827 Сен 12&nbsp; 2010 ssh_config<br />-rw------- 1 root root&nbsp; &nbsp;3323 Сен 12&nbsp; 2010 sshd_config<br />-rw------- 1 root root&nbsp; &nbsp; 672 Ноя 17 08:09 ssh_host_dsa_key<br />-rw-r--r-- 1 root root&nbsp; &nbsp; 590 Ноя 17 08:09 ssh_host_dsa_key.pub<br />-rw------- 1 root root&nbsp; &nbsp; 963 Ноя 17 08:09 ssh_host_key<br />-rw-r--r-- 1 root root&nbsp; &nbsp; 627 Ноя 17 08:09 ssh_host_key.pub<br />-rw------- 1 root root&nbsp; &nbsp;1675 Ноя 17 08:09 ssh_host_rsa_key<br />-rw-r--r-- 1 root root&nbsp; &nbsp; 382 Ноя 17 08:09 ssh_host_rsa_key.pub<br /> ssh]#</div> <br />файл&nbsp; ssh_config:</p><div class="codebox"><pre><code>#    $OpenBSD: ssh_config,v 1.21 2005/12/06 22:38:27 reyk Exp $

# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options.  For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

# Host *
#   ForwardAgent no
#   ForwardX11 no
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
Host *
    GSSAPIAuthentication yes
# If this option is set to yes then remote X11 clients will have full access
# to the original X11 display. As virtually no X11 client supports the untrusted
# mode correctly we set this to yes.
    ForwardX11Trusted yes
# Send locale-related environment variables
    SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES 
    SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT 
    SendEnv LC_IDENTIFICATION LC_ALL</code></pre></div><p>файл sshd_config:</p><div class="codebox"><pre><code>#    $OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

#Port 22
#Protocol 2,1
Protocol 2
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768

# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
SyslogFacility AUTHPRIV
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile    .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don&#039;t trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don&#039;t read the user&#039;s ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
PasswordAuthentication yes

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
ChallengeResponseAuthentication no

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
GSSAPIAuthentication yes
#GSSAPICleanupCredentials yes
GSSAPICleanupCredentials yes

# Set this to &#039;yes&#039; to enable PAM authentication, account processing, 
# and session processing. If this is enabled, PAM authentication will 
# be allowed through the ChallengeResponseAuthentication mechanism. 
# Depending on your PAM configuration, this may bypass the setting of 
# PasswordAuthentication, PermitEmptyPasswords, and 
# &quot;PermitRootLogin without-password&quot;. If you just want the PAM account and 
# session checks to run without PAM authentication, then enable this but set 
# ChallengeResponseAuthentication=no
#UsePAM no
UsePAM yes

# Accept locale-related environment variables
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES 
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT 
AcceptEnv LC_IDENTIFICATION LC_ALL
#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#ShowPatchLevel no
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no
#ChrootDirectory none

# no default banner path
#Banner /some/path

# override default of no subsystems
Subsystem    sftp    /usr/libexec/openssh/sftp-server</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (katux)]]></author>
			<pubDate>Thu, 12 May 2011 05:56:09 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=178329#p178329</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=178326#p178326</link>
			<description><![CDATA[<p>СПАСИБО БОЛЬШОЕ всем за помощь!!!<br />Отвечаю попорядку:<br />из <a href="http://www.senyk.poltava.ua/projs/books/XTerms/8/xt8_8.html">http://www.senyk.poltava.ua/projs/books … xt8_8.html</a>&nbsp; &nbsp;следует, что <br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">~]# netstat -ap | grep xdm<br /> ~]#</div></p><p>не работает! но при этом постоянно висит это:</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"> ~]# ps -ef|grep gnome-session<br />katod&nbsp; 2292&nbsp; 2134&nbsp; 0 Apr19 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 /usr/bin/gnome-session<br />root&nbsp; &nbsp; &nbsp; 8577&nbsp; 8546&nbsp; 0 09:44 pts/2&nbsp; &nbsp; 00:00:00 grep gnome-session<br />~]#</div></p><p>Похоже что у меня как раз-таки &quot;В противном случае сервер просто не обрабатывает запросы по протоколу XDMCP или менеджер дисплея не запущен&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (katux)]]></author>
			<pubDate>Thu, 12 May 2011 05:52:05 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=178326#p178326</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=178032#p178032</link>
			<description><![CDATA[<p>Те же симптомы были с клиентом vnc при неправильной настройке .xstartup - надо было на клиенте раскомментировать строки:&nbsp; <br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">unset SESSION_MANAGER<br />exec /etc/X11/xinit/xinitrc</div><br />Возможно подобный конфиг есть и у ssh - проверить точно нет пока возможности.</p>]]></description>
			<author><![CDATA[null@example.com (LOlga)]]></author>
			<pubDate>Wed, 11 May 2011 14:19:01 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=178032#p178032</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=178000#p178000</link>
			<description><![CDATA[<p>почитай еще вот это: <a href="http://www.senyk.poltava.ua/projs/books/XTerms/8/xt8_8.html">http://www.senyk.poltava.ua/projs/books … xt8_8.html</a>&nbsp; smile</p>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Wed, 11 May 2011 13:25:30 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=178000#p178000</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=177995#p177995</link>
			<description><![CDATA[<p><strong>katux</strong>,</p><div class="quotebox"><cite>katux пишет:</cite><blockquote><p>Только вот серый экран и курсорчик..... (на всех консолях переключая Ctrl+Alt+F1 и F8)</p></blockquote></div><p>а в лог что нибудь сыпется?</p>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Wed, 11 May 2011 13:06:49 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=177995#p177995</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=177971#p177971</link>
			<description><![CDATA[<div class="quotebox"><cite>i2ks пишет:</cite><blockquote><p><strong>katux</strong>, на удаленном хосте выполните:&nbsp; ps -ef|grep gnome-session</p></blockquote></div><p>на своей машинке в локалке запускаю:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ xinit /usr/bin/ssh -X katod@server1.testdomain.local gnome-session -- :1</div></p><p>на той машинке удаленной:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">~]# ps -ef | grep gnome-session<br />katod&nbsp; 2292&nbsp; 2134&nbsp; 0 Apr19 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 /usr/bin/gnome-session<br />root&nbsp; &nbsp; &nbsp; 5371&nbsp; 4397&nbsp; 0 16:09 pts/2&nbsp; &nbsp; 00:00:00 grep gnome-session<br /> ~]#</div></p><p>Значит работает! Только вот серый экран и курсорчик..... (на всех консолях переключая Ctrl+Alt+F1 и F8)<br />Только меня дата смутила..... 19 апреля! а сейчас 11 мая&nbsp; :o</p>]]></description>
			<author><![CDATA[null@example.com (katux)]]></author>
			<pubDate>Wed, 11 May 2011 12:14:51 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=177971#p177971</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=177966#p177966</link>
			<description><![CDATA[<div class="quotebox"><cite>i2ks пишет:</cite><blockquote><div class="quotebox"><cite>katux пишет:</cite><blockquote><p>ау... неужели никто не настраивал удаленный раб стол??? sad</p></blockquote></div><p>вообще работает. но внутри локальной сети:</p></blockquote></div><p>внутри локалки и надо)</p>]]></description>
			<author><![CDATA[null@example.com (katux)]]></author>
			<pubDate>Wed, 11 May 2011 12:07:58 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=177966#p177966</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=177962#p177962</link>
			<description><![CDATA[<div class="quotebox"><cite>Vascom пишет:</cite><blockquote><p>Значит ни кто так не делал. Попробуй VNC, обычно с ним связаны все вопросы по удалённому рабочему столу.</p></blockquote></div><p>пробую VNC. только на удаленном хосте по htop видно что запускаемое приложение (например, bacula admin tools) хавает много ресурсов!<br />подсказали использовать как раз терминальный доступ через ssh</p>]]></description>
			<author><![CDATA[null@example.com (katux)]]></author>
			<pubDate>Wed, 11 May 2011 12:05:57 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=177962#p177962</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=177912#p177912</link>
			<description><![CDATA[<p><strong>katux</strong>, на удаленном хосте выполните:&nbsp; ps -ef|grep gnome-session</p>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Wed, 11 May 2011 10:54:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=177912#p177912</guid>
		</item>
		<item>
			<title><![CDATA[Re: CentOS + терминальный доступ через удаленную сессию ssh]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=177906#p177906</link>
			<description><![CDATA[<div class="quotebox"><cite>katux пишет:</cite><blockquote><p>ау... неужели никто не настраивал удаленный раб стол??? sad</p></blockquote></div><p>вообще работает. но внутри локальной сети:</p><p>вот часть, то что в консоли выдало:<br /></p><div class="codebox"><pre><code>&gt; xinit /usr/bin/ssh -X useradm@192.168.0.31 gnome-session -- :1


X.Org X Server 1.8.0
Release Date: 2010-04-02
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux sysadminpc 2.6.34.8-0.2-desktop #1 SMP PREEMPT 2011-04-06 18:11:26 +0200 i686
Kernel command line: root=/dev/disk/by-id/ata-ST3320613AS_9SZ60LW8-part6 resume=/dev/disk/by-id/ata-ST3320613AS_9SZ60LW8-part5 splash=silent quiet vga=0x31a
Build Date: 19 August 2010  03:34:17PM
 
Current version of pixman: 0.18.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: &quot;/var/log/Xorg.1.log&quot;, Time: Wed May 11 14:45:16 2011
(==) Using config directory: &quot;/etc/X11/xorg.conf.d&quot;
(EE) No input driver/identifier specified (ignoring)
(EE) No input driver/identifier specified (ignoring)
Warning: No xauth data; using fake authentication data for X11 forwarding.
/usr/bin/xauth:  creating new authority file /home/useradm/.Xauthority
gnome-session[8823]: WARNING: Unable to determine session: Unable to lookup session information for process &#039;8823&#039;
gnome-session[8823]: WARNING: Could not parse desktop file /etc/xdg/autostart/ksmolt-autostart.desktop: Недопустимое имя ключа: X-KDE-autostart-condition[$e]
gnome-session[8823]: WARNING: could not read /etc/xdg/autostart/ksmolt-autostart.desktop
GNOME_KEYRING_CONTROL=/tmp/keyring-8AbvSf
SSH_AUTH_SOCK=/tmp/keyring-8AbvSf/ssh
GNOME_KEYRING_PID=8864
GNOME_KEYRING_CONTROL=/tmp/keyring-8AbvSf
SSH_AUTH_SOCK=/tmp/keyring-8AbvSf/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-8AbvSf
SSH_AUTH_SOCK=/tmp/keyring-8AbvSf/ssh

** (gnome-settings-daemon:8867): WARNING **: Can not run apport-checkreports
....</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Wed, 11 May 2011 10:48:13 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=177906#p177906</guid>
		</item>
	</channel>
</rss>
