Remote X session, again
Matthew Carpenter
matt
Mon May 17 11:47:11 PDT 2004
Note to all SuSE 8.1 users: There is a bug in the Xstartup script which
doesn't setup remote GUI Logins, even if you set
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes" in /etc/sysconfig/windowmanager.
This is because they missed a variable-name-change between 8.0 and 8.1. To
fix this, you change the /etc/X11/xdm/Xstartup script as listed below (or you
should be able to "cd /etc/X11/xdm" and then run "patch". Then copy and paste
the following into the terminal and "CTRL-D" twice at the end. This is the
same as saving this as a file and then "patch < file.diff" from that
directory. I found this on the support site. Once these are done, run
SuSEconfig and restart X.
--- Xstartup 2003-05-08 15:42:48.000000000 -0400
+++ /etc/X11/xdm/Xstartup 2003-05-08 15:41:43.000000000 -0400
@@ -56,8 +56,8 @@
test "$LOCATION" = "console" && break
test "$LOCATION" = "localhost" && break
test "$LOCATION" = "`hostname -f`" && break
- test -s /etc/sysconfig/displaymanager && . /etc/sysconfig/displaymanager
- test "$DISPLAYMANAGER_ROOT_LOGIN_REMOTE" = "yes" && break
+ test -s /etc/sysconfig/displaymanager && . /etc/sysconfig/displaymanager
+ test "$DISPLAYMANAGER_ROOT_LOGIN_REMOTE" = "yes" && break
$xmessage -timeout 10 -default okay -center "No foreign root login
allowed"
exit 1
done
On Wed, 07 May 2003 20:00:27 -0400
Joel Hammer <Joel at hammershome.com> wrote:
> The cure was knowing that the system starts kdm, not X, so, you have to poke
> around in:
> /etc/kde3/kdm/Xservers
> Then, don't forget to run xhost+ .
> (My workstation is behind a firewall.)
> Joel
>
> ZKMthe fact that the command to start X is in
> On Wed, May 07, 2003 at 04:53:48PM -0700, Net Llama! wrote:
> > On 05/07/03 16:42, Joel Hammer wrote:
> > > I can log onto a computer using X :1 -query remotebox
> > > and run an X session.
> > >
> > > But, if I telent to the box, and try a graphical thinggee like gv, I get
> > >
> > > _X11TransSocketINETConnect: Can't connect: errno = 111
> > >
> > > I have removed the -nolisten tcp in Xserver, I have run xhosts+ on my
> > > workstation, and the display variable is properly set by telnet on the
> > > remote box. My firewall on the workstation is wide open.
> > >
> > > Although I am running X, what I don't see is X listening
> > > on 6000. There are no X servers listening, as a matter
> > > of a fact.
> > >
> > > I am using linodows (Debian).
> > >
> > > Any suggestions appreciated,
> >
> > sure, use ssh, and all of this is setup for you. if you insist on using
> > telnet, then you'll need to export your display on the remote end.
> >
> > --
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > L. Friedman netllama at linux-sxs.org
> > Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
> >
> > 4:50pm up 59 days, 16:15, 3 users, load average: 0.01, 0.02, 0.06
> >
> > _______________________________________________
> > Linux-users mailing list
> > Linux-users at linux-sxs.org
> > Unsubscribe/Suspend/Etc ->
> > http://www.linux-sxs.org/mailman/listinfo/linux-users
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc ->
> http://www.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list