Non-root users cannot run Xwindow

Aaron White awhite at ioppolo.com.au
Fri Nov 11 02:39:10 UTC 2005


Thanks to all, our xclock problem seems to be fixed; Xwindows are now
displaying on my XP machine.

Can anyone shed some light on the meaning of this error message:

~/jre/1.4.2/lib/i386/libawt.so: /usr/X11R6/lib/libXp.so.6: undefined
symbol: _Xsetlocale

It's happening when trying to start a java gui app; we had been led to
believe that this error was something to do with displaying xwindows,
however that no longer seems to be the problem.



-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Gavin McDonald
Sent: Friday, 11 November 2005 10:14 AM
To: 'General Red Hat Linux discussion list'
Subject: RE: Non-root users cannot run Xwindow

> Is it possible to get an xwindow to display directly to a windows XP
> laptop connected remotely?  If so, does the XP machine need additional
> software to display it?

Yes, and yes.  either a full-blown Xserver, or at least vncviewer, with
some
chicanery at the server-side...

> I've tried setting the display variable to that of my laptop; running
> xclock seems to pause my remote session until I ctrl-c out of it, but
it
> does not display anything.

If you're using SSH, do not change the DISPLAY variable.  SSH is
supposed to
take care of that itself...

-G

Regards,

Gavin McDonald
========================
EVI Logistic Enterprises
email: me at gavitron.com
phone: (604) 313-3845



> -----Original Message-----
> From: redhat-list-bounces at redhat.com [mailto:redhat-list-
> bounces at redhat.com] On Behalf Of Aaron White
> Sent: Thursday, November 10, 2005 6:00 PM
> To: General Red Hat Linux discussion list
> Subject: RE: Non-root users cannot run Xwindow
> 
> We were able to get xclock to display one the local machine using VNC
> Viewer, after following your suggestions. Thanks!
> 
> 
> 
> 
> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Rhugga Harper
> Sent: Friday, 11 November 2005 9:11 AM
> To: General Red Hat Linux discussion list
> Subject: Re: Non-root users cannot run Xwindow
> 
> That means that user doesn't have permission to use the local xserver.
> Typically the user that logs into the console 'owns' the display.
> 
> The easy fix is this:
> 
> As the user logged into the console:
> xhost +
> 
> Then as the using you want to run the X app:
> export DISPLAY=localhost:0.0 (probably not needed but depends on
> envrionment)
> xterm &
> 
> That should do it for you.
> 
> If you are using to access this box, check if the sshd server has
> X11Forwarding enabled (I believe it is by default for most distro's)
> 
> Then login an enable X tunnelling:
> 
> ssh -x <server>
> 
> Note: You can permanently enabled this in the ssh_config file on your
> client
> system, or by creating a $HOME/.ssh/config file.
> 
> -CC
> 
> 
> On 11/10/05, Aaron White <awhite at ioppolo.com.au> wrote:
> >
> > Hi,
> >
> > I have a user trying to run windowed apps from command line, without
> > success. It seems to work okay with root access, but our current
> > situation does not allow for this.
> >
> > For example, trying to open xclock as non-root user gives the error:
> > Xlib: connection to ":0.0" refused by server
> > Xlib: No protocol specified.
> >
> > Error: Can't open display: :0.0
> >
> > We are connected using VNC Viewer (or remote shell) and do not have
> > access to the local site.
> >
> > Another windowed program gives a java error:
> > ~/jre/1.4.2/lib/i386/libawt.so: /usr/X11R6/lib/libXp.so.6:
> > undefined symbol: _Xsetlocale
> >
> > I'm not sure if the two are related, but our installation docs
> suggested
> > using xclock to help troubleshoot
> > this problem. Alas, the docs did not mention what to do if xclock
did
> > *not* start.
> >
> > Regards,
> >
> > Aaron White
> > Ioppolo & Associates
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe
mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list