Fwd: how to - XDMCP/LightDM - remote only

2021-04-06 Thread Arioch The
There were 4 questions and environment descriiption in the mail i sent
yesterday, but robot ate them and moderators can not help recovering
them
Hope they still would help later, but they did not yet.

Okay, main question was, how can i setup the box so that LightDM/XDMCP
was available on TCP but was not run locally ? I do not want local X
server run on the remote headless box, and i want be able to log into
the box from remote Windows client.  ssh x forwarding is practically
unusable with Mate and other DEs

-- Forwarded message -
От: Arioch The 
Date: пн, 5 апр. 2021 г. в 14:09
Subject: Fwd: how to - XDMCP/LightDM - remote only
To: 


Hello guys. Can you recover the mail please ?

There was MUCH more text than what the robot quoted. Remembering and
restructuring and retyping all those details would be troublesome.

Google Groups do not have "Sent" folder, nothing is there in GMail's.

So, could you please approve that mail or copy its whole text for me?

-- Forwarded message -
От: Moderation Robot 
Date: пн, 5 апр. 2021 г. в 14:00
Subject: Re: how to - XDMCP/LightDM - remote only
To: Arioch The 


linux.debian.user is a moderated newsgroup in gateway
with a mailing list.

Your article has been examined by the automatic moderation program
and has been refused because:

this hierarchy accepts posts only from registered users.
You can register for posting by subscribing to the linux-g...@lists.bofh.it
mailing list. You can do so by sending a message with "subscribe" in the
body at the linux-gate-requ...@lists.bofh.it address or by visiting
http://lists.bofh.it/listinfo/linux-gate .


For more information about the linux.* hierarchy please read the FAQ
at http://www.linux.it/~md/linux-faq

Virtually your,
The Moderation Robot.

--- Follows the first few lines of your article 
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:path:newsgroups:date:injection-info
 :nntp-posting-host:user-agent:mime-version:message-id:subject:from
 :injection-date:to:content-transfer-encoding;
bh=YKyzhIugDsiXLEQmJpNcrsZ74rQOrs+wTF4uEd7aULM=;
b=YC0UFlq/rXoX4oMJU8bu5AHdU9aJGfDlMNKdsDngGnAdmjFtfguFAv7gbYq0aTprEU
 pCOJP0WY7XhzDpZeN9j69ydCv0Vcbw9mAdZlldtKL+jLcalCbi9yHbOZMEYJLijCLuRo
 ZVkKB6B5h7rmlWwtcov0aC6Z1cd8MuZDyiOsByC0zSA1XesI1qewaQkjNSMRL9HCCd37
 xxeH/VieEjSwgZjHh/zitc3xkp+qABovp0lhCN5IssGgyQBSCFmpRyL1PTg4VBpNxNqN
 ftqJZUwo0rWUDXq3ISVaqVeewWbHHngeMmVtjf++4vVyepIzW2wWbSbUgTLFVNE0kV1M
 wOsQ==
X-Gm-Message-State: AOAM530ECOSI2BmzY9mdUfn7XfMngD0HmUsv5yXFbj2LMO1bcGftwWU9
VYEVrSOcNEEMH3nsgDPurzML16A7GvTyYvlnd0E=
X-Google-SMTP-Source:
ABdhPJzlToRLLPNNfUYXXyFXl8JHiEFDrQjjGiPO5AK1P9+nfUToL08U42dLGdbHNB19xf+T2X7SGAsg5MkR1296jWzgre7xca13
X-Received: by 2002:a37:618e:: with SMTP id v136mr23117644qkb.151.1617619982814;
Mon, 05 Apr 2021 03:53:02 -0700 (PDT)
X-Received: by 2002:a9d:7b49:: with SMTP id f9mr276295oto.192.1617619982433;
 Mon, 05 Apr 2021 03:53:02 -0700 (PDT)
Newsgroups: linux.debian.user
Date: Mon, 5 Apr 2021 03:53:02 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com;
posting-host=85.90.120.243;
posting-account=XzbdJgoAAADxgQvARoQ7vSJ-QSMwHLtl
NNTP-Posting-Host: 85.90.120.243
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9b5ae47d-e443-4e43-9423-b3d22d73e9...@googlegroups.com>
Subject: how to - XDMCP/LightDM - remote only
From: Arioch The 
Injection-Date: Mon, 05 Apr 2021 10:53:02 +
To: debian-user@lists.debian.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: linux.* mail to news gateway
Sender: robo...@news.nic.it

Hello!=20

I am repurposing an old weak desktop for a low load family NAS (and in futu=
re maybe something more, like custom cloud, Windows Domain Server, etc).

Hardware is Intel Atom D525 on Asus ION2 mainboard, 4GB RAM.

I am newb to Linux albeit i used 2.4/2.6 on a laptop, but that was so far a=
go... in a galaxy so different than ours.



gmd3 fails to open X sessions on the console and on X servers using xdmcp (stretch 9.1)

2017-08-25 Thread Jean-Paul Bouchet

Hello,
A few months ago I met no difficulties to configure our debian Wheezy 
server to manage X sessions with gdm3, on the console and on a set of X 
servers (Windows PC with Cygwin/X) using xdmcp.
I was unable to retrieve this functionality after a dist-upgrade to 
Jessie (cf. https://lists.debian.org/debian-user/2016/10/msg00437.html), 
and astonished by the lack of advices from this forum and other 
channels. I hoped that Stretch could permit me to retrieve it. The 
dist-upgrade from Jessie to Stretch was perfect but let unsolved our 
problems with gdm3.
May be does it work on a fresh install ? On my upgraded server it 
doesn't and I fail to progress. I don't know whether the problems are 
due to wrong file permissions somewhere, wrong values for some 
parameters, or to problems on which I can't get a grip on, or even to 
the gdm3 package. They probably are not the same for the console and the 
xdmcp requests.
Sorry for this long email. You may find more details on 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873199.

Any advices and ideas are welcome!

1. For the console

The server reboots without any error and finishes with a last message 
telling that GNOME Display Manager has started but nothing else is 
displayed (no greeter, no prompt). I have to type Alt-Ctrl-F3 (or F4, 
F5, F6) to get a login prompt on tty3 and open a terminal on the 
console. I can also connect with ssh -X from other Linux workstations.


In /var/log/messages the first errors during the reboot could let think 
to problems between gdm and cgmanager:
Aug 22 18:38:50 my_stretch_server udev-acl.ck[4355]: g_slice_set_config: 
assertion 'sys_page_size == 0' failed
Aug 22 18:38:50 my_stretch_server udev-acl.ck[4433]: g_slice_set_config: 
assertion 'sys_page_size == 0' failed
Aug 22 18:38:50 my_stretch_server gdm-session-worker[3909]: Failed 
opening dbus connection: org.freedesktop.DBus.Error.FileNotFound: Failed 
to connect to socket /sys/fs/cgroup/cgmanager/sock: Aucun fichier ou 
dossier de ce type (No such file or directory with this type)
Aug 22 18:38:51 my_stretch_server 
/usr/lib/gdm3/gdm-wayland-session[4434]: Activating service 
name='org.freedesktop.systemd1'
Aug 22 18:38:51 my_stretch_server systemd-shim[4519]: Could not connect 
to cgmanager: Could not connect: No such file or directory
Aug 22 18:38:51 my_stretch_server systemd-shim[4519]: Unable to acquire 
bus name 'org.freedesktop.systemd1'.  Quitting.


Then a loop with the same sequence of errors until the final relief 
('too many opened files'):


Aug 22 18:40:58 my_stretch_server 
/usr/lib/gdm3/gdm-wayland-session[22118]: Unable to register display 
with display manager
Aug 22 18:40:58 my_stretch_server gdm-session-worker[22107]: Failed 
opening dbus connection: org.freedesktop.DBus.Error.FileNotFound: Failed 
to connect to socket /sys/fs/cgroup/cgmanager/sock: Aucun fichier ou 
dossier de ce type (No such file or directory with this type)
Aug 22 18:40:58 my_stretch_server gdm3: Could not start command 
'/usr/lib/gdm3/gdm-session-worker': Trop de fichiers ouverts (too many 
opened files)
Aug 22 18:40:58 my_stretch_server gdm3: Child process -22118 was already 
dead.
Aug 22 18:40:58 my_stretch_server gdm3: Child process 22107 was already 
dead.
Aug 22 18:40:58 my_stretch_server gdm3: Unable to kill session worker 
process
Aug 22 18:40:58 my_stretch_server udev-acl.ck[22141]: 
g_slice_set_config: assertion 'sys_page_size == 0' failed

which seems the last message about the problem.

Just after this reboot, gdm3 service seems happy:
systemctl -l status gdm3
● gdm.service - GNOME Display Manager
   Loaded: loaded (/lib/systemd/system/gdm.service; static; vendor 
preset: enabled)

   Active: active (running) since Tue 2017-08-22 18:38:48 CEST; 8min ago
  Process: 3849 ExecStartPre=/usr/share/gdm/generate-config 
(code=exited, status=0/SUCCESS)
  Process: 3844 ExecStartPre=/bin/sh -c [ "$(cat 
/etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/gdm3" ] 
(code=exited, status=0/SUCCESS)

 Main PID: 3858 (gdm3)
Tasks: 3 (limit: 12288)
   CGroup: /system.slice/gdm.service
   └─3858 /usr/sbin/gdm3

... cgmanager service less:
systemctl -l status cgmanager
● cgmanager.service - Cgroup management daemon
   Loaded: loaded (/lib/systemd/system/cgmanager.service; disabled; 
vendor preset: enabled)

   Active: inactive (dead)

Curiously it seems that there has been no attempt to launch X on the 
server (Xorg.0.log not modified during the reboot), despite a loop to 
try to create and display the gdm greeter on the console (from 
/var/log/debug).


2. For xdmcp requests from other X servers

On the workstation (Windows 7), a few seconds after having launched 
Cygwin/X with 'XWin:0 -query my_stretch_server ...', I get a window with 
the following message:

A fatal error has occured and Cygwin/X will now exit.
XDMCP fatal error: Session

Re: how to add a remote login to XDMCP Chooser in the login window

2017-05-06 Thread Fungi4All
From: abelahc...@gmail.com
>I want to log in a remote server using xdmcp from my local machine, 
>unfortunately there is no chooser in my local login (I use
>lightdm).
>How to add a remote connexion to the list in local login window?

Have you tried any of these packages?
xdm
xrdp

And take a look at these too (not exactly what you are asking for)

guacamole
guacd
X11vnc

how to add a remote login to XDMCP Chooser in the login window

2017-05-05 Thread Abdelkader Belahcene
Hi,

I want to log in a remote server using xdmcp from my local machine,
unfortunately there is no chooser in my local login (I use lightdm).
How to add a remote connexion to the list in local login window?
I remember 8 or 9 years ago, in the login window (may be with  xdm) there
was a remote login in the list.

thank


Do not work XDMCP GDM3

2017-04-16 Thread Konstantin
Dear Maintainer,


I'm setting up a server for multi-user use.
For this I use XDMCP, GDM3, xinetd, TightVNC
I changed the settings of /etc/gdm3/daemon.conf to:
[daemon]

[security]
DisallowTCP=false

[xdmcp]
Enable=true
MaxPending=4
MaxSessions=16
MaxWait=30
MaxWaitIndirect=30
PingIntervalSeconds=60
MaxPendingIndirect=4
DisplaysPerHost=2
HonorIndirect=true
Port=177

[greeter]

[debug]
  Enable = true

Settings for /etc/xinetd.d/vnc:
service vnc
{
   disable = no
   socket_type = stream
   protocol= tcp
   wait= no
   user= root
   server  = /usr/bin/Xvnc
   server_args = -inetd -once -query localhost -geometry 1024x768 -depth
16
   type= UNLISTED
   port 
}

Settings for  /etc/xinetd.conf:
defaults
{
log_type = SYSLOG daemon info
log_on_success  = HOST PID USERID
log_on_failure  = HOST USERID
cps = 200 5
}

Added to / etc / services:
vnc 5900/tcp#vncserver

But after all the changes, when connected through the client, only the
gray screen appears.
Made the configuration for a specific user .vnc / xstartup:
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP
Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
gnome-terminal &
mutter
/etc/X11/Xsession

When connected to an active user, everything works fine.

I need to, when connecting to a remote session, a window manager is
loaded where it is possible to select a user. When using Ligthdm this
happens, but I would like to use GDM3.



Re: With Jessie 8.6, gdm3 and XDMCP, the GDM face browser is built but not displayed (without the attached file)

2016-10-14 Thread Jean-Paul Bouchet

Hello,

At the end of my email 
(https://lists.debian.org/debian-user/2016/10/msg00437.html) I wrote :


"It would be nice if someone could answer that it works on his system : 
Jessie, gdm3 with xdmcp enabled and Windows PC emulating a X11 server 
with xlaunch (through Cygwin or another free software) to open sessions."


Does the lack of answer mean that today nobody uses the combination of 
Gnome, gdm3 and xdmcp on servers with the last stable version of Debian ?


Jean-Paul



With Jessie 8.6, gdm3 and XDMCP, the GDM face browser is built but not displayed (without the attached file)

2016-10-12 Thread Jean-Paul Bouchet

Hello,

I have sent yesterday the following message (slightly modified this 
morning) but committed the mistake to attach a too big file (I thought 
that a file of 27700 bytes was not too large - Sorry...). Maybe some of 
you have already received it, but I think that it is not the case for 
most of you. So I send it again, without the attached file that can be 
found at:

https://lists.debian.org/debian-user/2016/10/msg00417.html
This attached file contains lines extracted from /var/log/system and 
/var/log/debug (uncompress it with bunzip2 after having renamed it in 
something.bz2)


We used during 2 years Gnome and gdm3 on a server with Debian Wheezy to 
let users open sessions from their Windows PC via Cygwin and xlaunch 
(xdmcp). It worked well till the upgrade to Jessie 8.5, for these 
Windows PC, as for the system console. The upgrade to Jessie 8.6 didn't 
solve the problem. I have already tried to describe these problems the 
09th of september ("gdm3 doesn't work any more after the upgrade from 
Wheezy to Jessie 8.5") :

https://lists.debian.org/debian-user/2016/09/msg00301.html

As users were satisfied by the environment provided with gnome, when the 
server ran on Wheezy, I am still trying to launch gdm3.


The story is the same for the console (when the system restarts) and for 
the Windows PC (at each launching of xlaunch): I get during a split 
second a gray background screen, probably corresponding to the GDM face 
browser, followed during a new split second by a nice blue screen 
(debian 8 on the bottom-left corner, date and time on the middle, and a 
few icons on the upper left which are able to display information about 
the connection to the network), followed by a dark screen, till the 
first mouse or keyboard event, that activates definitely the blue 
screen. For the console the dark screen is very ephemeral and has 
appeared only once, before the blue screen is displayed. I have tried to 
understand what happens really and read carefully the /var/log files. It 
is clear that the GDM face browser with the list of all users is being 
built, but I have not yet understood why it is not displayed : warning 
and errors traced in these files should be more understandable for a 
person more expert than me in Gnome and gdm3. I have prepared a file 
with extracts from /var/log/system and /var/log/debug, compressed with 
bzip2 ...


I have read the warning about the upgrading from wheezie to jessie: 
5.10. The GNOME desktop requires basic 3D graphics
The GNOME 3.14 desktop in Jessie no longer has fallback support for 
machines without basic 3D graphics. To run properly, it needs either a 
recent enough PC (any PC built in the last 10 years should have the 
required SSE2 support) or, for architectures other than i386 and amd64, 
a 3D-accelerated graphics adapter with EGL drivers.


It could mean that was I am trying to do is no more possible. But during 
the 3 first days just after the upgrading to Jessie 8.5 I had a degraded 
but nearly working situation with Windows PC: a few minutes to get the 
GDM face bowser, again a few minutes to get the session, which was then 
normal but impossible to close, and sometimes nothing. My attempts to 
improve the situation lead to a much clearer one: what I get now is 
always this nice blue screen, maybe built by gnome-screensaver (I am not 
sure at all). That was not exactly my aim... But it lets me think or 
hope that I am not in the case reported in the warning 5.10.


Today I don't ever know whether the problem I try to solve may be solved 
or not, and if it is due to an error of installation (lacking packages 
to install or packages to uninstall), or an error of configuration 
(despite my attempts to compare the new and the previous ones for gdm, 
pam, ...), an error in Cygwin installation (lacking packages) or, 
possibly, a bug of Jessie.


It would be nice if someone could answer that it works on his system : 
Jessie, gdm3 with xdmcp enabled and Windows PC emulating a X11 server 
with xlaunch (through Cygwin or another free software) to open sessions. 
The problem is not important for the console, as I can leave the blue 
screen with Ctrl-Alt-F1 and open a non-graphical session on tty1, which 
is enough for my needs. It is more annoying for the Windows PC.


Many thanks in advance ! Best regards,
Jean-Paul



With Jessie 8.6, gdm3 and XDMCP, the GDM face browser is built but not displayed

2016-10-11 Thread Jean-Paul Bouchet

Hello,

We used during 2 years Gnome and gdm3 on a server with Debian Wheezy to 
let users open sessions from their Windows PC via Cygwin and xlaunch 
(xdmcp). It worked well till the upgrade to Jessie 8.5, for these 
Windows PC, as for the system console. The upgrade to Jessie 8.6 didn't 
solve the problem.


I have already tried to describe these problems the 09th of september 
("gdm3 doesn't work any more after the upgrade from Wheezy to Jessie 
8.5") :


https://lists.debian.org/debian-user/2016/09/msg00301.html

As users were satisfied by the environment provided with gnome, when the 
server ran on Wheezy, I am still trying to launch gdm3.


The story is the same for the console (when the system restarts) and for 
the Windows PC (at each launching of xlaunch): I get during a split 
second a gray background screen, probably corresponding to the GDM face 
browser, followed during a new split second by a nice blue screen 
(debian 8 on the bottom-left corner, date and time on the middle, and a 
few icons on the upper left which are able to display information about 
the connection to the network), followed by a dark screen, till the 
first mouse or keyboard event, that activates definitely the blue 
screen. For the console the dark screen is very ephemeral and appears 
only once before the blue screen is displayed.


I have tried to follow what happens really and read carefully the 
/var/log files. It is clear that the GDM face browser with the list of 
all users is being built, but I have not understood why it is not 
displayed : warning and errors traced in these files should be more 
understandable for a person more expert than me in Gnome and gdm3. I 
have prepared a file with extracts from /var/log/system and 
/var/log/debug, compressed with bzip2 ...


I have read the warning about the upgrading from wheezie to jessie:
5.10. The GNOME desktop requires basic 3D graphics
The GNOME 3.14 desktop in Jessie no longer has fallback support for 
machines without basic 3D graphics. To run properly, it needs either a 
recent enough PC (any PC built in the last 10 years should have the 
required SSE2 support) or, for architectures other than i386 and amd64, 
a 3D-accelerated graphics adapter with EGL drivers.


It could mean that was I am trying to do is no more possible. But during 
the 3 first days just after the upgrading I had a degraded but nearly 
working situation with Windows PC: a few minutes to get the GDM face 
bowser, again a few minutes to get the session, which was then normal 
but impossible to close, and sometimes nothing. My attempts to improve 
the situation lead to a much clearer one: what I get now is always this 
nice blue screen, maybe built by gnome-screensaver (I am not sure at 
all). That was not exactly my aim... But it lets me think or hope that I 
am not in the case reported in the warning 5.10.


Today I don't ever know whether the problem I try to solve may be solved 
or not, and if it is due to an error of installation (lacking packages 
to install or packages to uninstall), or an error of configuration or, 
possibly, a bug of Jessie.


It would be nice if someone could answer that it works on his system : 
Jessie, gdm3 with xdmcp enabled and Windows PC emulating a X11 server 
with xlaunch (through Cygwin or another free software) to open sessions.


Many thanks in advance !

Best regards,

Jean-Paul



extract_from_log.txt.bz2
Description: application/bzip


Re: 40 xrdp makes VM crawl (was thin client xdmcp setup)

2015-08-27 Thread Stuart Longland
On 25/08/15 23:56, Rusi Mody wrote:
> On Tuesday, August 25, 2015 at 12:40:05 PM UTC+5:30, Stuart Longland wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA512
>>
>> On 25/08/15 12:28, Rusi Mody wrote:
>>> I am teaching python (and some other related stuff) Students
>>> connect with a thin client that connects to the linux VM. The thin
>>> clients have the usual options - shell (ssh) - windows (rdp) -
>>> XDMCP
>>
>> Well, you've got two options there, one is to use XDMCP, the other is
>> to install xrdp on the server and use that.  I realise you're looking
>> for XDMCP as the solution, but just pointing out the other is an option.
> 
> Ok xrdp is the ticket -- Thanks!
> 
> And now... [different question, so subject changed]
> 
> With 40 xrdp logins the VM crawls.
> How to performance monitor it?
> ie is it disk or ram or CPUs or ... that needs to be increased?

top, iotop or vmstat may give you some clues.  It's worth noting that
xrdp uses VNC behind the scenes, which isn't the most CPU-efficient.
XDMCP may perform better, so both are worth looking into, particularly
if xrdp is performing poorly.

The places where I've been using xrdp have been in situations where
we've had no more than about 3 users simultaneously, and xrdp was chosen
because it makes life easier for the Windows users to access a box.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



40 xrdp makes VM crawl (was thin client xdmcp setup)

2015-08-25 Thread Rusi Mody
On Tuesday, August 25, 2015 at 12:40:05 PM UTC+5:30, Stuart Longland wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> On 25/08/15 12:28, Rusi Mody wrote:
> > I am teaching python (and some other related stuff) Students
> > connect with a thin client that connects to the linux VM. The thin
> > clients have the usual options - shell (ssh) - windows (rdp) -
> > XDMCP
> 
> Well, you've got two options there, one is to use XDMCP, the other is
> to install xrdp on the server and use that.  I realise you're looking
> for XDMCP as the solution, but just pointing out the other is an option.

Ok xrdp is the ticket -- Thanks!

And now... [different question, so subject changed]

With 40 xrdp logins the VM crawls.
How to performance monitor it?
ie is it disk or ram or CPUs or ... that needs to be increased?



Re: thin client xdmcp setup

2015-08-25 Thread Stuart Longland
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 25/08/15 12:28, Rusi Mody wrote:
> I am teaching python (and some other related stuff) Students
> connect with a thin client that connects to the linux VM. The thin
> clients have the usual options - shell (ssh) - windows (rdp) -
> XDMCP

Well, you've got two options there, one is to use XDMCP, the other is
to install xrdp on the server and use that.  I realise you're looking
for XDMCP as the solution, but just pointing out the other is an option.

So, for XDMCP, you need a display manager running on the server that
supports it.  gdm2 , lightdm, kdm and xdm all do.  gdm3 might too, I
haven't tried.

For 'lightdm', if you edit or create /etc/lightdm/lightdm.conf and add:

[XDMCPServer]
enabled=true

then restart it, you should find the server listening on port 177/udp.

For 'kdm', look for /usr/share/config/kdm/kdmrc and in there, you
should see a section called 'Xdmcp'.

'gdm2' had a similar procedure.

The thing to look for after re-starting the display manager is that
something is listening on port 177/udp.

Then you should be able to get your X terminal to query it and things
should JustWork.  A useful way to test is on another box with X:

X -query yourserver :1

You should see X start up and log in to your designated server.  At
worst you might need -from your-ip for that to work.

Regards,
- -- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iJ4EARMKAAYFAlXcFH8ACgkQoCQEvFhlDPmcUgH/ZaO45mC1dFXi6tJL8Pfts27I
6k7bmNOFcshdINCprLak6srlMizou3EU0iQU01PuN/lH3t9Bncg9tstMp9SbAgIA
hPLeG23rijooI/+XApjlUdX+3C8FxCH5VnCklctmwb7f/d3dliM3lR78tXJhHieC
BCMTUjkoiVawI5A01xq0eg==
=0dVf
-END PGP SIGNATURE-



thin client xdmcp setup

2015-08-24 Thread Rusi Mody
I am teaching python (and some other related stuff)
Students connect with a thin client that connects to the linux VM.
The thin clients have the usual options
- shell (ssh)
- windows (rdp)
- XDMCP


I'm not able to find very good tutorials/help on how to do this XDMCP stuff
Any pointers?



Re: how to get gdm3 greeter to display menu of hosts for remote login via xdmcp

2012-01-31 Thread Camaleón
On Mon, 30 Jan 2012 01:01:02 -0500, Rick Thomas wrote:

> How do I get the gnome3 greeter to give me a menu of hosts on the local
> network who are willing to accept an xdmcp login?

(...)

I don't know if that's still an option because gdm3 is an ongoing work 
and there have been design changes as well as some options are still 
missing (e.g., language selection?). 

Anyway, I would check if xdmcp is enabled in the config file:

5.4.6. XDCMP Support
http://library.gnome.org/admin/gdm/stable/configuration.html.en#xdmcpsection

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jg9dbl$6o6$1...@dough.gmane.org



Re: how to get gdm3 greeter to display menu of hosts for remote login via xdmcp

2012-01-30 Thread Scott Ferguson
On 30/01/12 17:01, Rick Thomas wrote:
> 
> How do I get the gnome3 greeter to give me a menu of hosts on the local
> network who are willing to accept an xdmcp login?
> 
> On my "squeeze" machines running gdm, at the login screen there is a
> drop-down called "Actions" that has one option called "Remote login via
> xdmcp".  When I choose that option, I get a list of hosts on the local
> network who are willing to accept logins via xdmcp.
> 
> But on my "wheeze" machine, first of all there's no "Actions" drop down
> at all, and I can't find any other way to get the list of xdmcp
> accepting hosts.
> 
> Does anyone know what magic I'm missing?  Is there something I can put
> into one of the files in /etc/gdm3/ that will enable the remote host
> chooser?
> 
> Thanks in advance!
> 
> Rick
> 
> 
I'm not familiar with GNOME, there are no listed bugs - perhaps these
will be useful:-
http://tldp.org/HOWTO/XDMCP-HOWTO/procedure.html
http://www.faqs.org/docs/Linux-HOWTO/XDMCP-HOWTO.html

You could also try the upstream GNOME docs.

Cheers
-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/

NOTE: new update available for Debian Buttons
(New button for querying Debian Developer Package):-
https://addons.mozilla.org/en-US/firefox/addon/debian-buttons/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f2666f2.2020...@gmail.com



how to get gdm3 greeter to display menu of hosts for remote login via xdmcp

2012-01-29 Thread Rick Thomas


How do I get the gnome3 greeter to give me a menu of hosts on the local 
network who are willing to accept an xdmcp login?


On my "squeeze" machines running gdm, at the login screen there is a 
drop-down called "Actions" that has one option called "Remote login via 
xdmcp".  When I choose that option, I get a list of hosts on the local 
network who are willing to accept logins via xdmcp.


But on my "wheeze" machine, first of all there's no "Actions" drop down 
at all, and I can't find any other way to get the list of xdmcp 
accepting hosts.


Does anyone know what magic I'm missing?  Is there something I can put 
into one of the files in /etc/gdm3/ that will enable the remote host 
chooser?


Thanks in advance!

Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f26321e.20...@pobox.com



Re: XDMCP and GDM3

2011-12-01 Thread Martin Feuersänger
Hi Rob,

Rob Owens wrote:
> On Mon, Nov 28, 2011 at 04:22:07PM +0100, Martin Feuersänger wrote:
>> I know which files control the KDM behavior in regard to XDMCP (kdmrc
>> and Xaccess, both in /etc/kde4/kdm/).
>> But for GDM3 I have no idea where this is done. It just worked. Xaccess
>> at /etc/X11/xdm/ had no influence so it must be somewhere else.
>>
>>
> On my Squeeze system, there is /etc/gdm3/daemon.conf, which has an XDMCP
> section.  I'm taking a wild guess here, but you might add something to that
> section like:

Thanks for the suggestion, I forgot that we actually set 'Enable=true' in
the XDMCP section of /etc/gdm3/daemon.conf, otherwise GDM3 doesn't even
listen on port 177.

Then it seems that GDM3 allows every host to access directly and indirectly.

Several configuration examples that cover all of xdm, gdm and kdm seem to
suggest this. They explicitly mention mention Xaccess for both xdm and kdm
but leave it out for gdm.

If GDM3 still behaves like the older GDM I guess
http://library.gnome.org/admin/gdm/stable/configuration.html.en
has the answer:

HonorIndirect=true

Enables remote execution of the chooser, 'true' seems to be default.

Regarding access control the document says:

"If GDM is compiled to support it, access from remote displays can be
controlled using the TCP Wrappers library. The service name is gdm

You should add

gdm:.my.domain

to your /hosts.allow, depending on your TCP Wrappers configuration."

Cheers,
  Martin




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/6729.168.87.60.62.1322741297.squir...@wm.feuersaenger.de



Re: XDMCP and GDM3

2011-11-29 Thread Rob Owens
On Mon, Nov 28, 2011 at 04:22:07PM +0100, Martin Feuersänger wrote:
> Hi list,
> 
> a while ago we played a bit with XDMCP at the local LUG gathering here in
> Frankfurt, Germany.
> 
> One machine was running KDE 4.6.5 (sid) and the other Gnome 3 (squeeze).
> 
> We managed to get a Chooser on each machine from the respective other
> machine by issuing
> X :1 -broadcast -indirect 
> Each time the Chooser offered both machines.
> 
> Now to my question.
> 
> I know which files control the KDM behavior in regard to XDMCP (kdmrc and
> Xaccess, both in /etc/kde4/kdm/).
> But for GDM3 I have no idea where this is done. It just worked. Xaccess at
> /etc/X11/xdm/ had no influence so it must be somewhere else.
> 
On my Squeeze system, there is /etc/gdm3/daemon.conf, which has an XDMCP
section.  I'm taking a wild guess here, but you might add something to
that section like:

chooser = true

I think the old gdm.conf file had a lot of commented out examples in it,
if you can dig that up from somewhere.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2029170251.gc18...@aurora.owens.net



XDMCP and GDM3

2011-11-28 Thread Martin Feuersänger
Hi list,

a while ago we played a bit with XDMCP at the local LUG gathering here in
Frankfurt, Germany.

One machine was running KDE 4.6.5 (sid) and the other Gnome 3 (squeeze).

We managed to get a Chooser on each machine from the respective other
machine by issuing
X :1 -broadcast -indirect 
Each time the Chooser offered both machines.

Now to my question.

I know which files control the KDM behavior in regard to XDMCP (kdmrc and
Xaccess, both in /etc/kde4/kdm/).
But for GDM3 I have no idea where this is done. It just worked. Xaccess at
/etc/X11/xdm/ had no influence so it must be somewhere else.

But where?

Any clues?

Thanks,
  Martin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/46519.168.87.60.62.1322493727.squir...@wm.feuersaenger.de



Re: XDMCP mess

2010-11-11 Thread Nuno Magalhães
On Thu, Nov 11, 2010 at 13:51, Rob Owens  wrote:
> Maybe you should be using LTSP.  It will pxe boot pretty much anything,
> and then do a remote GUI session to your server -- sound included.

I don't want PXE, but rather two sessions (one local one remote), but
i'll look into it, thanks.

-- 
Mars 2 Stay!
http://xkcd.com/801/
/etc


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktik7xd+dwtvjiwduapmd5bhwdpokdvytkrhto...@mail.gmail.com



Re: XDMCP mess

2010-11-11 Thread Rob Owens
On Thu, Nov 11, 2010 at 01:39:12PM +, Nuno Magalhães wrote:
> On Thu, Nov 11, 2010 at 01:38, Arnt Karlsen  wrote:
> >> Now it's pulseaudio, seems simple but i'm missing something (it's
> >> listening!).
> >
> > ..for XDMCP connections?
> 
> Well yeah, XDMCP doesn't carry sound. My progress so far has been
> losing sound altogether, but got it back on. Both boxes have
> pulseaudio but the local one only sometimes sees the remote one. I'm
> still fiddling with it + ALSA.
> 
Maybe you should be using LTSP.  It will pxe boot pretty much anything,
and then do a remote GUI session to your server -- sound included.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2010135111.gc18...@aurora.owens.net



Re: XDMCP mess

2010-11-11 Thread Nuno Magalhães
On Thu, Nov 11, 2010 at 01:38, Arnt Karlsen  wrote:
>> Now it's pulseaudio, seems simple but i'm missing something (it's
>> listening!).
>
> ..for XDMCP connections?

Well yeah, XDMCP doesn't carry sound. My progress so far has been
losing sound altogether, but got it back on. Both boxes have
pulseaudio but the local one only sometimes sees the remote one. I'm
still fiddling with it + ALSA.

Stay tuned.

-- 
Mars 2 Stay!
http://xkcd.com/801/
/etc


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktiktkyp-ky1vy9qk=hxomf8cqbjcrelm83sx4...@mail.gmail.com



Re: XDMCP mess

2010-11-10 Thread Arnt Karlsen
On Wed, 10 Nov 2010 00:33:32 +, Nuno wrote in message 
:

> On Mon, Nov 8, 2010 at 19:28, Arnt Karlsen  wrote:
> > ..ok, then it's back to my hint to find out if X is listening
> > at all, to anything but localhost.
> 
> I must've commented out the remote xdm-config once testing with Xming
> was done and forgot about it. After uncommenting it again the local
> gdm chooser found the remote machine and i was greeted by the remote
> XDM.
> 
> Now it's pulseaudio, seems simple but i'm missing something (it's
> listening!).

..for XDMCP connections?  
If not, your pulseaudio challenge probably warrants its 
own thread and I'm blank there. ;o)

> Thanks for the heads up.
> 


-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2010023834.6e7f4...@a45.fmb.no



Re: XDMCP mess

2010-11-09 Thread Nuno Magalhães
On Mon, Nov 8, 2010 at 19:28, Arnt Karlsen  wrote:
> ..ok, then it's back to my hint to find out if X is listening
> at all, to anything but localhost.

I must've commented out the remote xdm-config once testing with Xming
was done and forgot about it. After uncommenting it again the local
gdm chooser found the remote machine and i was greeted by the remote
XDM.

Now it's pulseaudio, seems simple but i'm missing something (it's listening!).

Thanks for the heads up.

-- 
Mars 2 Stay!
http://xkcd.com/801/
/etc


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikpu65ryvlxsa3nthayrydfnnw_sa5j-6q4p...@mail.gmail.com



Re: XDMCP mess

2010-11-08 Thread Arnt Karlsen
On Mon, 8 Nov 2010 13:56:13 +, Nuno wrote in message 
:

> On Mon, Nov 8, 2010 at 03:14, Arnt Karlsen  wrote:
> > ..I lost you here, do you have your XDMCP connection working now???
> 
> No, manpages and comments in .conf files.
 
..ok, then it's back to my hint to find out if X is listening 
at all, to anything but localhost.

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101108202833.5f0c3...@a45.fmb.no



Re: XDMCP mess

2010-11-08 Thread Nuno Magalhães
On Mon, Nov 8, 2010 at 03:14, Arnt Karlsen  wrote:
> ..I lost you here, do you have your XDMCP connection working now???

No, manpages and comments in .conf files.

-- 
Mars 2 Stay!
http://xkcd.com/801/
/etc


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimfzpxiq92sncfnyrjnel_jsbxq65gw+dl7y...@mail.gmail.com



Re: XDMCP mess

2010-11-07 Thread Arnt Karlsen
On Mon, 8 Nov 2010 00:50:13 +, Nuno wrote in message 
:

> On Mon, Nov 8, 2010 at 00:30, Arnt Karlsen  wrote:
> > ..try ' ps axu |grep nolisten '. ;o)
> 
> XDMCP works well with UDP and there's no reason to use TCP, SSH can
> tunnel UDP. The only nolisten's i use are for TCP.

..I lost you here, do you have your XDMCP connection working now???

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101108041434.250e4...@a45.fmb.no



Re: XDMCP mess

2010-11-07 Thread Nuno Magalhães
On Mon, Nov 8, 2010 at 00:30, Arnt Karlsen  wrote:
> ..try ' ps axu |grep nolisten '. ;o)

XDMCP works well with UDP and there's no reason to use TCP, SSH can
tunnel UDP. The only nolisten's i use are for TCP.

-- 
Mars 2 Stay!
http://xkcd.com/801/
/etc


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktik-sn8+wnqbprhedryhspxuzazlzdh3rzks1...@mail.gmail.com



Re: XDMCP mess

2010-11-07 Thread Arnt Karlsen
On Sun, 7 Nov 2010 14:24:57 +, Nuno wrote in message 
:

> Greetings,
> 
> I've been trying to set up an XDMCP connection for a few days in my
> LAN, to no avail. My current setup is:
> - one desktop running two xservers, one managed by slim, the other by
> xdm. I was able to connect to this xdm from one of the winVMs using
> Xming.
> - one laptop running one xserver manage by gdm, from where i'm trying
> to connect to the desktop,
> 
> I've added magic cookies with xauth, fiddled with xdm's Xservers,
> wondered why gdm's conf is not under /etc/X11 and fiddled with it as
> well, added :x lines to files, uncomented, read howtos that are not as
> detailed as i'd like (and mostly assume remote linux local windows),
> etc. My conf files are a mess.
> 
> There's also chooser, but the laptop's gdm doesn't find anything on
> the LAN. I don't need two xservers on the desktop, but it should allow
> local and remote inbound connections. Same for the laptop, outbound. I
> don't care which DM i use. I've briefly tried Xnest but couldn't even
> get it to start.
> 
> Does anyone have some nice detailed RTFM suggestions and/or tips?

..try ' ps axu |grep nolisten '. ;o)


-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101108013055.4a5c3...@a45.fmb.no



XDMCP mess

2010-11-07 Thread Nuno Magalhães
Greetings,

I've been trying to set up an XDMCP connection for a few days in my
LAN, to no avail. My current setup is:
- one desktop running two xservers, one managed by slim, the other by
xdm. I was able to connect to this xdm from one of the winVMs using
Xming.
- one laptop running one xserver manage by gdm, from where i'm trying
to connect to the desktop,

I've added magic cookies with xauth, fiddled with xdm's Xservers,
wondered why gdm's conf is not under /etc/X11 and fiddled with it as
well, added :x lines to files, uncomented, read howtos that are not as
detailed as i'd like (and mostly assume remote linux local windows),
etc. My conf files are a mess.

There's also chooser, but the laptop's gdm doesn't find anything on
the LAN. I don't need two xservers on the desktop, but it should allow
local and remote inbound connections. Same for the laptop, outbound. I
don't care which DM i use. I've briefly tried Xnest but couldn't even
get it to start.

Does anyone have some nice detailed RTFM suggestions and/or tips?

TIA,
Nuno

-- 
Mars 2 Stay!
http://xkcd.com/801/
/etc


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=qadk6kfx-k1yccwzvlvpbrrusbu0zlyz9x...@mail.gmail.com



Re: configure xdmcp

2010-10-31 Thread Rob Owens
On Sun, Oct 31, 2010 at 06:28:57PM +0100, abdelkader belahcene wrote:
> Hello,
> I wanted to make a Debian server with thin clients,
> I've enabled in the  login window , xdmcp, but my server is not seen by my
> thin clients.
> 
> is there a particular configuration in gnome or may be in debian?
> 
> On another machine debian squeeze (  uname  gives)
> uname -a
> Linux belaHome 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686
> GNU/Linux
> 
> There is no XDMCP in the menu ( neither connexion nor configuration), how to
> enable it .
> 
On the clients, run gdmsetup.  On the "Local" tab, there is a check box
for "Include Hostname Chooser (XDMCP) menu item".  That will put an
option on the gdm screen to log into a remote server.

Alternatively, boot the clients into command-line mode and run:

X -configure myserver

where "myserver" is the ip address or hostname of the server running the
XDMCP service.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101031192513.ga10...@aurora.owens.net



configure xdmcp

2010-10-31 Thread abdelkader belahcene
Hello,
I wanted to make a Debian server with thin clients,
I've enabled in the  login window , xdmcp, but my server is not seen by my
thin clients.

is there a particular configuration in gnome or may be in debian?

On another machine debian squeeze (  uname  gives)
uname -a
Linux belaHome 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686
GNU/Linux

There is no XDMCP in the menu ( neither connexion nor configuration), how to
enable it .




thank you for your help
best regards


Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Per Lundberg
On Sat, May 29, 2010 at 11:22 PM, Julien Cristau  wrote:
> On Sat, May 29, 2010 at 23:16:06 +0300, Per Lundberg wrote:
>> p...@terah:/etc/sysctl.d$ sudo netstat -l -n -p | grep 177
>> udp6       0      0 :::177                  :::*
>>          1632/xdm
>>
> That's fine, bind() on in6addr_any lets you receive ipv4 packets when
> IPV6_V6ONLY is turned off (which xdm does even if the system default is
> backwards).

You were right - thanks! It turned out that I needed to modify the
/etc/X11/xdm/Xaccess file to be able to give the client the right to
use the login daemon... Now, it worked better. :-)
-- 
Best regards,
Per Lundberg


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimdsjlzwew4a8bry8flw2ezxyemadshlta0a...@mail.gmail.com



Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Per Lundberg
On Sat, May 29, 2010 at 10:54 PM, Julien Cristau  wrote:

Hi Julien,

> I'm fairly sure xdmcp over ipv4 works just fine with both xdm and gdm in
> squeeze, because I tested them (and made them work with the bindv6only=1
> setting) a month or two ago.

OK, that's interesting... Just for the sake of it, I even tried
enabling the bindv6only (net.ipv6.bindv6only=1) setting, to see if it
would make any difference. Negative; it still only binds to the udp6
socket.

p...@terah:/etc/sysctl.d$ sudo netstat -l -n -p | grep 177
udp6   0  0 :::177  :::*
 1632/xdm

Do you have any active XDM setup where you could try this yourself? As
I hinted in my previous email, I'm not 100% sure of this, but doesn't
the above udp6 line mean that it will *only* work from an ipv6-capable
client...?
-- 
Best regards,
Per Lundberg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktik_mqieqcabeulryw9r7josiyjxovib3ff28...@mail.gmail.com



Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Julien Cristau
On Sat, May 29, 2010 at 23:16:06 +0300, Per Lundberg wrote:

> On Sat, May 29, 2010 at 10:54 PM, Julien Cristau  wrote:
> 
> Hi Julien,
> 
> > I'm fairly sure xdmcp over ipv4 works just fine with both xdm and gdm in
> > squeeze, because I tested them (and made them work with the bindv6only=1
> > setting) a month or two ago.
> 
> OK, that's interesting... Just for the sake of it, I even tried
> enabling the bindv6only (net.ipv6.bindv6only=1) setting, to see if it
> would make any difference. Negative; it still only binds to the udp6
> socket.
> 
> p...@terah:/etc/sysctl.d$ sudo netstat -l -n -p | grep 177
> udp6   0  0 :::177  :::*
>  1632/xdm
> 
That's fine, bind() on in6addr_any lets you receive ipv4 packets when
IPV6_V6ONLY is turned off (which xdm does even if the system default is
backwards).

> Do you have any active XDM setup where you could try this yourself? As
> I hinted in my previous email, I'm not 100% sure of this, but doesn't
> the above udp6 line mean that it will *only* work from an ipv6-capable
> client...?

Sorry, I can't test right now, but no, as I said above an udp6 socket
can talk to ipv4 hosts.

Cheers,
Julien


signature.asc
Description: Digital signature


Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Julien Cristau
On Sat, May 29, 2010 at 22:32:07 +0300, Per Lundberg wrote:

> >> Isn't there any XDMCP-capable server available in squeeze that can
> >> speak ipv4 any more?

I'm fairly sure xdmcp over ipv4 works just fine with both xdm and gdm in
squeeze, because I tested them (and made them work with the bindv6only=1
setting) a month or two ago.

Cheers,
Julien


signature.asc
Description: Digital signature


Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Per Lundberg
On Sat, May 29, 2010 at 8:58 PM, Carl Johnson  wrote:

Hi Carl, and thanks for your reply!

(I'll include my full original email, since I extended the audience to
the debian-devel list as well)

> Per Lundberg  writes:
>
>> Isn't there any XDMCP-capable server available in squeeze that can
>> speak ipv4 any more?
>>
>> I read about the "net.ipv6.bindv6only" issue (in a bug report).
>> However, that setting is most assuredly set to 0 when I check with
>> sysctl -a.
>> I also forcibly disabled IPv6 support altogether (since I don't need
>> it), also by using a sysctl interface, but it still doesn't help me.
> It can't be binding to an interface that doesn't exist, so it sounds
> as though you haven't disabled it properly.  You can type
> '/sbin/ifconfig' and look for inet6 entries.  You shouldn't have any
> if IPv6 is disabled.  You can check for anything listening on IPv6
> with 'netstat -l6'.  Have you looked at the Debian wiki page at
> 'http://wiki.debian.org/DebianIPv6'?  If you have followed those
> directions for disabling, did you reboot afterwards?

Yes, the sysctl thing from the Wiki page is exactly the same method
I'm using. I just rebooted, and this is the output from netstat -l6
afterwards:

p...@terah:~$ netstat -l6
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp6   0  0 [::]:ssh[::]:*  LISTEN
tcp6   0  0 [::]:microsoft-ds   [::]:*  LISTEN
tcp6   0      0 [::]:netbios-ssn[::]:*  LISTEN
tcp6   0  0 [::]:57650  [::]:*  LISTEN
udp6   0  0 [::]:xdmcp  [::]:*

The sysctl is definitely in effect, though:

p...@terah:/etc/sysctl.d$ /sbin/sysctl -a | grep ipv6 | grep disable
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth1.disable_ipv6 = 1
net.ipv6.conf.eth2.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1

...and ifconfig doesn't show any ipv6 addresses.

> I just looked at mine (kdm) and it only seems to be listening to IPv6,
> but I am pretty sure it will also connect to IPv4.  I just checked
> google and there are some similar problems listed and some suggestions
> on how to solve them.  One suggests using module aliases to prevent
> loading the IPv6 module
> (http://www.linux.com/community/blogs/disable-ipv6-on-debian-lenny-quick-howto.html).

Yeah, I read the idea about module aliases as well, but it seems
pointless since IPv6 isn't a module on my system (using the
2.6.32-3-amd64 kernel from squeeze).

It's interesting however that you say that you expect it to work with
IPv4 even though it has only bound the ipv6 socket. I guess you could
be right (depending on how the actual ipv4-to-ipv6 stuff works...). In
my case however, I can't get a working XMDCP login screen so I'm
suspecting this is the problem.

(Please, Cc any replies to my email address since I don't subscribe to
the mailing lists. Thanks)
-- 
Best regards,
Per Lundberg


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikbzdjjfe0joda0hqxd4qfcfvibw_yhcfciw...@mail.gmail.com



Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Carl Johnson
Per Lundberg  writes:

> Hi there!
>
> Isn't there any XDMCP-capable server available in squeeze that can
> speak ipv4 any more?
>
> I read about the "net.ipv6.bindv6only" issue (in a bug report).
> However, that setting is most assuredly set to 0 when I check with
> sysctl -a.
> I also forcibly disabled IPv6 support altogether (since I don't need
> it), also by using a sysctl interface, but it still doesn't help me.

It can't be binding to an interface that doesn't exist, so it sounds
as though you haven't disabled it properly.  You can type
'/sbin/ifconfig' and look for inet6 entries.  You shouldn't have any
if IPv6 is disabled.  You can check for anything listening on IPv6
with 'netstat -l6'.  Have you looked at the Debian wiki page at
'http://wiki.debian.org/DebianIPv6'?  If you have followed those
directions for disabling, did you reboot afterwards?

> Both when trying with xdm and gdm, they *only* bind to the udp6
> socket. Quite broken if you ask me, _especially when ipv6 support is
> disabled in the kernel_!

I just looked at mine (kdm) and it only seems to be listening to IPv6,
but I am pretty sure it will also connect to IPv4.  I just checked
google and there are some similar problems listed and some suggestions
on how to solve them.  One suggests using module aliases to prevent
loading the IPv6 module
(http://www.linux.com/community/blogs/disable-ipv6-on-debian-lenny-quick-howto.html).
 

> I haven't tried with KDM so far (and I'd rather not, since I have no
> interest in running KDE).

I wouldn't expect it to be different.

> Any hints? The reason I want IPv4 XDMCP is that I will connect to the
> server from a Windows XP machine, using Xming. I wasn't aware that
> this has suddenly become an awful lot of work, since the introduction
> of the wonderful new toy called IPv6... :-)
>
> (Please, Cc any replies to my email address since I don't subscribe to
> the mailing list. Thanks)

Done.

-- 
Carl Johnsonca...@peak.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/877hmmr3nl@cjlinux.localnet



IPv4-capable XDMCP server in Debian squeeze?

2010-05-28 Thread Per Lundberg
Hi there!

Isn't there any XDMCP-capable server available in squeeze that can
speak ipv4 any more?

I read about the "net.ipv6.bindv6only" issue (in a bug report).
However, that setting is most assuredly set to 0 when I check with
sysctl -a.
I also forcibly disabled IPv6 support altogether (since I don't need
it), also by using a sysctl interface, but it still doesn't help me.

Both when trying with xdm and gdm, they *only* bind to the udp6
socket. Quite broken if you ask me, _especially when ipv6 support is
disabled in the kernel_!

I haven't tried with KDM so far (and I'd rather not, since I have no
interest in running KDE).

Any hints? The reason I want IPv4 XDMCP is that I will connect to the
server from a Windows XP machine, using Xming. I wasn't aware that
this has suddenly become an awful lot of work, since the introduction
of the wonderful new toy called IPv6... :-)

(Please, Cc any replies to my email address since I don't subscribe to
the mailing list. Thanks)
-- 
Best regards,
Per Lundberg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinnlqhlr4lzl9bhcers7bxd13y0flr_eyjf-...@mail.gmail.com



XDMCP session, lenny client: pictures are displayed as black area

2010-04-13 Thread Ekkard Gerlach
Hi, 

A lenny client makes XDMCP, server is a suse 9.2 machine. Images
(simple black-white-scans 100kB) are displayed with 
"kuickshow" application as area completely in black . Why? 

Using gwenview instead of kuickshow all pictures are displayed
korrectly - but gwenview 1.1 in not usable, too many bugs. 
And no update of gwenview possible ...

Using suse 10.1 als client installation that makes XDMCP 
and all works: kuickshow displays the pic's korrectly. I 
know that because the client before has had Suse 10.1. But
its quite an effort to change the installation, so: any
ideas why lenny client prevents the kuickshow viewer to show
pictures correctly? 

Here is the xorg.conf of lenny: 

e#
# autogenerated X hardware configuration by /bin/hwautocfg
# OpenSLX.ORG Project , 06-09-2007
# DO NOT EDIT THIS FILE BUT '/bin/hwautocfg' INSTEAD!
#
Section "Files"
ModulePath  "/etc/X11/modules"
ModulePath  "/usr/lib/xorg/modules"
FontPath"TCP/192.168.10.1:7100"
FontPath"/usr/share/fonts/misc/:unscaled"
FontPath"/usr/share/fonts/75dpi/:unscaled"
FontPath"/usr/share/fonts/100dpi/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/*/"
EndSection

Section "ServerFlags"
Option  "AllowMouseOpenFail"
Option  "blank time""5"
Option  "standby time"  "10"
Option  "suspend time"  "15"
Option  "off time"  "20"
EndSection

Section "Module"
Load"dbe"
Load"extmod"
Load"type1"
Load"speedo"
Load"freetype"
Load"v4l"
Load"dri"
Load"glx"
EndSection

Section "InputDevice"
Identifier  "Keyboard1"
Driver  "keyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbLayout" "de"
Option  "XkbModel"  "pc105"
Option  "XkbVariant""nodeadkeys"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver  "mouse"
Option  "Protocol"  "imps/2"
Option  "Device""/dev/input/mice"
Option  "Emulate3Buttons"
Option  "ZAxisMapping"  "4 5"
Option  "Buttons"   "3"
EndSection

Section "Monitor"
Identifier "Default"
ModelName   "MODEL"
Option  "CalcAlgorithm" "CheckDesktopGeometry"
HorizSync   30-81
VertRefresh 56-75
Option  "DPMS"  "true"
EndSection

Section "Screen"
Identifier  "Screen 1"
Device  "StdGraphics"
Monitor "Default"
DefaultColorDepth 24
SubSection "Display"
Depth15
Modes   "1440x1440" "1280x1024" "1280x960" "1152x864" 
"1024x768" "832x624" "800x600" "640x480" "720x400" "410x257"
EndSubSection
SubSection "Display"
Depth16
Modes   "1440x1440" "1280x1024" "1280x960" "1152x864" 
"1024x768" "832x624" "800x600" "640x480" "720x400" "410x257"
EndSubSection
SubSection "Display"
Depth24
Modes   "1440x1440" "1280x1024" "1280x960" "1152x864" 
"1024x768" "832x624" "800x600" "640x480" "720x400" "410x257"
EndSubSection
EndSection

Section "Device"
Identifier  "StdGraphics"
VendorName  "Advanced Micro Devices [AMD] Geode LX Video"
Driver  "vesa"
EndSection

Section "ServerLayout"
Identifier  "Simple Layout"
Screen  "Screen 1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1""CorePointer"
Option  "BlankTime" "5"
Option  "StandbyTime"   "10"
Option  "SuspendTime"   "20"
Option  "OffTime"   "30"
EndSection

Section "DRI"
Group   "video"
Mode0666
EndSection


thx
Ekkard 
--
liburg.com - linux and more



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100413214921.gb5...@rex4



Re: XDMCP in GDM Not Working

2010-02-26 Thread Scarletdown
On Thu, Feb 25, 2010 at 5:45 PM, Rob Owens  wrote:

> On Wed, Feb 24, 2010 at 01:12:48AM -0800, Scarletdown wrote:
> > I have GDM XDMCP enabled.  However, when I select on the GDM screen to
> login
> > to a remote system via XDMCP, the system scans the netowrk and then
> returns
> > a claim of No Serving Hosts Were Found.
> >
> > I know this is wrong, because another box on my network is also XDMCP
> > enabled, and its GDM chooser is only showing itself as an available host.
> >
> > Both systems are running Debian Unstable.  The one that can at least see
> > itself is running an older version of GDM (I have no idea what version).
> > The other one that sees nothing on the network is running whatever the
> > latest GDM in the Debian repositories is.
>
> Did you restart GDM after enabling XDMCP?  I think that's required, but
> I'm not positive.
>
> -Rob
>

Yes, GDM was restarted several times (including via reboot just for the
helluvit.)


Re: XDMCP in GDM Not Working

2010-02-25 Thread Rob Owens
On Wed, Feb 24, 2010 at 01:12:48AM -0800, Scarletdown wrote:
> I have GDM XDMCP enabled.  However, when I select on the GDM screen to login
> to a remote system via XDMCP, the system scans the netowrk and then returns
> a claim of No Serving Hosts Were Found.
> 
> I know this is wrong, because another box on my network is also XDMCP
> enabled, and its GDM chooser is only showing itself as an available host.
> 
> Both systems are running Debian Unstable.  The one that can at least see
> itself is running an older version of GDM (I have no idea what version).
> The other one that sees nothing on the network is running whatever the
> latest GDM in the Debian repositories is.

Did you restart GDM after enabling XDMCP?  I think that's required, but
I'm not positive.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100226014531.gh25...@aurora.owens.net



XDMCP in GDM Not Working

2010-02-24 Thread Scarletdown
I have GDM XDMCP enabled.  However, when I select on the GDM screen to login
to a remote system via XDMCP, the system scans the netowrk and then returns
a claim of No Serving Hosts Were Found.

I know this is wrong, because another box on my network is also XDMCP
enabled, and its GDM chooser is only showing itself as an available host.

Both systems are running Debian Unstable.  The one that can at least see
itself is running an older version of GDM (I have no idea what version).
The other one that sees nothing on the network is running whatever the
latest GDM in the Debian repositories is.


Re: XDMCP build

2009-12-17 Thread Liam O'Toole
On 2009-12-17, Jamie White  wrote:
> Hi
>
> Does anyone know a quick way I could a computer running a Linux build
> solely for the purpose of XDMCP?
>
>

Do a minimal install, then install xorg. Then you start the X server using the
command 'X -query '.

-- 
Liam O'Toole
Birmingham, United Kingdom



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



XDMCP build

2009-12-17 Thread Jamie White
Hi

Does anyone know a quick way I could a computer running a Linux build
solely for the purpose of XDMCP?


-- 
Jamie


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: GTK apps over XDMCP - Anyone else find lists slow?

2009-05-25 Thread Seb James
On Sat, 2009-05-23 at 21:40 +0100, Seb James wrote:
> Hi List,
> 
> I'm having trouble with GTK lists (for example a list of emails in
> evolution) being very slow to scroll in Debian Lenny when using a remote
> login via XDMCP. Scrolling is fine when using a local session.
> 
> Has anyone else noticed this issue? I've tried a couple of different
> client computers (one Nvidia, one ATI, both with RENDER extension) and
> compared a couple of different installs of Debian Lenny with Ubuntu 8.04
> and Debian Etch. GTK lists really do seem to be slow in Lenny. Comments?
> 
> Seb James
> 

The problem I am experiencing is Bug 487635:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487635

It's an Xlib/libxcb problem, not a GTK problem, though it doesn't seem
to show up for KDE apps.

I've applied a fix submitted to Ubuntu by Stephane Graber (I think he's
one of the LTSP guys).

best,

Seb James




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



GTK apps over XDMCP - Anyone else find lists slow?

2009-05-23 Thread Seb James
Hi List,

I'm having trouble with GTK lists (for example a list of emails in
evolution) being very slow to scroll in Debian Lenny when using a remote
login via XDMCP. Scrolling is fine when using a local session.

Has anyone else noticed this issue? I've tried a couple of different
client computers (one Nvidia, one ATI, both with RENDER extension) and
compared a couple of different installs of Debian Lenny with Ubuntu 8.04
and Debian Etch. GTK lists really do seem to be slow in Lenny. Comments?

Seb James




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Gnome/GTK programs slow over XDMCP in Lenny

2009-05-22 Thread Seb James
Hi List,

I've been using Debian Etch happily since about October 2007. It's a
great, stable environment for the development work I do.

After some testing in a virtual machine and on a couple of spare boxes,
I decided to move from Etch to Lenny. Unfortunately, I didn't pay enough
attention to the speed of Evolution and other GTK programs during my
testing.

The problem is that I use XDMCP to connect to the server on which my
Debian system is running. It seems that GTK programs in Lenny run rather
badly. The particular problem seems to be scrolling GTK lists, which is
very sluggish (unusably so). I use Evolution as my mail client and
scrolling big lists is a major feature of my usage pattern. Scrolling
OpenOffice is also a problem (this goes away if I open OpenOffice in
KDE).

I'm connecting from a Debian 5 computer running an X server to my Debian
5 server. I also tried connecting to a fresh (i.e. not upgraded from
Etch) Debian 5 installation running in a virtual machine and
demonstrated the same problem.

If I connect to an Ubuntu 8.04 virtual machine, performance scrolling
GTK lists in Evolution is faster than when connecting to the Lenny OSes
and quite acceptable. Ubuntu 8.04 has very similar Evolution/Gnome
versions to Debian Lenny, though I believe they are slightly different.

So, has anyone else experienced this problem?

Does anyone have a workaround?

very best regards,

Seb James

(note - I DO have the RENDER extension on the PC at which I am sitting)




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: [gdm-list] connection failed to via xdmcp

2009-04-01 Thread Brian Cameron


Abdelkader:


I ve tried to connect to server via XDMCP, (I am using debian lenny with
gnome). Following the doc I ve just to enable in gdm.conf , [XDMCP]
section, Enable=true. On some machines it ran, on other it didn't ???


If you edit the configuration file by hand, you may need to reboot or
restart GDM for the configuration changes to take effect.  I'd check
that first.  You can also turn on enable=true in the [debug] section,
restart GDM, and then recreate the problem.  Your syslog file
(/var/log/messages or /var/adm/messages) should then contain a lot of
debug information about what happened, and would be useful to share.

Note that you need to enable XDMCP on the machine you plan to connect
to, you do not need to enable XDMCP on the client machines.  Enabling
XDMCP on a client machine does not allow you to log into a machine
that doesn't have XDMCP turned on, in other words.

I don't know about the gnome-keyring PAM module, or if that is a
problem to have missing.

Brian


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




connection failed to via xdmcp

2009-04-01 Thread Abdelkader Belahcene
Hi,
I ve tried to connect to server via XDMCP, (I am using debian lenny with
gnome). Following the doc I ve just to enable in gdm.conf , [XDMCP]
section, Enable=true. On some machines it ran, on other it didn't ???

When I ran on distant client xdmcp chooser, the server didn't appear,  I
enter manually the address, I tried to log, but it failed (the screen
became blank and frozen). I suppose it tried to connect in vain.

Finaly I discover, may be, this  is the error, in  /var/log/auth.log the
following

Apr  1 18:06:48 localhost gdm[3904]: PAM unable to
dlopen(/lib/security/pam_gnome_keyring.so):
/lib/security/pam_gnome_keyring.so: cannot open shared object file: No
such file or directory


It seems strange for me, I install in the same way the system ??   I
didn't install amnually anything about PAM, on any machine!!!

  how to correct it? 
how to install the missed lib, pam_gnome_keyring.so

thanks for help
bela



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: xdmcp remote login, can log in to the server from one computer but not another

2009-01-22 Thread Mike Bishop
On Thu, Jan 22, 2009 at 06:48:37PM +0200, Micha Feigin wrote:
> I'm trying to setup xdmcp login on one of my servers.
> 
> This server has two network interfaces (actually 4, but two active).
> 
> I'm trying to log in to X using xdmcp (enabled via gdm config) from two
> clients, one connected directly via gigabit ethernet and the other over 100mb
> network via an intermidiate switch.
> 
> The setup:
> 
> client one <--- (network) ---> server <--- (direct) ---> client two
> 132.66.40.189   132.66.41.26/192.168.1.1 192.168.1.2
> 
> client two connects with no problem. Client one sees the correct details for
> the sever once it's given the address but hangs on connect (all I see is the
> gray screen and the mouse cursor, nothing comes up)
> 
> The server is running gdm with xdmcp enabled, no firewall at the moment.
> 

I could be completely wrong, but I have not managed to get gdm to
support xdmcp logins for about a year now.  Symptoms are as you
described, on Suse11 and Ubuntu8.?? systems.  Some discussion of the
problem on various forums, but no fix that I can see.  Gdm worked on
earlier versions of the same distro's.

I end up having to use kdm, which works.

Rgds,
--
Mike Bishop 
Willow, Alaska


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



xdmcp remote login, can log in to the server from one computer but not another

2009-01-22 Thread Micha Feigin
I'm trying to setup xdmcp login on one of my servers.

This server has two network interfaces (actually 4, but two active).

I'm trying to log in to X using xdmcp (enabled via gdm config) from two
clients, one connected directly via gigabit ethernet and the other over 100mb
network via an intermidiate switch.

The setup:

client one <--- (network) ---> server <--- (direct) ---> client two
132.66.40.189   132.66.41.26/192.168.1.1 192.168.1.2

client two connects with no problem. Client one sees the correct details for
the sever once it's given the address but hangs on connect (all I see is the
gray screen and the mouse cursor, nothing comes up)

The server is running gdm with xdmcp enabled, no firewall at the moment.

Any ideas?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



allowing remote xdmcp logins

2009-01-07 Thread Micha Feigin
I tried to enable remote logins into gdm on my work computer. Seems to work
(set 
[security]
DisallowTCP=false
[xdmcp]
Enable=true)

gdm looks to be listening on port 177 and trying to do a remote login shows the
system description. The problem is that when I actually try to connect all I
get is the gray cris/cross screen with an watch icon but no actual login
option.

What am I missing? (I set to show choose remotely instead of the full fledged
login screen)

thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: XDMCP Capable Login Managers

2008-08-30 Thread Tzafrir Cohen
On Sat, Aug 30, 2008 at 07:08:20PM -0700, Scarletdown wrote:
> Other than GDM and KDM, are there any other graphical login managers
> that allow a client to login to a remote machine via XDMCP?  I was
> hoping that WDM (Wings Display Manager) could do this, but I have not
> seen any option on the login screen to connect to a remote machine.

WDM is based on XDM, which does have xdmcp capabilities.
That said, I find both to be very frustrating and feature-poor.

> 
> I have a really lean old Toshiba laptop that I am wanting to put a very
> minimal Debian installation on and essentially run it as a thin client
> connected to a more hefty system.  GDM is too resource intensive (I
> think) for this old laptop, unless there is a way to get GDM without all
> the additional GNOME baggage that normally goes with it.

gdm's GUI is only used before you login. Its daemon is not that resource
intensive.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



XDMCP Capable Login Managers

2008-08-30 Thread Scarletdown
Other than GDM and KDM, are there any other graphical login managers
that allow a client to login to a remote machine via XDMCP?  I was
hoping that WDM (Wings Display Manager) could do this, but I have not
seen any option on the login screen to connect to a remote machine.

I have a really lean old Toshiba laptop that I am wanting to put a very
minimal Debian installation on and essentially run it as a thin client
connected to a more hefty system.  GDM is too resource intensive (I
think) for this old laptop, unless there is a way to get GDM without all
the additional GNOME baggage that normally goes with it.

I like WDM, but there does not seem to be an option to configure it for
remote connections.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Xdmcp on light client

2008-05-13 Thread abelahcene

Hi,
I want to log from light client (diskless terminals),
on one machine , simple PC the connexion is Ok, I received the gdm login,
on
another machine server , the connexion is possible from a PC but not 
from light client, it just blinking.

May be a gdm problem, version 2.16, gnome-core 2.14;
thanks a lot
bela


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: KDM XDMCP error

2008-04-01 Thread Dominique Dumont
Towncat <[EMAIL PROTECTED]> writes:

> I have two lenny boxes, and I want to login to an X session on one of
> them from the other using XDMCP. If I run KDM on the remote machine
> and try to log in, KDM just restarts. If I run XDM on the same
> machine, I can login in through XDMCP. I can also log in with KDM
> locally on the remote machine. Where should I start tracing the
> problem?

May be check /var/log/kdm.log ...

HTH

-- 
Dominique Dumont 
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: KDM XDMCP error

2008-03-28 Thread Towncat
On márc. 27, 13:50, Towncat <[EMAIL PROTECTED]> wrote:
> I have two lenny boxes, and I want to login to an X session on one of
> them from the other usingXDMCP. If I runKDMon the remote machine
> and try to log in,KDMjust restarts. If I run XDM on the same
> machine, I can login in throughXDMCP. I can also log in withKDM
> locally on the remote machine. Where should I start tracing the
> problem?
>
> Thanks:
>  tc
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

One thing to add: xdmcp seems to work OK, as I can see the login
window of KDM remotely. It only restarts when I press login. Also, KDM
in itself seems to be OK, as I can login locally. The combination of
the two seems not to work.

Anyone seen this error or have a hint?

Thanks:
  tc.



KDM XDMCP error

2008-03-27 Thread Towncat
I have two lenny boxes, and I want to login to an X session on one of
them from the other using XDMCP. If I run KDM on the remote machine
and try to log in, KDM just restarts. If I run XDM on the same
machine, I can login in through XDMCP. I can also log in with KDM
locally on the remote machine. Where should I start tracing the
problem?

Thanks:
 tc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XDMCP question

2007-12-27 Thread Raj Kiran Grandhi

Hüvely Balázs wrote:

Hi All!

I have a problem with XDMCP. It's works fine, i can connect it to XDMCP 
remote server, but i cannot disconnect from the session...

I only able to log out, and re-login.

How can I make detachable XDMCP sessions like in windows remote desktop.

I do not think that is possible.

Another example that i created VNC server, it's also works fine, but i 
need to login to gdm, and after i'm able to connect to it via the internet.
The only problem is:  after I restart the server, i cannot connect to 
it, because vnc don't accept connections until I re login locally...

how can I make working vnc, to handle login and logout too?


Add the commands to start the vncserver to /etc/rc.local so that it will 
be started when the system starts.


I think the most secure way to start gui applications on the remote host 
is through ssh. Use "ssh -X " to enable X11 forwarding.


--
Raj Kiran


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




XDMCP question

2007-12-27 Thread Hüvely Balázs

Hi All!

I have a problem with XDMCP. It's works fine, i can connect it to XDMCP 
remote server, but i cannot disconnect from the session...

I only able to log out, and re-login.

How can I make detachable XDMCP sessions like in windows remote desktop.

I'm a beginner linux user, so please discuss it step by step, and i may 
learn.


Another example that i created VNC server, it's also works fine, but i 
need to login to gdm, and after i'm able to connect to it via the internet.
The only problem is:  after I restart the server, i cannot connect to 
it, because vnc don't accept connections until I re login locally...

how can I make working vnc, to handle login and logout too?

Any help will be useful, cheers: Balazs Huvely


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: XDMCP

2007-04-29 Thread Matthew K Poer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Brockway wrote:
> On Sun, 29 Apr 2007, Daniel D Jones wrote:
> 
>>> One more thing:  There is a reported but unfixded bug in kdm in
>>> Debian/Ubuntu going back a long way which is causing some xdmcp
>>> configurations to fail when they really are ok.  If you look in your
>>> logs
>>> you'll see reports of kdm_greet getting memory corruption if you are
>>> getting this problem.  As a result of this problem I recently migrated a
>>> bunch of thin client servers to use gdm instead of kdm.
>>
>> You didn't specify which log but I didn't find any such errors in either
>> kdm.log or Xorg.0.log, nor did I find any other related errors in the
>> log.
>> Maybe I'll try switching to xdm just to see.
> 
> It depends on how you have syslog configured.  I recommend running a
> debug log to catch all the info.  You can grep for the following error
> coming from kdm_greet:
> 
> "Internal error: memory corruption detected"
> 
> Cheers,
> 
> Rob
> 
I will just input that I was having a big issue with KDM and XDMCP with
Etch a few days ago. The solution I found was to switch the host (X
Client, the one doing the work) to GDM instead of KDM. Then it just sort
of worked. I still do not know why KDM didn't.

The X Server runs KDM and connects to the GDM X Client (XDMCP Server?)
just fine.

- --
Please do not use HTML mail for fully-textual messages.
Matthew K Poer <[EMAIL PROTECTED]>
Location: GA, USA  Web: http://matthewpoer.freehostia.com
GnuPG Public Key: 4DD0A9A6 Keyserver: subkeys.pgp.net
Thinkpad 600: Debian Sarge Sony VAIO PCV-RS 520: Debian Etch
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with MultiZilla - http://enigmail.mozdev.org

iD8DBQFGNUb9kRdiiE3QqaYRAk9YAJ0f6fKFM6gUtY783PtPUH6NAc1/HACfeNta
Aie/0IXhBcMkMqdZEaTYbEU=
=u/sO
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XDMCP

2007-04-29 Thread Robert Brockway

On Sun, 29 Apr 2007, Daniel D Jones wrote:


One more thing:  There is a reported but unfixded bug in kdm in
Debian/Ubuntu going back a long way which is causing some xdmcp
configurations to fail when they really are ok.  If you look in your logs
you'll see reports of kdm_greet getting memory corruption if you are
getting this problem.  As a result of this problem I recently migrated a
bunch of thin client servers to use gdm instead of kdm.


You didn't specify which log but I didn't find any such errors in either
kdm.log or Xorg.0.log, nor did I find any other related errors in the log.
Maybe I'll try switching to xdm just to see.


It depends on how you have syslog configured.  I recommend running a debug 
log to catch all the info.  You can grep for the following error coming 
from kdm_greet:


"Internal error: memory corruption detected"

Cheers,

Rob

--
Robert Brockway B.Sc.Phone:  +1-905-821-2327
Senior Technical Consultant  Urgent Support: +1-416-669-3073
OpenTrend Solutions Ltd  Email:  [EMAIL PROTECTED]
 Web:www.opentrend.net
Contributing Member of Software in the Public Interest


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: XDMCP

2007-04-29 Thread Daniel D Jones
On Saturday 28 April 2007 15:23, Robert Brockway wrote:

Thanks for the response.

> On Sat, 28 Apr 2007, Daniel D Jones wrote:
> > Running unstable.  Trying to get XDMCP working via KDM.  On the local
> > host, everything works.  KDM gives me a graphical login prompt, and KDE
> > loads when I log in.  From a remote machine, however, I get what appears
> > to be a pure X session with no Windows manager running.  I get the hollow
> > X cursor, and am able to move it with the mouse.  However, neither left
> > nor right clicks do any thing - no menu or anything.  Clicking and
> > dragging doesn't generate a dotted outline selection.  No key presses
> > appear to do anything.  Not sure where to go from here.  Hints and
> > suggestions welcome.
>
> Checkout /etc/kde3/kdem/Xaccess to see what sorts of xdmcp access you
> are allowing.  At the least you want to offer:
>
>
> *   #any host can get a login window
>
> You may also want to allow:
>
>
> *   CHOOSER BROADCAST   #any indirect host can get a
> chooser

[EMAIL PROTECTED]:/etc/kde3/kdm# cat Xaccess | grep ^[^#]
*   #any host can get a login window
*   CHOOSER BROADCAST   #any indirect host can get a chooser

> Also you need to enable xdmcp in kdmrc:
>
> # Whether KDM should listen to incoming XDMCP requests.
> # Default is true
> Enable=true

[EMAIL PROTECTED]:/etc/kde3/kdm# cat kdmrc | grep ^[^#]
[General]
ConfigVersion=2.3
StaticServers=:0
ReserveServers=:1,:2,:3
ServerVTs=-7
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
PidFile=/var/run/kdm.pid
[Xdmcp]
Enable=true
Willing=/etc/kde3/kdm/Xwilling
[Shutdown]
[X-*-Core]
Setup=/etc/kde3/kdm/Xsetup
Startup=/etc/kde3/kdm/Xstartup
Reset=/etc/kde3/kdm/Xreset
Session=/etc/kde3/kdm/Xsession
AllowRootLogin=false
AllowNullPasswd=false
AllowShutdown=Root
ClientLogFile=.xsession-errors-%s
[X-*-Greeter]
LogoArea=Logo
LogoPixmap=/usr/share/apps/kdm/pics/kdelogo.png
AntiAliasing=true
MinShowUID=1000
MaxShowUID=2
Preloader=/usr/bin/preloadkde
Theme=@@@ToBeReplacedByDesktopBase@@@
[X-:*-Core]
ServerCmd=/usr/bin/X -br
ServerArgsLocal=-nolisten tcp
AllowNullPasswd=true
AllowShutdown=All
[X-:*-Greeter]
PreselectUser=Previous
FocusPasswd=true
LoginMode=DefaultLocal
AllowClose=true
[X-:0-Core]
ClientLogFile=.xsession-errors
[X-:0-Greeter]


> Restart kdm at this point.

I verified the settings you mentioned, and all were correct.  I restarted kdm 
just to ensure that I hadn't neglected to restart it after changing one of 
the above when I was doing the initial configuration.  No change.

> Make sure you backup kdmrc before making any changes so you can rollback
> if you break it.
>
> One more thing:  There is a reported but unfixded bug in kdm in
> Debian/Ubuntu going back a long way which is causing some xdmcp
> configurations to fail when they really are ok.  If you look in your logs
> you'll see reports of kdm_greet getting memory corruption if you are
> getting this problem.  As a result of this problem I recently migrated a
> bunch of thin client servers to use gdm instead of kdm.

You didn't specify which log but I didn't find any such errors in either 
kdm.log or Xorg.0.log, nor did I find any other related errors in the log.  
Maybe I'll try switching to xdm just to see.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XDMCP

2007-04-28 Thread Robert Brockway

On Sat, 28 Apr 2007, Daniel D Jones wrote:


Running unstable.  Trying to get XDMCP working via KDM.  On the local host,
everything works.  KDM gives me a graphical login prompt, and KDE loads when
I log in.  From a remote machine, however, I get what appears to be a pure X
session with no Windows manager running.  I get the hollow X cursor, and am
able to move it with the mouse.  However, neither left nor right clicks do
any thing - no menu or anything.  Clicking and dragging doesn't generate a
dotted outline selection.  No key presses appear to do anything.  Not sure
where to go from here.  Hints and suggestions welcome.


Checkout /etc/kde3/kdem/Xaccess to see what sorts of xdmcp access you 
are allowing.  At the least you want to offer:



*   #any host can get a login window

You may also want to allow:


*   CHOOSER BROADCAST   #any indirect host can get a chooser

Also you need to enable xdmcp in kdmrc:

# Whether KDM should listen to incoming XDMCP requests.
# Default is true
Enable=true

Restart kdm at this point.

Make sure you backup kdmrc before making any changes so you can rollback 
if you break it.


One more thing:  There is a reported but unfixded bug in kdm in 
Debian/Ubuntu going back a long way which is causing some xdmcp 
configurations to fail when they really are ok.  If you look in your logs 
you'll see reports of kdm_greet getting memory corruption if you are 
getting this problem.  As a result of this problem I recently migrated a 
bunch of thin client servers to use gdm instead of kdm.


Cheers,

Rob

--
Robert Brockway B.Sc.Phone:  +1-905-821-2327
Senior Technical Consultant  Urgent Support: +1-416-669-3073
OpenTrend Solutions Ltd  Email:  [EMAIL PROTECTED]
 Web:www.opentrend.net
Contributing Member of Software in the Public Interest


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




XDMCP

2007-04-28 Thread Daniel D Jones
Running unstable.  Trying to get XDMCP working via KDM.  On the local host, 
everything works.  KDM gives me a graphical login prompt, and KDE loads when 
I log in.  From a remote machine, however, I get what appears to be a pure X 
session with no Windows manager running.  I get the hollow X cursor, and am 
able to move it with the mouse.  However, neither left nor right clicks do 
any thing - no menu or anything.  Clicking and dragging doesn't generate a 
dotted outline selection.  No key presses appear to do anything.  Not sure 
where to go from here.  Hints and suggestions welcome.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help in understanding XDMCP required

2006-07-31 Thread E Frank Ball
On Mon, Jul 31, 2006 at 09:42:45AM +0100, Liam O'Toole wrote:
> I suggest you remove the line which loads the vnc module and try again.
> 
> A potential 'gotcha' is that, depending on the contents of the file
> ~/.vnc/xstartup, the VNC server might launch the same window manager
> that your display manager does. So if you are logged on to your
> workstation via your display manager you will end up with two copies
> running. Some window managers and desktop environments don't like that.
> 
> You can eliminate both of the above problems by quitting X entirely on
> your workstation and launching VNC from a virtual console. This would
> represent the simplest test case.


Or use x11vnc instead of vncserver to connect to the
orgional X11 session.

-- 

  Frank Ball  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help in understanding XDMCP required

2006-07-31 Thread CJ van den Berg
On Sat, Jul 29, 2006 at 08:34:09PM +0100, Alan Chandler wrote:
> I have been able, with a second ssh hop onto my workstation from the server 
> (also forwarding X) to run individual X based applications so that the 
> display is on the laptop, but I can't figure out how to get it to operate so 
> the whole desktop gets displayed there.  Is it possible? and if so How

If you've ssh'd in with X forwarding (-X) and you can run individual X
client apps you're already 99% of the way there. All you need to do to run a
full kde session is run "startkde". (or gnome-session for a gnome session)

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Help in understanding XDMCP required

2006-07-31 Thread Liam O'Toole
On Mon, 31 Jul 2006 07:41:03 +0100
Alan Chandler <[EMAIL PROTECTED]> wrote:

> On Sunday 30 July 2006 08:54, Liam O'Toole wrote:

[...]

> > I second the proposal that a solution based on VNC is your best
> > bet. It should even be possible to run a VNC viewer on your laptop
> > and connect to your workstation in one hop:
> >
> > ssh -L 5901:workstation:5901 server
> >
> > Then you would connect the viewer to localhost:1. This would remove
> > the need for X forwarding, and is usually faster too.
> 
> I think there is some subtlety here that I don't fully understand.  I
> tried what I thought was the right software (Debian package
> vnc4server)

That's what I use.

> and added the module vnc into my xorg,conf file.

I don't have that. IIRC, that module is for inter-process communication
between a VNC server and a 'normal' X server. (VNC has its own, built-in
X server which doesn't require the latter.)

> 
> I then downloaded a windows viewer from realvnc,com and tried to
> connect.  It ended up locking up my x configuration on the
> workstation (where the vnc server was running) such that I had to
> reboot.  It did that twice before I gave up
> 

I suggest you remove the line which loads the vnc module and try again.

A potential 'gotcha' is that, depending on the contents of the file
~/.vnc/xstartup, the VNC server might launch the same window manager
that your display manager does. So if you are logged on to your
workstation via your display manager you will end up with two copies
running. Some window managers and desktop environments don't like that.

You can eliminate both of the above problems by quitting X entirely on
your workstation and launching VNC from a virtual console. This would
represent the simplest test case.

-- 

Liam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help in understanding XDMCP required

2006-07-30 Thread Alan Chandler
On Sunday 30 July 2006 08:54, Liam O'Toole wrote:
> On Sat, 29 Jul 2006 20:41:28 -0500
>
> Bob Smither <[EMAIL PROTECTED]> wrote:
> > On Sat, 2006-07-29 at 20:34 +0100, Alan Chandler wrote:
>
> [...]
>
> > > I have been able, with a second ssh hop onto my workstation from
> > > the server (also forwarding X) to run individual X based
> > > applications so that the display is on the laptop, but I can't
> > > figure out how to get it to operate so the whole desktop gets
> > > displayed there.  Is it possible? and if so How
> >
> > Not directly responsive, I know, but you could certainly run a VNC
> > server on the workstation (serving up a complete desktop) and then ssh
> > to your firewall (with X forwarding) and run VNCviewer there to
> > display your complete desktop session back to your laptop.  A little
> > indirect, but it does work.
> >
> > HTH,
>
> I second the proposal that a solution based on VNC is your best bet. It
> should even be possible to run a VNC viewer on your laptop and connect
> to your workstation in one hop:
>
> ssh -L 5901:workstation:5901 server
>
> Then you would connect the viewer to localhost:1. This would remove the
> need for X forwarding, and is usually faster too.

I think there is some subtlety here that I don't fully understand.  I tried 
what I thought was the right software (Debian package vnc4server) and added 
the module vnc into my xorg,conf file.

I then downloaded a windows viewer from realvnc,com and tried to connect.  It 
ended up locking up my x configuration on the workstation (where the vnc 
server was running) such that I had to reboot.  It did that twice before I 
gave up



-- 
Alan Chandler
http://www.chandlerfamily.org.uk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help in understanding XDMCP required

2006-07-30 Thread Liam O'Toole
On Sat, 29 Jul 2006 20:41:28 -0500
Bob Smither <[EMAIL PROTECTED]> wrote:

> On Sat, 2006-07-29 at 20:34 +0100, Alan Chandler wrote:

[...]

> > 
> > I have been able, with a second ssh hop onto my workstation from
> > the server (also forwarding X) to run individual X based
> > applications so that the display is on the laptop, but I can't
> > figure out how to get it to operate so the whole desktop gets
> > displayed there.  Is it possible? and if so How
> 
> Not directly responsive, I know, but you could certainly run a VNC
> server on the workstation (serving up a complete desktop) and then ssh
> to your firewall (with X forwarding) and run VNCviewer there to
> display your complete desktop session back to your laptop.  A little
> indirect, but it does work.
> 
> HTH,
> 

I second the proposal that a solution based on VNC is your best bet. It
should even be possible to run a VNC viewer on your laptop and connect
to your workstation in one hop:

ssh -L 5901:workstation:5901 server

Then you would connect the viewer to localhost:1. This would remove the
need for X forwarding, and is usually faster too.

-- 

Liam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help in understanding XDMCP required

2006-07-29 Thread Bob Smither
On Sat, 2006-07-29 at 20:34 +0100, Alan Chandler wrote:
> In my house, I have two linux machines, both running debian.
> 
> One, a server, acts as the firewall /gateway between my internal network and 
> the external internet and runs sshd.  I have a logon account on this machine.
> 
> The other is my workstation, and runs KDM to allow me to logon and run KDE.
> 
> I also have a (work provided) laptop running Windows XP, onto which I have 
> installed Putty and Gygwin/X.
> 
> When this laptop is on my home network, I can run up a remote session into 
> the 
> KDM logon using XDMCP, and effectively log into my workstation from the 
> laptop.
> 
> When I am outside my house, this is not possible directly, because of the 
> firewall.  I do have an open port, which allows me to SSH (using Putty) from 
> my laptop into my logon account on the server, and I do have X-Forwarding 
> enabled in the sshd on my server machine.  
> 
> I have been able, with a second ssh hop onto my workstation from the server 
> (also forwarding X) to run individual X based applications so that the 
> display is on the laptop, but I can't figure out how to get it to operate so 
> the whole desktop gets displayed there.  Is it possible? and if so How

Not directly responsive, I know, but you could certainly run a VNC
server on the workstation (serving up a complete desktop) and then ssh
to your firewall (with X forwarding) and run VNCviewer there to display
your complete desktop session back to your laptop.  A little indirect,
but it does work.

HTH,

-- 
Bob Smither, PhD   Circuit Concepts, Inc.
=
 "... if we further emasculate our Constitution the terrorists will have
 achieved the greatest victory imaginable. Their triumph won't just be the
 thousands of people they killed, the triumph will be if they see our
 democratic institutions crumble."
   -- Paul Weyrich, Free Congress Foundation
=
[EMAIL PROTECTED]  http://www.C-C-I.Com  281-331-2744(office)  -4616(fax)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help in understanding XDMCP required (p.s.)

2006-07-29 Thread Digby Tarvin
Another fairly easy approach I forgot to mention would be VNC, but in that 
would involve opening the appropriate port on your router, and replacing
cygwin/X with a vncviewer on the laptop.

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help in understanding XDMCP required

2006-07-29 Thread Digby Tarvin
On Sat, Jul 29, 2006 at 08:34:09PM +0100, Alan Chandler wrote:
> In my house, I have two linux machines, both running debian.
> 
> One, a server, acts as the firewall /gateway between my internal network and 
> the external internet and runs sshd.  I have a logon account on this machine.
> 
> The other is my workstation, and runs KDM to allow me to logon and run KDE.
> 
> I also have a (work provided) laptop running Windows XP, onto which I have 
> installed Putty and Gygwin/X.
> 
> When this laptop is on my home network, I can run up a remote session into 
> the 
> KDM logon using XDMCP, and effectively log into my workstation from the 
> laptop.
> 
> When I am outside my house, this is not possible directly, because of the 
> firewall.  I do have an open port, which allows me to SSH (using Putty) from 
> my laptop into my logon account on the server, and I do have X-Forwarding 
> enabled in the sshd on my server machine.  
> 
> I have been able, with a second ssh hop onto my workstation from the server 
> (also forwarding X) to run individual X based applications so that the 
> display is on the laptop, but I can't figure out how to get it to operate so 
> the whole desktop gets displayed there.  Is it possible? and if so How

Sure it is possible, but probably unwise. Using XDMCP involves having
the X server (on your laptop) asking the asking a display manager (in this
case KDM) on the target host (your home workstation) to open and control the
remote server using the X protocol. So to work the way you were doing
from home would require opening up the xdmcp ports (177) on your router,
and letting the workstation connect to an external X server. If you
were using broadcast XDMCP requests, you will probably have to switch
to using a specific IP, as broadcasts don't generally work except on
a single LAN.

In any case, running raw X packets over the Internet is 
is generally insecure, ant not adviseable.

By displaying 'the whole desktop' I assume you mean having the window
manager running on your workstation, with the login environment as
configured there. You can probably do that via ssh with separate scripts to
perform the same environment initialization that you get when
logging in the the worstation using XDM. That would have the advantage
of keeping the traffic encrypted.

You might be able to fool KDM into managing the port forwarded display
after establishing your ssh connection - it depends on the capabilities
of you X server (I am not familiar with Windows apps like Gygwin/X).
It would involve establishing an ssh connection without having a window
manager already in control of your server, and adding the port forwarded
server to your local managed server list, as the XDMCP wouldn't work.

A neater way of being able to do exactly what you do from home would be
to establish a VPN connection from the laptop to your home LAN. It takes
a bit more configuration, but is secure and once done will give you the
same capabilities as when you are at home.

However I am no windows expert, so the only way I have done this when
someone has wanted to be able to use Windows at the remote end was to
use a router with the VPN code built in (in that case, a draytek).

Someone else can probably advise what software only options are available
for a windows platform.

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Help in understanding XDMCP required

2006-07-29 Thread Alan Chandler
In my house, I have two linux machines, both running debian.

One, a server, acts as the firewall /gateway between my internal network and 
the external internet and runs sshd.  I have a logon account on this machine.

The other is my workstation, and runs KDM to allow me to logon and run KDE.

I also have a (work provided) laptop running Windows XP, onto which I have 
installed Putty and Gygwin/X.

When this laptop is on my home network, I can run up a remote session into the 
KDM logon using XDMCP, and effectively log into my workstation from the 
laptop.

When I am outside my house, this is not possible directly, because of the 
firewall.  I do have an open port, which allows me to SSH (using Putty) from 
my laptop into my logon account on the server, and I do have X-Forwarding 
enabled in the sshd on my server machine.  

I have been able, with a second ssh hop onto my workstation from the server 
(also forwarding X) to run individual X based applications so that the 
display is on the laptop, but I can't figure out how to get it to operate so 
the whole desktop gets displayed there.  Is it possible? and if so How

-- 
Alan Chandler
http://www.chandlerfamily.org.uk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: enhancing xdmcp performance

2005-06-08 Thread Steve Lamb

Stephen Patterson wrote:

Either way (ssh or XDMCP) are much quicker than regular vnc.


As with all things, that depends.  GTK2 applications would kill XDMCP on 
my network (100mbit) so I switched to VNC and made sure to try each of the 
encodings.  Some of the encodings are slower over the network but one was 
faster than XDMCP on my GTK2 applications.  Of course not having VNC installed 
on this machine presently I couldn't tell ya which encoding it was other than 
not Tight.  :D


--
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
   PGP Key: 8B6E99C5   | main connection to the switchboard of souls.
---+-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: enhancing xdmcp performance

2005-06-08 Thread Stephen Patterson
On Tue, 07 Jun 2005 04:00:18 +0200, Cam wrote:
> XDMCP works surprising well, but it's still a little sluggish
> (especially when switching workspaces or alpha effects come into play
> (like w/ the download manager in firefox, or the logout screen in
> gnome).  I'm using a wireless network, which may be too slow... or
> would a faster network even do me any better?  I would like to have
> the client over the network work as much like using a real computer as
> possible.  from what i've read, it can be done.  anyone have any tips?
>  would using ssh w/ compression enabled have better performance than
> XDMCP?  also, is there any way to do media-intense apps (movie
> players, games, etc), over the network?

I've seen that ssh with X is much slower with the higher overhead (and
then extra load for encryption) XDMCP can handle videos in realtime on
a 100MBit network, though I've not tested full-screen and you'd then
need some way of pushing sound across the network.

Either way (ssh or XDMCP) are much quicker than regular vnc.

-- 
Stephen Patterson [EMAIL PROTECTED] http://patter.mine.nu/  
Linux Counter No: 142831 GPG Public key: E3E8E974
"Whoever said nothing is impossible never tried slamming a revolving door."
  -- Melissa O'Brien


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



enhancing xdmcp performance

2005-06-06 Thread Cam
XDMCP works surprising well, but it's still a little sluggish
(especially when switching workspaces or alpha effects come into play
(like w/ the download manager in firefox, or the logout screen in
gnome).  I'm using a wireless network, which may be too slow... or
would a faster network even do me any better?  I would like to have
the client over the network work as much like using a real computer as
possible.  from what i've read, it can be done.  anyone have any tips?
 would using ssh w/ compression enabled have better performance than
XDMCP?  also, is there any way to do media-intense apps (movie
players, games, etc), over the network?

Thanks,
Cameron Matheson



SOLVED__Re: XF86Config-4 and XDMCP

2005-01-02 Thread Ridge Chittenden

--- Darryl Clarke <[EMAIL PROTECTED]> wrote:

> On Sun, 2 Jan 2005 09:56:34 -0800 (PST), Ridge
> Chittenden
> <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > 
> > 
> > OK, but that's what I don't really understand.
> Which
> > machine is running X?
> > 
> > Machine A (adam) is running gdm. From machine B
> > (byron), I log on to adam's gdm screen, which is
> > delivered by XDMCP. When I log on to adam from
> byron,
> > I use an adam user account; the display is on
> byron.
> > (adam has no monitor, keyboard or mouse.)
> > 
> > Is it adam or byron that needs the XF86Config-4?
> If
> > adam, what sort of "monitor" settings should I
> use, as
> > two machines with different kinds of monitors log
> on
> > to adam over XDMCP?
> 
> "byron" is running X.   I believe if you edit
> /etc/gdm/gdm.conf you
> can make gdm not load a local (on adam) gui.
> 
> When you connect to a machine with gdm (or xdm or
> any other display
> manager) you are essentially logging onto that
> machine. It's like
> using SSH to log into a shell, only your machine
> running X (byron) has
> the capability to display graphics.  Any
> applications you run on adam
> (say Mozilla) will connect to $DISPLAY (it's an
> environment variable)
> in this case byron; and byron will display with the
> application on
> adam says to display.
> 

Thanks! For the record: Editing /etc/gdm/gdm.conf on
adam and commenting out all the server lines seems to
do the trick--no KDE, until I log in remotely.
rc



__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XF86Config-4 and XDMCP

2005-01-02 Thread Darryl Clarke
On Sun, 2 Jan 2005 09:56:34 -0800 (PST), Ridge Chittenden
<[EMAIL PROTECTED]> wrote:
> 
> 
> 
> 
> OK, but that's what I don't really understand. Which
> machine is running X?
> 
> Machine A (adam) is running gdm. From machine B
> (byron), I log on to adam's gdm screen, which is
> delivered by XDMCP. When I log on to adam from byron,
> I use an adam user account; the display is on byron.
> (adam has no monitor, keyboard or mouse.)
> 
> Is it adam or byron that needs the XF86Config-4? If
> adam, what sort of "monitor" settings should I use, as
> two machines with different kinds of monitors log on
> to adam over XDMCP?

"byron" is running X.   I believe if you edit /etc/gdm/gdm.conf you
can make gdm not load a local (on adam) gui.

When you connect to a machine with gdm (or xdm or any other display
manager) you are essentially logging onto that machine. It's like
using SSH to log into a shell, only your machine running X (byron) has
the capability to display graphics.  Any applications you run on adam
(say Mozilla) will connect to $DISPLAY (it's an environment variable)
in this case byron; and byron will display with the application on
adam says to display.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XF86Config-4 and XDMCP

2005-01-02 Thread Ridge Chittenden

--- Frank Gevaerts <[EMAIL PROTECTED]> wrote:

> On Sat, Jan 01, 2005 at 04:17:38PM -0800, Ridge
> Chittenden wrote:
> > Hi all,
> > 
> > (Another question, new thread Appreciate all
> the
> > help as I try to understand Debian and Linux.)
> > 
> > I have a machine running Debian Woody that's being
> > used as a server--no keyboard, no mouse, no
> monitor. I
> > have XDMCP set up so that I can log in to an X
> session
> > on the machine from another machine on my home
> > network.
> > 
> > The question: I want to slim down the machine as
> much
> > as I can (RAM is limited), and I don't want to
> load
> > stuff I don't have to. What do I really need in
> > XF86Config-4 for a machine that never has a local
> > display? Another way to put it is, does the video
> > card, monitor, mouse and keyboard information come
> > from the XF86Config-4 on the machine that's
> logging
> > in? Or the machine that's running X? 
> 
> The machine that's running X needs a normal full
> XF86Config-4, the
> machine serving XDMCP sessions does not need an
> XF86Config-4 file or an
> X server (package xserver-xfree86) at all.
> 
> Frank



OK, but that's what I don't really understand. Which
machine is running X? 

Machine A (adam) is running gdm. From machine B
(byron), I log on to adam's gdm screen, which is
delivered by XDMCP. When I log on to adam from byron,
I use an adam user account; the display is on byron.
(adam has no monitor, keyboard or mouse.)

Is it adam or byron that needs the XF86Config-4? If
adam, what sort of "monitor" settings should I use, as
two machines with different kinds of monitors log on
to adam over XDMCP?

Thanks.

rc 



__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XF86Config-4 and XDMCP

2005-01-01 Thread Frank Gevaerts
On Sat, Jan 01, 2005 at 04:17:38PM -0800, Ridge Chittenden wrote:
> Hi all,
> 
> (Another question, new thread Appreciate all the
> help as I try to understand Debian and Linux.)
> 
> I have a machine running Debian Woody that's being
> used as a server--no keyboard, no mouse, no monitor. I
> have XDMCP set up so that I can log in to an X session
> on the machine from another machine on my home
> network.
> 
> The question: I want to slim down the machine as much
> as I can (RAM is limited), and I don't want to load
> stuff I don't have to. What do I really need in
> XF86Config-4 for a machine that never has a local
> display? Another way to put it is, does the video
> card, monitor, mouse and keyboard information come
> from the XF86Config-4 on the machine that's logging
> in? Or the machine that's running X? 

The machine that's running X needs a normal full XF86Config-4, the
machine serving XDMCP sessions does not need an XF86Config-4 file or an
X server (package xserver-xfree86) at all.

Frank

> Perhaps most critically, do I need to have that i810
> section with the 8MB of video RAM borrowed from main
> memory?
> 
> Thanks,
> 
> rc
> 
> Here's XF86Config-4:
> 
> 
> ### BEGIN DEBCONF SECTION
> # XF86Config-4 (XFree86 server configuration file)
> generated by dexconf, the
> # Debian X Configuration tool, using values from the
> debconf database.
> #
> # Edit this file with caution, and see the
> XF86Config-4 manual page.
> # (Type "man XF86Config-4" at the shell prompt.)
> #
> # If you want your changes to this file preserved by
> dexconf, only make changes
> # before the "### BEGIN DEBCONF SECTION" line above,
> and/or after the
> # "### END DEBCONF SECTION" line below.
> #
> # To change things within the debconf section, run the
> command:
> #   dpkg-reconfigure xserver-xfree86
> # as root.  Also see "How do I add custom sections to
> a dexconf-generated
> # XF86Config or XF86Config-4 file?" in
> /usr/share/doc/xfree86-common/FAQ.gz.
> 
> Section "Files"
> FontPath"unix/:7100"  
>  # local font server
> # if the local font server has problems, we
> can fall back on these
> FontPath"/usr/lib/X11/fonts/misc"
> FontPath"/usr/lib/X11/fonts/cyrillic"
> FontPath   
> "/usr/lib/X11/fonts/100dpi/:unscaled"
> FontPath   
> "/usr/lib/X11/fonts/75dpi/:unscaled"
> FontPath"/usr/lib/X11/fonts/Type1"
> FontPath"/usr/lib/X11/fonts/Speedo"
> FontPath"/usr/lib/X11/fonts/100dpi"
> FontPath"/usr/lib/X11/fonts/75dpi"
> EndSection
> 
> Section "Module"
> Load"GLcore"
> Load"bitmap"
> Load"dbe"
> Load"ddc"
> Load"dri"
> Load"extmod"
> Load"freetype"
> Load"glx"
> Load"int10"
> Load"pex5"
> Load"record"
> Load"speedo"
> Load"type1"
> Load"vbe"
> Load"xie"
> EndSection
> 
> Section "InputDevice"
> Identifier  "Generic Keyboard"
> Driver  "keyboard"
> Option  "CoreKeyboard"
> Option  "XkbRules"  "xfree86"
> Option  "XkbModel"  "pc104"
> Option  "XkbLayout" "us"
> EndSection
> 
> Section "InputDevice"
> Identifier  "Configured Mouse"
> Driver  "mouse"
> Option  "CorePointer"
> Option  "Device"   
> "/dev/psaux"
> Option  "Protocol"  "PS/2"
> Option  "Emulate3Buttons"   "true"
> Option  "ZAxisMapping"  "4 5"
> EndSection
> 
> Section "InputDevice"
> Identifier  "Generic Mouse"
> Driver  "mouse"
> Option  "SendCoreEvents""true"
> Option  "Device"   
> "/dev/input/mice"
> Option  "

XF86Config-4 and XDMCP

2005-01-01 Thread Ridge Chittenden
Hi all,

(Another question, new thread Appreciate all the
help as I try to understand Debian and Linux.)

I have a machine running Debian Woody that's being
used as a server--no keyboard, no mouse, no monitor. I
have XDMCP set up so that I can log in to an X session
on the machine from another machine on my home
network.

The question: I want to slim down the machine as much
as I can (RAM is limited), and I don't want to load
stuff I don't have to. What do I really need in
XF86Config-4 for a machine that never has a local
display? Another way to put it is, does the video
card, monitor, mouse and keyboard information come
from the XF86Config-4 on the machine that's logging
in? Or the machine that's running X? 

Perhaps most critically, do I need to have that i810
section with the 8MB of video RAM borrowed from main
memory?

Thanks,

rc

Here's XF86Config-4:


### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file)
generated by dexconf, the
# Debian X Configuration tool, using values from the
debconf database.
#
# Edit this file with caution, and see the
XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by
dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above,
and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the
command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to
a dexconf-generated
# XF86Config or XF86Config-4 file?" in
/usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
FontPath"unix/:7100"  
 # local font server
# if the local font server has problems, we
can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath   
"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath   
"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"pex5"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
Load"xie"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device"   
"/dev/psaux"
Option  "Protocol"  "PS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device"   
"/dev/input/mice"
Option  "Protocol" 
"ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "Generic Video Card"
Driver  "i810"
VideoRam8192
Option  "UseFBDev"  "true"
EndSection

Section "Monitor"
Identifier  "Generic Monitor"
HorizSync   30-65
VertRefresh 50-120
Option  "DPMS"
EndSection


Section "Screen"
Identifier  "Default Screen"
Device  "Generic Video Card"
Monitor "Generic Monitor"
DefaultDept

Re: Gnome XDMCP on server

2004-09-13 Thread Rado Rethmann
On Sat, 11 Sep 2004 07:30:10 +0200, Paolo Alexis Falcone  
<[EMAIL PROTECTED]> wrote:


Is there a way to configure GDM or Xfree86 in any way not to search for  
a
mouse (that's the hanger I guess) ?
In /etc/X11/XF86Config-4:
Section "ServerFlags"
AllowMouseOpenFail
EndSection
That was the trick I was looking for, thx pal...
Rado
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Gnome XDMCP on server

2004-09-10 Thread Paolo Alexis Falcone
On Fri, 10 Sep 2004 17:37:17 +0200, Rado Rethmann
<[EMAIL PROTECTED]> wrote:
> Hi there,
> 
> I'm using cygwin-X on my WinXP-Box to access the Gnome-Desktop (2.6) on my
> Debian-Sarge-Server (Kernel 2.6.7) over XDMCP.
> My problem is that GDM has to be up and running to login via XDMCP (then
> it works perfectly well).
> But - as servers are - I don't have a mouse, keyboard or monitor connected
> to my server. So GDM crashes after some trying.
> Is there a way to configure GDM or Xfree86 in any way not to search for a
> mouse (that's the hanger I guess) ?

In /etc/X11/XF86Config-4:
Section "ServerFlags"
AllowMouseOpenFail 
EndSection

> Or - even better - is there a way to configure GDM for XDMCP not fireing
> up a local X-Server ?
> 
> I know there is a thing called X over SSH, but I have many problems to
> make it work (can't start Synaptic, always get memory errors, can start
> gnome-session but after that I can't start any prog from Gnome-desktop
> + many many more issues) and I want to use XDMCP in my personal network
> only.
I'm not sure about synaptic (does it have to be run as root? if so try
investigating xauth to go along), but normally if you've got a working
X-server on your local machine and you'd like to run an X-client
program from a remote machine you should be able to do so provided you
have appropriate permissions.


-- 
Paolo Alexis Falcone
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Gnome XDMCP on server

2004-09-10 Thread Rado Rethmann
Hi there,
I'm using cygwin-X on my WinXP-Box to access the Gnome-Desktop (2.6) on my  
Debian-Sarge-Server (Kernel 2.6.7) over XDMCP.
My problem is that GDM has to be up and running to login via XDMCP (then  
it works perfectly well).
But - as servers are - I don't have a mouse, keyboard or monitor connected  
to my server. So GDM crashes after some trying.
Is there a way to configure GDM or Xfree86 in any way not to search for a  
mouse (that's the hanger I guess) ?
Or - even better - is there a way to configure GDM for XDMCP not fireing  
up a local X-Server ?

I know there is a thing called X over SSH, but I have many problems to  
make it work (can't start Synaptic, always get memory errors, can start  
gnome-session but after that I can't start any prog from Gnome-desktop  
+ many many more issues) and I want to use XDMCP in my personal network  
only.

Any suggestions ?
Thank you, Rado
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: VNC's XDMCP requests now fail?

2004-09-05 Thread Jamin W. Collins
On Sun, Sep 05, 2004 at 02:45:10PM -0700, Marc Wilson wrote:
> On Sat, Sep 04, 2004 at 08:49:34PM -0600, Jamin W. Collins wrote:
> > Interesting, that was indeed it.  Once I added a -fp to the Xvnc
> > invocation, everything worked fine.  Strange that has never been needed
> > before.  Any idea what changed to make this a new requirement?
> 
> No idea.  I went back as far as the versions I had in my cache, but didn't
> pursue it any farther than that.  I suppose you could consider it a bug,
> since my xdm configuration as regards fonts is entirely stock, but based on
> d-u traffic I didn't think there were enough clued people running Xvnc in
> this manner to bother.
> 
> Dunno if it'd be xdm's or vncserver's bug, though, which is another reason
> not to go there.

Well, here shortly it should enter google's archives and be available
for the next person to get hit by this.

-- 
Jamin W. Collins

This is the typical unix way of doing things: you string together lots
of very specific tools to accomplish larger tasks. -- Vineet Kumar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: VNC's XDMCP requests now fail?

2004-09-05 Thread Marc Wilson
On Sat, Sep 04, 2004 at 08:49:34PM -0600, Jamin W. Collins wrote:
> Interesting, that was indeed it.  Once I added a -fp to the Xvnc
> invocation, everything worked fine.  Strange that has never been needed
> before.  Any idea what changed to make this a new requirement?

No idea.  I went back as far as the versions I had in my cache, but didn't
pursue it any farther than that.  I suppose you could consider it a bug,
since my xdm configuration as regards fonts is entirely stock, but based on
d-u traffic I didn't think there were enough clued people running Xvnc in
this manner to bother.

Dunno if it'd be xdm's or vncserver's bug, though, which is another reason
not to go there.

-- 
 Marc Wilson | That's one small step for a man; one giant leap
 [EMAIL PROTECTED] | for mankind.  -- Neil Armstrong


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: VNC's XDMCP requests now fail?

2004-09-04 Thread Jamin W. Collins
On Sat, Sep 04, 2004 at 02:51:48PM -0700, Marc Wilson wrote:
> On Fri, Sep 03, 2004 at 06:08:49PM -0600, Jamin W. Collins wrote:
> > Sep  3 17:45:35 thor wdm: X Error of failed request:  BadAlloc (insufficient 
> > resources for operation)
> > Sep  3 17:45:35 thor wdm:   Major opcode of failed request:  45 (X_OpenFont)
> 
> Sure... if you'll note the actual error, wdm is trying to find the font
> you've configured to display in the chooser, and failing.
> 
> Specify your fontpath *explicitly* in your Xvnc invocation, and you'll have
> no further problems.  I merely pointed mine to the font server running on
> the local LAN.  Or switch to a font that IS in the default fontpath Xvnc
> uses.
> 
> Been there, done that, got the t-shirt several weeks ago.

Interesting, that was indeed it.  Once I added a -fp to the Xvnc
invocation, everything worked fine.  Strange that has never been needed
before.  Any idea what changed to make this a new requirement?

-- 
Jamin W. Collins

This is the typical unix way of doing things: you string together lots
of very specific tools to accomplish larger tasks. -- Vineet Kumar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: VNC's XDMCP requests now fail?

2004-09-04 Thread Marc Wilson
On Fri, Sep 03, 2004 at 06:08:49PM -0600, Jamin W. Collins wrote:
> Sep  3 17:45:35 thor wdm: X Error of failed request:  BadAlloc (insufficient 
> resources for operation)
> Sep  3 17:45:35 thor wdm:   Major opcode of failed request:  45 (X_OpenFont)

Sure... if you'll note the actual error, wdm is trying to find the font
you've configured to display in the chooser, and failing.

Specify your fontpath *explicitly* in your Xvnc invocation, and you'll have
no further problems.  I merely pointed mine to the font server running on
the local LAN.  Or switch to a font that IS in the default fontpath Xvnc
uses.

Been there, done that, got the t-shirt several weeks ago.

-- 
 Marc Wilson |  media ethics is an oxymoron, much like
 [EMAIL PROTECTED] | Jumbo Shrimp and Microsoft Works.   not
 | to mention NT Security


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



VNC's XDMCP requests now fail?

2004-09-03 Thread Jamin W. Collins
For a while now I've been tunneling VNC over SSH and everythings worked
fine.  I'd configured inetd to kick off a VNC session on the remote
system and restricted to only allow connections from the loopback
address.  However, I noticed today that this was now broken on several
(most) of my systems.  The VNC session now immediately terminates on all
but one system.

After bit of searching I found the following errors in syslog:

Sep  3 17:45:34 thor Xvnc[5787]: connect from localhost (127.0.0.1)
Sep  3 17:45:35 thor wdm: Cannot open config file. Using builtin defaults
Sep  3 17:45:35 thor wdm: X Error of failed request:  BadAlloc (insufficient resources 
for operation)
Sep  3 17:45:35 thor wdm:   Major opcode of failed request:  45 (X_OpenFont)
Sep  3 17:45:35 thor wdm:   Serial number of failed request:  50
Sep  3 17:45:35 thor wdm:   Current serial number in output stream:  51
Sep  3 17:45:35 thor wdm: Greet: guarenteed_read error, UNMANAGE DISPLAY
Sep  3 17:45:35 thor wdm: Greet: pipe read error with /usr/bin/X11/wdmLogin

These appear to kick off every time the VNC client attempted a
connection and inetd attempted to start the VNC server.

I can replicate the errors by running the following command on the 
remote system:

   Xvnc -once :1 -query localhost

If the -query option is dropped, and thus VNC's XDMCP request, VNC works
fine.

I've tried switching display managers from wdm to xdm with no change in
the error message.  I've also tried both tight and real vnc on the
remote system without any change in the error.

Relevant portions of my configuration files:

/etc/X11/wdm/wdm-config:

   # Don't listen for XDMCP
   !DisplayManager.requestPort:0

/etc/inetd.conf:
   vnc stream  tcp nowait  nobody /usr/sbin/tcpd /usr/bin/Xvnc -inetd -query 
localhost -once -geometry 1024x768 -depth 24

/etc/hosts.allow:
   Xvnc: LOCAL

/etc/hosts.deny:
   ALL: ALL


Any ideas?

-- 
Jamin W. Collins

Remember, root always has a loaded gun.  Don't run around with it unless
you absolutely need it. -- Vineet Kumar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



xdmcp remote xserver probelm

2004-02-03 Thread Hendrik Sirges
Hi. 

I got a problem setting up remote connections to a xdmcp server.
gdm is running on the remote-machine.
i also commented out the nolisten tcp lines in /etc/X11/xfs/config
and /etc/X11/xinit/xserverrc
i changed only one line in gdm.conf:
[xdmcp]
Enable=true

when i try to start a remote xsession it crashes:

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/foo:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
XDMCP warning: INET6 UDP socket creation failed

snip
and exits with signal 11.

what  may went wrong? are there any services that should run to use 
remote xservers?

thanks in advance for you help.

hendrik



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: xdmcp & Xwilling problems

2004-01-07 Thread Vittorio
Solved, at last! I just added a one-character-line made of an '*' to
Xaccess file /etc/kde3/kdm

Ciao
Vittorio
 
[EMAIL PROTECTED] [debian-user] <04/01/04 16:07 +0100>:
> I'm trying ** for my first time ** to set up a simple X server communications
> between a portable (PC1) and a desktop PC  (PC2), connected thorugh eth0, BOTH
> using debian testing and kde 3.1.4.
> 
> In a nutshell I want to work on the desktop PC monitor, keyboard & mouse
> watching the portable screen  through the desktop monitor.
> 
> 
> I have the following in BOTH kdmrc
> 
> [Xdmcp]
> Enable=true
> Willing=/etc/kde3/kdm/Xwilling
> 
> Issuing the command
> 
> X -query PC1 :1
> 
> 
> (PC1 & PC2 are resolved in /etc/hosts and the th0 conenctions works correctly)
> 
> The following **intricated** diagnostics comes up
> 
> 
> (==) Log file: "/var/log/XFree86.1.log", Time: Sat Jan  3 14:10:05 2004
> 
> (==) Using config file: "/etc/X11/XF86Config-4"
> 
> Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:debug_xform.o":  No
> symbols found
> 
> Skipping "/usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o":  No symbols found
> 
> (EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
> 
> (WW) MGA(0): Failed to set up write-combining range (0x4100,0x100)
> 
> (EE) MGA(0): [drm] DRIScreenInit failed.  Disabling DRI.
> 
> 
> 
> Fatal server error:
> 
> XDMCP fatal error: Manager unwilling Host unwilling
> 
> 
> 
> 
> What shall I do?
> 
> Vittorio
> 
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


signature.asc
Description: Digital signature


xdmcp & Xwilling problems

2004-01-04 Thread [EMAIL PROTECTED]
I'm trying ** for my first time ** to set up a simple X server communications
between a portable (PC1) and a desktop PC  (PC2), connected thorugh eth0, BOTH
using debian testing and kde 3.1.4.

In a nutshell I want to work on the desktop PC monitor, keyboard & mouse
watching the portable screen  through the desktop monitor.


I have the following in BOTH kdmrc

[Xdmcp]
Enable=true
Willing=/etc/kde3/kdm/Xwilling

Issuing the command

X -query PC1 :1


(PC1 & PC2 are resolved in /etc/hosts and the th0 conenctions works correctly)

The following **intricated** diagnostics comes up


(==) Log file: "/var/log/XFree86.1.log", Time: Sat Jan  3 14:10:05 2004

(==) Using config file: "/etc/X11/XF86Config-4"

Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:debug_xform.o":  No
symbols found

Skipping "/usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o":  No symbols found

(EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)

(WW) MGA(0): Failed to set up write-combining range (0x4100,0x100)

(EE) MGA(0): [drm] DRIScreenInit failed.  Disabling DRI.



Fatal server error:

XDMCP fatal error: Manager unwilling Host unwilling




What shall I do?

Vittorio



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



XDMCP + LBX

2003-07-05 Thread Daniel Rogerio de Souza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I have a secure tunnel between a cable modem connected machine (REMOTE) and a
56k modem connected machine (LOCAL) thru openVPN. I successfully started a
remote login on LOCAL with the command "X :1 -query REMOTE -from LOCAL -once
vt08" from Konsole (KDE) running on vt07. But the connection is too slow. So
I need to set up LBX. I read the docs for lbxproxy, proxymngr and xfindproxy
and I can't see a way to combine the XDMCP stuff with LBX. I'll appreciate
any help you can give me.

Regards,

Daniel Rogerio de Souza
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/BtegxAaUHFfFIWoRAuUvAJ4yaMYYRs7iWRuivissxstcrv/9mgCg0Pb9
E/cqatFZ0jcogaf0jJSGqTQ=
=i+ev
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XDMCP and client requirements

2003-03-07 Thread Dave Sherohman
On Fri, Mar 07, 2003 at 02:52:44PM -0500, Bob Paige wrote:
> What about running X locally and starting the window manager remotely?

Doable, though I can't tell you offhand how to get the window manager
to run remotely, since I don't recall where it's started from.

> 1. less sensitive to NIC hiccups; assuming my NIC is being flaky, I 
> never noticed before when running locally-hosted applications, so I 
> would think that the connection would be re-established before a TCP 
> timeout (wouldn't it?)
> 2. window manager would present a list of apps installed on the server 
> (not the client)

Both make sense to me.

> Of course, the biggest disadvantage is starting the whole thing up 
> because it would require a manual step to go to connect to the server 
> and start the window manager, but I might be able to script that.

No manual intervention needed.  Create an ssh keypair with a null
passphrase (so ssh will connect without requiring a password) and
replace the standard window manager invokation with `ssh -X server
/path/to/windowmanager`.  Simple as that.

-- 
The freedoms that we enjoy presently are the most important victories of the
White Hats over the past several millennia, and it is vitally important that
we don't give them up now, only because we are frightened.
  - Eolake Stobblehouse (http://stobblehouse.com/text/battle.html)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XDMCP and client requirements

2003-03-07 Thread Bob Paige
Dave Sherohman wrote:

On Fri, Mar 07, 2003 at 09:19:04AM -0500, Bob Paige wrote:
 

Another variable, just in case it will shed any light: I'm using a USB 
ethernet adapter (Linksys USB100M; very small). I've heard in the past 
of problems with USB ethernet adapters disconnecting and causing 
problems, but even when I was running the locally installed image it 
never froze like this.
   

My luck with USB NICs has been pretty bad as well.  Any chance of
going to a more reliable connection?
Keep in mind that with XDMCP, the display is being managed by a
remote machine.  If you lose contact with that machine (like, say,
because of a flaky NIC), would you not expect the terminal to appear
to have locked up?  It may be running fine itself, but if it can't
send input to the XDMCP server or get display updates back...
 

What about running X locally and starting the window manager remotely? I 
_think_ the advantages would be:
1. less sensitive to NIC hiccups; assuming my NIC is being flaky, I 
never noticed before when running locally-hosted applications, so I 
would think that the connection would be re-established before a TCP 
timeout (wouldn't it?)
2. window manager would present a list of apps installed on the server 
(not the client)

Of course, the biggest disadvantage is starting the whole thing up 
because it would require a manual step to go to connect to the server 
and start the window manager, but I might be able to script that. Also, 
since it is running at home (behind a NAT box) I'm not so concerned 
about being hacked.

--
Bobman


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XDMCP and client requirements

2003-03-07 Thread Dave Sherohman
On Fri, Mar 07, 2003 at 09:33:18AM -0500, Bob Paige wrote:
> Another possibility I've considered would be to not use XDMCP but 
> instead NFS mount everything and invoke it from the client.

Yeah, that works pretty well, provided the client's RAM and CPU are
up to the task.

> I'm not 
> concerned about NFS security issues because this is just in my house. 

XDMCP is roughly as secure as NFS (and arguably less secure), given
that it's a plain-text protocol which, among other things, asks for
your password when you log in, then sends it across the network.

> The only way I can think of doing this would be to start X locally, open 
> an xterm, log into the server, and run apps from there.
> The display would be the client, but the CPU would be the server's.

If you're NFS mounting everything an running ot on the client, then
you're using the client's CPU.  If you want to use the server's CPU,
you would ssh to the server (with X tunnelling enabled) and use ssh
to tell the server to run it and display on the client's screen.

-- 
The freedoms that we enjoy presently are the most important victories of the
White Hats over the past several millennia, and it is vitally important that
we don't give them up now, only because we are frightened.
  - Eolake Stobblehouse (http://stobblehouse.com/text/battle.html)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XDMCP and client requirements

2003-03-07 Thread Dave Sherohman
On Fri, Mar 07, 2003 at 09:19:04AM -0500, Bob Paige wrote:
> Another variable, just in case it will shed any light: I'm using a USB 
> ethernet adapter (Linksys USB100M; very small). I've heard in the past 
> of problems with USB ethernet adapters disconnecting and causing 
> problems, but even when I was running the locally installed image it 
> never froze like this.

My luck with USB NICs has been pretty bad as well.  Any chance of
going to a more reliable connection?

Keep in mind that with XDMCP, the display is being managed by a
remote machine.  If you lose contact with that machine (like, say,
because of a flaky NIC), would you not expect the terminal to appear
to have locked up?  It may be running fine itself, but if it can't
send input to the XDMCP server or get display updates back...

-- 
The freedoms that we enjoy presently are the most important victories of the
White Hats over the past several millennia, and it is vitally important that
we don't give them up now, only because we are frightened.
  - Eolake Stobblehouse (http://stobblehouse.com/text/battle.html)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XDMCP and client requirements

2003-03-07 Thread jereme
Bob Paige <[EMAIL PROTECTED]> writes:
> Here's a related question: Once you are running an XDMCP session on
> the client, is there any way to invoke an executable on the client
> machine?

Connect to the Xterminal from your session host.  Export a DISPLAY
variable and then merge your xauth token from the session host into
the Xterminals ~/.Xauthority file.

Here are some details:

You are sitting at Xterminal logged into session_host.

session_host$ ssh Xterminal

Xterminal$ export DISPLAY=Xterminal:0

Make sure that the DISPLAY vars value matches the FQDN listed by
`xauth list' on the session host.

I don't let my Xterminal ssh to my session host so I do the rest from
the session_host, you could do it before ssh'ing to the Xterminal if
tha suits you better or allow ssh to the session host.

session_host$ xauth extract - $DISPLAY | ssh Xterminal xauth merge -

Then you can start xclients on Xterminal and have them make use of the
X server running locally.


hth,
jereme

-- 
+--+
Jereme Corrado <[EMAIL PROTECTED]>
System Administrator
Restorative Management Corp.

gpg: 1024D/9C39E1F0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XDMCP and client requirements

2003-03-07 Thread Bob Paige
Here's a related question: Once you are running an XDMCP session on the 
client, is there any way to invoke an executable on the client machine?

Specifically, I want to be able to turn off the screen on the client 
machine, which can be accomplished by running a special executable on 
the client. The image I am running locally (based on Midori) came with 
IceWM pre-configured to run this executable when the user hit the 
'power' switch on the keyboard. Makes it behave more like an appliance 
if you have 'instant-on' and 'instant-off' (so to speak).

Another possibility I've considered would be to not use XDMCP but 
instead NFS mount everything and invoke it from the client. I'm not 
concerned about NFS security issues because this is just in my house. 
The only way I can think of doing this would be to start X locally, open 
an xterm, log into the server, and run apps from there.
The display would be the client, but the CPU would be the server's.

Any better ways? The main reason I'm considering some workaround is 
because I'm assuming the problem has to be with the XDMCP connection.

--
Bobman


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   >