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
Protocol::Connection(3pm)				User Contributed Perl Documentation				 Protocol::Connection(3pm)

NAME
X11::Protocol::Connection - Perl module abstract base class for X11 client to server connections SYNOPSIS
# In connection object module package X11::Protocol::Connection::CarrierPigeon; use X11::Protocol::Connection; @ISA = ('X11::Protocol::Connection'); sub open { ... } sub give { ... } sub get { ... } sub fh { ... } ... # In program $connection = X11::Protocol::Connection::CarrierPigeon ->open($host, $display_number); $x = X11::Protocol->new($connection); $connection->give($data); $reply = unpack("I", $connection->get(4)); use IO::Select; $sel = IO::select->new($connection->fh); if ($sel->can_read == $connection->fh) ... DESCRIPTION
This module is an abstract base class for the various X11::Protocol::Connection::* modules that provide connections to X servers for the X11::Protocol module. It provides stubs for the following methods: open $conn = X11::Protocol::Connection::Foo->open($host, $display_num) Open a connection to the specified display (numbered from 0) on the specified $host. give $conn->give($data) Send the given data to the server. Normally, this method is used only by the protocol module itself. get $data = $conn->get($n) Read $n bytes of data from the server. Normally, this method is used only by the protocol module itself. fh $filehandle = $conn->fh Return an object suitable for use as a filehandle. This is mainly useful for doing select() and other such system calls. AUTHOR
Stephen McCamant <SMCCAM@cpan.org>. SEE ALSO
perl(1), X11::Protocol, X11::Protocol::Connection::Socket, X11::Protocol::Connection::FileHandle, X11::Protocol::Connection::INETSocket, X11::Protocol::Connection::UNIXSocket, X11::Protocol::Connection::INETFH, X11::Protocol::Connection::UNIXFH. perl v5.14.2 2003-01-27 Protocol::Connection(3pm)
All times are GMT -4. The time now is 11:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy