Sponsored Content
Operating Systems Linux Forward X11 Putty+Xming without $HOME Post 302567231 by kl1ngac1k on Sunday 23rd of October 2011 10:15:55 AM
Old 10-23-2011
Forward X11 Putty+Xming without $HOME

Im trying to forward X11 from new servers by logging with NIS User, but no $HOME is mounted from NIS maps, this is how it was set-up.
I got Xming for X11 forwarding which works beautifully with putty, but it aint working with this situation where my $HOME folder is missing,
Means when Im logging via ssh in i get some message that could not chdir to $HOME and lock .Xauthority file which is logically, cause I dont have a $HOME.
My configuration was as follows Xming Display 10.
Putty X11 Forwarding with :10.0
in shell export DISPLAY="localhost:10.0"
In most cases it usually does the trick.
The problem can be solved by creating my local $HOME according to /etc/passwd's location on the server.

Thank you in advance for your advices.

Martin
 

9 More Discussions You Might Find Interesting

1. HP-UX

Xclient with xming on MSW to HPUX X11 / VUE 10.20

I was looking for a free tool to use a xclient on my Notebook to work with my CAD program on HPUX. I found and installed Xming and xlaunch - very nice an easy, after configured it connects to my HP C3600 WS 10.20 and I get the vue login. I can use the complete vue - only the right mouse key... (1 Reply)
Discussion started by: dlanor
1 Replies

2. UNIX for Advanced & Expert Users

Job execution through Xming

Hello, Every evening I run few shell scripts on AIX Production Box, One shell script takes about one hour to complete and does some DB updation and application processing etc. The shell scripts are getting launched from prompt and not through cron or any scheduler as they require some manual... (0 Replies)
Discussion started by: panchpan
0 Replies

3. Windows & DOS: Issues & Discussions

cygwin-x/can't install xorg-x11-f100 & xorg-x11-fnts

Hello All. Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start) 1. xorg-x11-f100 2. xorg-x11-fnts Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies

4. Solaris

Xming solaris

hello everyone, i recently got a Sun V245 server,after solaris 10 install i had to find a way of viewing a GUI for this machine. Buying a frame buffer or a sun workstation was not an option for the company that i work, so i desided to do a little search about this problem. I came accross Xming and... (6 Replies)
Discussion started by: walkinghead
6 Replies

5. Solaris

How to configure Xming

Hi , I installed Xming on my laptop . I have a remote server Sun Solaris 10, When I lanch xlaunch and do these export DISPLAY=10.149.132.111:0.0 xterm & Myserver:/Allsuite/test/dev/ENV23>xterm & 15071 Myserver:/Allsuite/test/dev/ENV23>bash: xterm: command not found It works fine... (1 Reply)
Discussion started by: dashok.83
1 Replies

6. UNIX for Advanced & Expert Users

[Solved] putty+x11:How do I pass X11 display rights to "su"?

I can log into a unix system with Putty. I've set the "X11 forwarding" checkbox, and I've verified that I can display an X11 window back on my laptop. What I need to be able to do is "su" to another uid after logging in and then run something which display a window back on my laptop, with the... (2 Replies)
Discussion started by: dkarr
2 Replies

7. Ubuntu

Iptables forward traffic to forward chain!!!

Hi, I am new to linux stuff. I want to use linux iptables to configure rule so that all my incoming traffic with protocol "tcp" is forwarded to the "FORWARD CHAIN". The traffic i am dealing with has destination addresss of my machine but i want to block it from coming to input chain and somehow... (0 Replies)
Discussion started by: arsipk
0 Replies

8. AIX

Multiple sessions with xming

Hi. I installed xming to access to my servers but I have a problem : i can only have one session at a time ... i don't find any parameter to change this. Tks (3 Replies)
Discussion started by: stephnane
3 Replies

9. AIX

Xming XTERM Emulation

Hello, everyone. I have successfully installed Xming and I am using Putty to connect to AIX 6.1. I am able to run xclock etc and they display graphically well, when I execute xterm I am getting a proper aixterm window but if I type in it I get characters different than the one I typed, I do not... (2 Replies)
Discussion started by: gio001
2 Replies
forward(4)						     Kernel Interfaces Manual							forward(4)

NAME
forward - forward mail SYNOPSIS
/var/adm/forward/username $HOME/.forward DESCRIPTION
The .forward file allows a user to forward messages to another host, or to invoke programs (such as vacation(1)) to process their mail. It is formatted as a series of comma-separated addresses in the form: addr_1, addr_2, ... Alternatively, each address can be on a separate line. The newer sendmail.v8 program also allows the use of comments (lines that begin with a ``#'') and blank lines. As with the aliases(4) file, mail messages can be forwarded to another host or given to programs for further processing. The following is an example of the vacation program. Assuming that the user's name is myra, create a .forward file and add the following line: myra, "|/usr/bin/vacation myra" The previous example forwards mail to myra (the backslash prevents an accidental aliasing loop), and also sends a copy of the message to the vacation program. For security reasons, the file must be owned by the user or by root and it should be writable only by the file owner. In addition, the file must be readable by the owner (myra) or root. On traditional systems, only the $HOME/.forward file is checked. The sendmail.v8 program allows the use of the system-wide forwarding directory /var/adm/forward. By default, this directory is checked for a forward file prior to examining the users $HOME directory. FILES
System-wide forwarding file. The per-user forwarding file. RESTRICTIONS
The sendmail command can hang trying to read the user's $HOME/.forward file. If the user's home directory is NFS-mounted and temporarily unavailable, sendmail will stall until the directory becomes available again. The use of non-NFS mounted directories for the forwarding of files is recommended. The use of /var/adm/forward is supported only by sendmail.v8. The actual path for /var/adm/forward is configurable in the sendmail.cf file. Incorrect file permissions/ownership are quietly ignored. It is easy to create an accidental loop, for example, on host_a myra@host_b and on host_b myra@host_a RELATED INFORMATION
Commands: aliases(4), sendmail.cf(4), sendmail(8) delim off forward(4)
All times are GMT -4. The time now is 12:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy