Ubuntu Networking :: Ssh X Forwarding Not Setting Display?

Feb 1, 2011

At home, I am running Ubuntu 10.04.1 LTS with openssh server OpenSSH_5.3p1 Debian-3ubuntu5 In my office, we are using CentOS 5.5 with openssh OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 Both my /etc/ssh/sshd_config at home and my ~/.ssh/config has X forwarding enabled.When I log in to my home machine from my office with ssh -X -vv host, I got the following:

Code:

debug2: x11_get_proto: /usr/bin/xauth list :0.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0

But once I log in, I get:

Code:

home:~>echo $DISPLAY
DISPLAY: Undefined variable.

I tried setting DISPLAY to localhostx.0 (xx from 0 to 10) but none of that works. I have also tried ssh -Y but the result is the same.

View 4 Replies


ADVERTISEMENT

Networking :: X Forwarding Through SSH Not Working: $DISPLAY Not Set

May 7, 2011

I am trying to redirect my display from a debian box that I ssh into to my laptop. I connect using

Code:
$ssh -vv -XC remote.host
and in the debug messages all I get about X is this

Code:
debug1: Requesting X11 forwarding with authentication spoofing.
Once I'm connected, X forwarding does not work. For example, when I try and start, say, xcalc, I get

Code:
$xcalc &
Error: Can't open display:

It seems that the problem is the $DISPLAY variable is not set on the remote machine (echo $DISPLAY doesn't return anything), but from what I read, sshd is responsible for setting this variable, as long as "X11Forwarding yes" is uncommented in the /etc/ssh/sshd_config file (which I made sure is true). Is there any other reason why sshd won't open a display on the remote host?

View 5 Replies View Related

General :: X11 Forwarding - Error: Can't Open Display: <ip Of Display>

Jun 28, 2011

I have the following scenario that doesn't seem to work normally. I have a windows 7 pc from which I am using putty to connect to my other linux servers (all running redhat 5 and 6). So here is the scenario that works and one that does not work. And I'm trying to figure out the one that does not work. Scenario that works:

From windows 7 (putty) I ssh into Linux_Server_1.
echo $DISPLAY
localhost:10.0

I run xclock and I see it pop up on my windows 7 pc. I am using xming on windows 7 to help me populate the display from linux to windows. One that does not work:

From windows 7 (putty) I ssh into Linux_Server_1. Then from Linux_Server_1 I ssh into Linux_Server_2.
echo $DISPLAY
<no output>

I try to setup $DISPLAY with localhost:10.0 or 0.0 or even my windows 7 pc ip address:0.0 ....etc Then when I try to run xclock I doesn't work.

I get these error messages: Error: Can't open display: <ip of display>

Also as a side note all our Linux servers are sitting on one subnet. My pc is sitting on another subnet. I use vpn to connect to the subnet where the servers sit from my pc.

View 4 Replies View Related

Fedora :: Set The Display Size On X Forwarding?

Jul 22, 2010

How to set the display size avoiding taking up the whole screen.e.g.$ ssh -XC -c blowfish user@ip_address display:1 "gnome-panel"Does it take up the complete screen?

View 4 Replies View Related

Ubuntu :: X11 Forwarding Via Ssh Connection - Doesn't Forward To Display To Local Machine

Jul 30, 2010

I am trying to run xeyes on a remote machine via ssh connection. Both my local and remote machines are Ubuntu 10.04. I connect to remote server via ssh -X and It does not forward to display to my local machine...

Code:
root@goliath:/opt/install/bits# ssh -X -l root duke
root@duke's password:
Linux duke 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
Ubuntu 10.04 LTS
[Code]....

View 6 Replies View Related

General :: X11 Forwarding Failed - Error: Can't Open Display: MAC_ip:0.0

Mar 31, 2011

I also had ever tried all methods they mentioned, but my problem is still there. I am using a MAC OS X 10.6 ssh a remote redhat server. I hope to see X of redhat on my own MAC. Below is what I've done: 'MAC_ip' stands for my mac; 'redhat_ip' stands for redhat server.

1) ssh to redhat server
2) change to root
3) type command: DISPLAY=MAC_ip:0.0
4) type command: export
5) Back to MAC
6) change to root
7) type command: xhost +Redhat_ip
8) vim /etc/ssh_config, add X11Forwarding yes
9) Back to redhat, type: xclock

I got below message: Error: Can't open display: MAC_ip:0.0 I also tried some methods to login as others suggested:

[Code]....

View 10 Replies View Related

General :: Setting Up Iptables For Traffic Forwarding On Port 80 From Specific Sources?

Jun 1, 2010

