LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   xauth help (https://www.linuxquestions.org/questions/linux-newbie-8/xauth-help-558312/)

rf01001 06-01-2007 09:13 AM

xauth help
 
I am new to linux and want to get started. I am trying to run x server and have searched everywhere for information. I am at a stopping point and cannot figure out xauth.

I cannot find the xauth command.
I always get a "xauth: command not found" error.

I have looked in many places to find this command.

I have tried
/usr/bin/X11/xauth
/software/common/X11R5/bin/xauth

I have tried using # which xauth

I just kind find anything. Can someone please point out how to run xauth so I can run the x server?

wjevans_7d1@yahoo.co 06-01-2007 11:29 AM

On Slackware it's /usr/X11R6/bin/auth.

rf01001 06-01-2007 07:15 PM

That directory does not exist either. The only directory that I have that has X11 in it is
/usr/share/X11/

Does this mean anything?

wjevans_7d1@yahoo.co 06-02-2007 12:32 PM

If you're absolutely sure that the only X11 directory in your entire system is at /usr/share, then try this at the shell prompt:

Code:

find /usr/share/X11 -name xauth

Emerson 06-02-2007 12:41 PM

/usr/share/X11 is about the only X server directory in a system if ... X server is not installed. How about installing it before using?

rf01001 06-02-2007 11:11 PM

Ok. I tried find /usr/share/X11 -name xauth but I got nothing.
I also noticed that I have located in /etc/X11/ and also in /usr/lib/X11/

As far as installing X Server... I am new to linux and I am not sure where to go to do this. I have found many things about how to use xauth and tried using apt-get xbased-clients but that produces a "command not found" error as well.

rf01001 06-03-2007 12:09 AM

I guess this might help more than anything.
I am trying to use x server over ssh while using exceed and putty. I have a remote server. I just need x server and x display as I have installed a program (kerio mail server) that needs x server to be configured. I can not get the x11 forwarding to work because it can not find xauth. I don't know how to install xauth because I am being led to x server which leads me to xbased-client.
I am a normal windows user and know a lot of web programming but I am now lost.
I have the software to run my mail server and the dedication to learn yet another computer language but there are so many variations of linux out there I don't know what works for mine or not. I am running the latest version of redhat (I think). I can't remember after reading so many things recently!

Can someone please help me? Do I need to install x server? If so then how? Do I need different software? I can get it... that is not a problem. I just need direction and help.
:newbie:

Emerson 06-03-2007 06:45 AM

There are some obstacles on your way. There are good reasons not to run X on servers, X poses security problems and hogs up resources, generally nobody does it. Another problem is you need to run X server locally in order this to work.

rf01001 06-03-2007 12:23 PM

Doesn't exceed run x server locally? This is everything that I have seen on the web. I have seen a lot of sites talk about how to do what I am trying but I am just not able to figure it out. I am experienced in many different programming languages but linux is new to me and I want to learn but need some help.

Emerson 06-03-2007 12:37 PM

Whoops. Have no clue what exceed is (haven't touched Windows in years). What command are you using to start X on your server? ("Mail server" sounds like a production server, still do not think it's a good idea to run X on it.)

rf01001 06-03-2007 01:35 PM

Exceed was the x server that I had seen another website that was suggested for running x on a windows machine via ssh. I was trying to start x using startx. I get the error "command not found". So I did research and tried to find out why. Everything I find tells me to go the /usr/X11R6/ directory. I don't have that directory. This server was setup for me and I am just trying to turn it into a backup mail server for my company and yes it would be production server. There will not be any real data stored on it but rather a backup smtp server for my company to use. In order for me to configure the mail server (as I already installed it), the readme file says that I must run the administration console using X Server.

Emerson 06-03-2007 01:43 PM

startx - command not found - X server not installed.

What kind of mail server it is anyway. All mail servers I know are configurable from command line.

rf01001 06-03-2007 01:49 PM

It is Kerio Mail Server. If you know how to do it through the command line that would be great. Couldn't find the right documentation either. Trust me, I have looked a lot of different places. I never come to a forum and ask without spending days trying myself. So if you can point me in the right direction, I would so greatful.

rf01001 06-03-2007 01:57 PM

Sorry had to correct myself..... "if you can point me in the right direction, I would be very greatful".

Emerson 06-03-2007 02:02 PM

Never heard of Kerio.

http://www.kerio.com/manual/kms/en/ch27s02.html

It tells us there are two configuration files users.cfg and mailserver.cfg. I assume these are plain text files as it is common in UNIX world. If this is the case one can use an editor to edit these files ... and that's it.


All times are GMT -5. The time now is 05:34 AM.