Tag Info

Hot answers tagged

21

I ended up removing the "XkbOptions" line from my xorg.conf, and adding this to Xfce's autostart: /usr/bin/setxkbmap -option "ctrl:nocaps" It turns the caps lock key into an additional Ctrl, which does the trick for me. If you wanted a straight swap, I believe "ctrl:swapcaps" would work. For what it's worth, this page is a fairly decent guide: ...


11

http://en.wikipedia.org/wiki/Xpra sounds more like what you want to do than VNC..


11

Here (Red Hat Login required) is a Tech Brief article from a fellow Red Hat consultant which discusses the minimum packages needed for X-Windows to work for SSH connections. The key points are: 1) Install the following: xorg-x11-xauth xorg-x11-fonts-* xorg-x11-utils 2) Enable the following in the sshd_config file X11Forwarding yes 3) Use an appropriate ...


11

Found the cause, my ~/.ssh/config was incomplete, you need both: Host * ForwardAgent yes ForwardX11 yes My mistake was that I included only the ForwardX11 option.


9

There are several ways to do this, the one I prefer is to forward the ssh port: First, connect to machine B and forward [localPort] to C:22 through B A$ ssh -L [localPort]:C:22 B Next, connect to C from A through this newly-created tunnel using [localPort], forwarding X11 A$ ssh -X -p [localPort] localhost Now we can run X11 programs on C and have ...


9

It's right there in the last line: debug1: Remote: No xauth program; cannot forward with spoofing. In addition to gedit, you'll also need to install an xauth package. If the Ubuntu server wasn't installed with an X Windows system (probable considering you had to manually install Gedit) this is clearly not present.


9

The ssh sessions started after I changed the Mac client's /etc/ssh_config to include the line: ForwardX11Timeout 596h are all working fine and have been all day. By now they all would have been refusing to start new xterms. So I believe this is the answer, and luckily a simple solution, but the timeout will still happen 3-1/2 weeks from now.


8

To enable X11 forwarding on the server you need at least the xauth program. Install xbase-clients on the server (or the package that contains xauth) Connect to the server with SSH using the following command ssh -X servername Run the program


8

Per dbus-launch(1): If DBUS_SESSION_BUS_ADDRESS is not set for a process that tries to use D-Bus, by default the process will attempt to invoke dbus-launch with the --autolaunch option to start up a new session bus or find the existing bus address on the X display or in a file in ~/.dbus/session-bus/ Whenever an autolaunch occurs, the application ...


7

It not works because I have /etc/ssh/sshrc End in sshd(8) writen next: If ~/.ssh/rc exists, runs it; else if /etc/ssh/sshrc exists, runs it; otherwise runs xauth So I write in /etc/ssh/sshrc next commands (also from man): if read proto cookie && [ -n "$DISPLAY" ]; then if [ `echo $DISPLAY | cut -c1-10` = 'localhost:' ]; then ...


6

You can remove groups with yum. yum groupremove "X Window System" "GNOME Desktop Environment" Use yum grouplist to see what groups you have installed.


5

Uncomment the below in /etc/ssh/ssh_config on both machines. ForwardX11 yes ForwardX11Trusted no


5

Based on information found in this page about enabling XDCMP and the file /etc/gdm/gdm.schemas, I managed to create the following file: # /etc/gdm/custom.conf [xdmcp] [chooser] [security] DisallowTCP=false [debug] I also changed the /etc/X11/xinit/xserverrc file to: exec /usr/bin/X11/X i.e. I removed the -nolisten tcp options to the X executable. I ...


5

This will depend on whether your graphics card driver supports it (if you advise what card you have then we can confirm this) but. xrandr --output <output> --rotate <direction> should do it. Check out man xrandr here is excerpt from the EXAMPLES section Sets an output called LVDS to its preferred mode, and on its right put an output ...


5

One option would be to set up X forwarding over ssh and run an X server on your local machine with the apps running on the server. A tutorial Enabling X11 forwarding in SSH HowTo Using XMing and PuTTY in Windows


5

Solved it. NX client seems to assign it's own shortcuts - but only on Ubuntu 10.10 does it assign minimize all windows to the 'd' character. Change it server side when logged in via the NX Client and the problem is fixed. Under Settings > Key Mappings > Minimize All Windows. It won't let you disable it, so just choose a key combo you'll never use (I chose ...


4

someapp --display <display identifier> or DISPLAY=<display identifier> someapp The display identifier is usually :0.


4

Actually, if I understand your need correctly you can just skip TCP altogether. Xvfb :0 -nolisten tcp Afterwards this works: DISPLAY=:0 xterm And you can check yourself with netstat -ntlp | grep Xvfb that Xvfb has no ports open.


4

Not easily. As of OpenSSH 5.1 the ~C escape commandline supports runtime creation of dynamic (-D) port forwards. If your local X server is listening on a TCP socket you could create a port forward to it. Nowadays most X servers don't. Supposing it is, though, you'd then need to set up the xauth data and set the DISPLAY environment variable. Internally, ...


4

This can easaly be accomplished using port fordwarding: A$ ssh -NL 2022:C:22 B & A$ ssh -X -p 2022 localhost C$ xclock Port localhost:2022 is forwarded to C:22 via B SSH to C via localhost:2022 Use X as normal


4

VNC will do this for you. It's the Unix version of remote desktop.


4

You can try with the xset command : if [[ ! $(xset -q) ]]; then # the X server is not reachable else # the X server is reachable fi


4

Installed this package: xorg-x11-xauth Got solution from here. Thanks for your help!


3

Following suggestion from Matt in the comments Set up an SSH tunnel plus a local private key using instructions from this link: http://www.serverwatch.com/server-tutorials/setting-up-vnc-on-ubuntu-in-the-amazon-ec2-page-2.html on ec2 ran these installers (not sure which ones are overkill - only that it eventually worked) sudo apt-get update sudo apt-get ...


3

X11 servers don't simply get started on demand. There has to be a running X11 server, your application has to know about the existence of the X11 server it should be using via the DISPLAY variable, and the account must be authorized to connect to the X11 server that the DISPLAY variable is pointing to (xauth). X11 forwarding built into SSH is great because ...


3

The error keeps coming back because it's using a mirror that is probably not fully sync'ed. So the package does not match the MD5 hash. You can try to specify a different mirror or use yum-fastestmirror plugin so it detects the fastest one automatically. EDIT Package to install EPEL: http://mirror.pnl.gov/epel/6/i386/repoview/epel-release.html List of ...


3

You could do this the easy way with NoMachine (NX). It's basically compressed X11 over SSH. So all you'll need on the remote side is a client (Mac, Windows, Linux) and to install a server piece on the RHEL6 box you're trying to connect to. Anything else if going to be a bit slow (raw X11 forwarding), choppy (VNC) or a pain to setup (what you're going ...


3

Ubuntu has a package: apt-get install xfonts-terminus xfonts-terminus-oblique Note that this is in the universe repository, so you may have to add that to /etc/apt/sources.list.


3

You're not going to break anything, no. Just make sure you leave the X client libraries on the system; various system configuration tools and application tools (read: Oracle installer) will use those.



Only top voted, non community-wiki answers of a minimum length are eligible