Im running a web server on port80, but i want traffic coming from ip 212.333.111.222 on port 80 to be fowarded to port 9020 on the same server that my web server is rinning at that is my sshd port

View 1 Replies View Related

Networking :: Shorewall: Port Forwarding Port Is Closed Even After Forwarding?

Dec 12, 2009

I have just set up shorewall on my router running Arch Linux. The external network is on eth0 and the internal network on eth1.I have set it up for masquerading and that works fine and I can open ports to the firewall. But I'm having trouble with port forwarding to my internal machines.The problem I have is that when port 22350 is forwarded to 192.168.1.3 on my local network, checking the port with nmap from a remote computer gives me:

Code:
PORT STATE SERVICE
22350/tcp closed unknown

[code]....

View 2 Replies View Related

Ubuntu :: Xubuntu Setting Up Your X - Display?

Nov 9, 2010

I noticed that after certain installations in Xubuntu/Ubuntu and many other distro, some of the times the distro will load the correct video module and resolution for the most part but in others we are stuck in messing with the xorg.conf file. I have observer that in the newer distros they dont use xorg.conf anymore and have steered toward xrandr. My question is:

1 - If after an initial install you have no video and you know what hardware you have, how would you use xrandr to configure the machine to boot with the correct resolution and setting? 2 - I also read that you can still use the xorg.conf, would this still be the standard method of setup?

View 1 Replies View Related

Ubuntu :: Xubuntu Setting Up Your X - Display ?

Nov 9, 2010

I noticed that after certain installations in Xubuntu/Ubuntu and many other distro, some of the times the distro will load the correct video module and resolution for the most part but in others we are stuck in messing with the xorg.conf file. I have observed that in the newer distros they dont use xorg.conf anymore and have steered toward xrandr.

My question is:
1 - If after an initial install you have no video and you know what hardware you have, how would you use xrandr to configure the machine to boot with the correct resolution and setting?

2 - I also read that you can still use the xorg.conf, would this still be the standard method of setup?

View 7 Replies View Related

Ubuntu :: Change Gnome Display Setting?

Jan 12, 2010

i was using GDE in my ubuntu system. But yesterday i did some thing so my ubuntu system has changed as debian. My login screen changed and i cant access "system->administration->Login window"when i do this i am getting this error message"GDM (GNOME Display Manager) is not running.You might be using a different display manager, such as KDM (KDE Display Manager), CDE login (dtlogin), or xdm. If you wish to use this feature, then your system will need to be configured to use GDM instead."How to come back to my normal original ubuntu with GNOME.

View 3 Replies View Related

Ubuntu Multimedia :: Over Sized Display Setting With NVidia

Jan 5, 2010

I am new to Ubuntu (Karmic with GNOME). I have a Samsung LED UEB7020, with an Asrock ION 330 BD player feeding to a Onkyo TXSR607, AV rec. The other day I downloaded NVidia v180.25, which was very useful, because it immediately solved an earlier teething problem of no sound. However immediately upon re-booting and ever since, the screen size is too big for the TV, meaning that I can not see the top, bottom, side and left of the display by about 2 inches either way. I have checked the NVidia resolution settings and they are correct for the TV, ie 1920 by 1080.

My etc/X11/ xorg.conf file reads as follows:
Section "Screen"
Identifier "Default Screen"
DefaultDepth 24
EndSection

Section "Module"
Load "glx"
EndSection

Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

View 9 Replies View Related

Ubuntu :: Setting Main Display On Extended Desktops

Mar 17, 2010

I have extended desktop working on my netbook (finally, by turning off compiz), but now Gnome prefers my netbook's main screen as the main display (with the panel and such) instead of my external monitor.How can I switch this? I don't see any setting for it in the Display dialog.

View 3 Replies View Related

Ubuntu :: Manually Setting Display Settings In Gnome?

Jun 26, 2010

hen it loads up ubuntu, it automatically detects the settings and resets, but my tv says it can't display the video. I have an old CRT monitor I hook it up to to be able to change settings, but it won't let me change the settings in gnome for the TV. I think the settings it will need to have for the video card hooked up RGB and television would be 1336x768, is there a way that I can program that to where it doesn't automatically detect the monitor?

View 1 Replies View Related

Ubuntu :: Change Gnome Display Setting / Back To My Normal?

Jan 12, 2010

I was using GDE in my ubuntu system. But yesterday i did some thing so my ubuntu system has changed as debian. My login screen changed and i cant access "system->administration->Login window"
when i do this i am getting this error message
"GDM (GNOME Display Manager) is not running.
You might be using a different display manager, such as KDM (KDE Display Manager), CDE login (dtlogin), or xdm. If you wish to use this feature, then your system will need to be configured to use GDM instead."
How to come back to my normal original ubuntu with GNOME.

View 1 Replies View Related

Ubuntu Multimedia :: Setting External Monitor As Primary Display?

Aug 19, 2010

I have an ASUS 1000HE laptop running Lucid 10.04 (Desktop not netbook version) which I have connected to an external display (LCD). I don't intend to use the laptop by itself anymore therefore I have configured the display properties to turn off the laptop display and use the external display as primary. However, when the PC enters 'locked mode' or the display powers down after a defined period of time (as set in the properties) when I wake the PC and the display, it turns the laptop monitor back on .... switches the laptop screen to primary display (i.e. with the panels etc displayed on it) and extends the desktop to the external display! The only thing I can then do is go back into the configuration utility and turn the laptop monitor off again and boom, everything is fine and dandy displaying on the external display again! I don't really want to have to do this every time I come back to the PC after it has been locked nor do I want to write a script (if it can be avoided) to deal with it!

View 2 Replies View Related

OpenSUSE Hardware :: Display Setting For Two Screens ?

May 16, 2010

Not sure if I'm doing right to post this on this thread but I've got an issue with my laptop screen extension. I have plugged a vga monitor to my laptop for a right display extension. The idea is to put the right extension on the vga monitor but don't why the monitor is know my main screen and my laptop the extension. I have tried to change sides but the laptop is still the extension and not the main one as I want.

Is there a hard way to make this work?

Notes:
Video: ATI HD2300 with fglrx drivers.
KDE 4.4.3

Trying with ati catalyst panel and preferences-screen options

View 7 Replies View Related

OpenSUSE Install :: 11.3 KDE Won't Save Display Setting

Nov 26, 2010

Installed 11.3 KDE today on an old Vaio desktop we were given (Duron 900Mhz, 512mb, 40Gb HD, SiS630 onboard video, Trinitron 15" monitor). Everything works fine except it will not save the 800x600 resolution setting. Every time I reboot it is back to 1280x1024 which it thinks is the default resolution. Any tweak to get 11.3 to save that setting?

View 4 Replies View Related

OpenSUSE Network :: DISPLAY Variable Setting Over VPN?

Jun 9, 2010

I am connected to work via a VPN. I am logging into a Solaris box at work from OpenSuse 11, using ssh -X. I would like to start a GUI on the solaris box. The problem is that I don't know what value to give the DISPLAY variable. Is it the local internal LAN ip address, for my machine? I did try that, and I tested it using, xterm on the solaris machine. It says it can't open the display. I have enabled remote connections on my machine using xhost +.I have to run a performance test on the Solaris box at 7am in the morning... so need to find out how to start the GUI

View 6 Replies View Related

General :: Stop From Re-setting The Display Brightness?

Mar 16, 2010

After manually setting the display brightness on my laptop, the system re-sets the value. If the laptop is plugged in, the value is set to full brightness; if it is not plugged in, it is set to dimmer. How do I stop that behavior?

Note that I am not talking about what it does in response to the event of plugging in or unplugging my system. It changes on it's own - usually several minutes after I change the brightness value. I have observed this behavior on different systems, different distributions, and different desktop environments.

View 1 Replies View Related

Hardware :: Display Resolution Too Low - No Higher Setting Available / Get That?

Feb 13, 2009

New install PCLinuxOS, and the max resolution setting is 1024 x 768 (too low).

What do I need to change to reset the options? xorg.conf file??? Where's that?

View 2 Replies View Related

General :: How To Change Gnome Display Setting

Jan 11, 2010

i was using GDE in my ubuntu system. But yesterday i did some thing so my ubuntu system has changed as debian. My login screen changed and i cant access "system->administration->Login window"when i do this i am getting this error message"GDM (GNOME Display Manager) is not running.You might be using a different display manager, such as KDM (KDE Display Manager), CDE login (dtlogin), or xdm. If you wish to use this feature, then your system will need to be configured to use GDM instead." How to come back to my normal original ubuntu with GNOME.

View 1 Replies View Related

Debian Multimedia :: Setting Up LVDS Display In Jessie Stable

Jan 19, 2016

I am just trying to setup my debian 8.2 stable in my Intel(R) Atom(TM) CPU N2600 @ 1.60GHz. The installation goes smooth without any issues. For this system , we are planning to use DUAL display with HDMI & LVDS.

We see that that only HDMI is working and LVDS screen is blank. However, we notice that XRANDR is is showing LVDS as connected

XORG.log:http://pastebin.com/LX9HhRui
KernlogINfo:http://pastebin.com/U2E09iZk
lspci:http://pastebin.com/eBC8wLVu
xrandr:http://pastebin.com/bS5NmAnQ
dmidecode:http://pastebin.com/2qSsHE1s

View 5 Replies View Related

Ubuntu Networking :: How To Ssh 9.10 Without Port Forwarding?

Nov 21, 2010

I have a ubuntu 9.10 on my desktop in my office and I have another ubuntu on my home desktop. Both machines are behind a router. I guess many people have already asked the same question: how to remote control the office desktop from my home desktop?Many posts discussed about solving this by setting up ssh and port forwarding. But my situation is that I cannot control the router in my office so I cannot set up any port forwarding for my office desktop. So I guess my question becomes how to remote control my office desktop without setting up any port forwarding on the office router.

View 3 Replies View Related

Ubuntu Networking :: SSH - VNC - No-IP And Port Forwarding

Mar 26, 2011

I currently use a commercial VPN when working overseas for secure internet access.

I now also need to VNC to a home ubuntu desktop (which runs software 24/7 that I need to periodically check).

When overseas, I use a Ubuntu laptop and an Android tablet.

For the VNC I intend to use an SSH tunnel. So my question is: should I ALSO set up openVPN on the home computer (so I can stop paying for a commercial provider which routes all my traffic twice across the Atlantic...) or is it easier/better to use the SSH tunnel for the secure webbrowsing too? Something like a SOCKS proxy?

View 8 Replies View Related

Debian Configuration :: Gnome Power Manager Display Setting Not Respected?

May 19, 2011

Despite having the Gnome Power Manager set to put the display to seep after 30 minutes, it always happens after 5 minutes. The display will go blank but still lit, and then it powers off after the 30 minutes. Surely, if I set it to 30 minutes, the display should power off then, and not just blank after 5? I have no screensaver packages installed so it's nothing to do with that.

View 2 Replies View Related

OpenSUSE Hardware :: System Won't Retain Display Size Setting In SAX2

Jul 28, 2010

System won't retain 16:9 display size setting in YaST (SaX2). I'm using SuSE 11.1 (64 bit).

SaX2 settings as follows:

Monitor is Samsung Syncmaster XL2370-1 (digital). Resolution is set to 1920X1080 (1080p). Diagonal measurement set to 23 inches. Display size indicates 509 m.m. X 286 m.m. (20 3/8" X 11 1/2").

Aspect ratio is entered as 16:9, but after saving and restarting computer it keeps coming back as 16:10.

Samsung literature says 16:9, and measurements above confirm this.

So why does it keep going back to 16:10, and how can I get it to retain 16:9? (Same thing happens on another computer, also running SuSE 11.1, and with a second of these same monitors.)

View 9 Replies View Related

General :: Setting Primary Display (nvidia) Form Command Line

Apr 15, 2010

Normally I use disper to enable my external monitor, but I don't think I can force the 2nd monitor to be primary. [URL]

I've played around with nv-control-dpy included in the nvidia-control source, but I haven't figured out how to do it yet. How to get: [URL]

This is a laptop, to which I connect an external hdmi display when I get to work. dipser -e extends the desktop for me, but the laptop remains the primary desktop (holding the panels etc). nvidia-settings can set primary monitor for me, but I want to use the cli.

View 4 Replies View Related

Fedora :: Setting Display Size (No Scrolling To View Screen Contents)

Nov 20, 2008

I am running Fedora 9 in virtual box on laptop. Want to set Fedora display size so that I will not have to scroll up or down or sideways to view screen contents. Have tried a couple of options such a resize box and change from full size but these do not help reduce size of Fedora display. Am wondering if it as something to do with the rectangular size of laptop monitor???

View 5 Replies View Related

Ubuntu Networking :: Bind9 Forwarding / Caching DNS For VPN

Jan 6, 2010

I have Ubuntu 9.10 PC on my home network acting as a VPN gateway. It is using vpnc & iptables to provide access to the remote network - other computers on my local network have routing rules in place to go via the Ubuntu gateway if trying to reach an IP on the remote network. This works just fine, except DNS lookups for names on the remote network don't work.

I'm trying to solve this by using Bind9 on the gateway, so it can act as DNS for the local network. I don't want to create excess VPN traffic or load on the remote DNS, so I want the gateway to forward the lookup to my ISPs DNS first and if the name is not found then try the remote network DNS. Is this possible, or is there another (better) way around this? The Bind9 configs seem to admit multiple DNSs, but use them in a failover sense - only using secondary DNSs when the first one in the list is not reachable at all.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved