Tag Info

Hot answers tagged

19

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: ...


8

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.


7

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.


7

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


6

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

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 ...


5

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 ...


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 ...


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

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

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


4

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 ...


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, ...


3

Quick way to have a minimal X install with minimal user interface/window manager and vnc: apt-get install xserver-xorg-video-dummy vnc4server x11-xserver-utils xterm wm2 Start vnc, on the server in the account you want to use run: vnc4server enter password ** begin optional ** Optionally you may want to quit vnc and edit it's configuration and run it ...


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

Short answer, No, X is a brain dead protocol. Why X isn't dead by now is astonishing. (I had high hopes for display postscript but that went nowhere...). In X-windows the "Server" is your Mac. The client is the application you are running. X tells your Mac what to render and the Mac does all the work on drawing the screen. At best it's possible that ...


3

"Also, is it possible to just start an X11 session with a single app, like notepad or a file and folder browser?" Use X forwarding with SSH to forward the app that you wish to run locally; Replace gnome-terminal in the example below with the name of your remote app. ssh -X user@host gnome-terminal


3

You can do this, but not the way you think. What you want to do is use the SSH ProxyCommand configuration option (see ssh_config(5) for examples) to allow you to make an SSH connection directly from your local machine to the destination, tunneling the SSH connection inside one or more other connections. You're not making multiple "hops", just a series of ...


3

Using ProxyCommand like @womble told you works. For me another way works, too. I also need to occasionally run remote X programs from a computer that's behind another server, so I need to connect from my laptop to a server and from there to my final destination. I do it like this: ssh -YC me@myserver and then from the server ssh -YC me@myanothercomputer ...


3

It's been a while since I asked this question, so I thought I'd mention the solution we ultimately used. Hijacking the local X screen In the end, I just ran the remote opengl programs on the server's local X screen. The machine was running Ubuntu server edition and it wasn't running an xserver be default, so I had to set up an xserver to run at startup (I ...


3

You could do this fairly easily, but it won't be pretty. Basically you'd need to run three different Xservers on each of the different virtual terminals. The first one would be the normal X server running locally. The other two would need to be set up to use XDMCP. This really old HOWTO might be a good starting point.


3

Using 'xhost +' is a bad habit to get into. If you're having a problem with X11 and "can't open display ??:?", use xauth to exchange cookies and set the DISPLAY variable in the new environement. In this case, I've had success on Ubuntu 9.04 getting gksu to do that heavy lifting. (It didn't work for me til I added the --su-mode ) $ gksu --su-mode -u ...


2

This question belongs on SuperUser.com In the mean time, there is a file in /etc/X11 called xorg.conf which contains the screen configuration. There is probably also one or more backup files which contain previous configurations. You can try something like this: cd /etc/X11 sudo cp xorg.conf xorg.conf.BAD sudo cp name-of-backup-file xorg.conf Then switch ...


2

Found it here, credits to Ata Roboubi. Using the official nvidia driver, with "ConnectedMonitor" and "UseEDID"=False options as below, the driver will be forced to use the CRT-0 output without checking any EDID data. Even if you let a configured mode string into the file, it will fall back to 1024x768. /etc/X11/xorg.conf: Section "Device" ...


2

I don't think you want x11vnc. x11vnc is used for sharing existing X sessions through vnc. You probably want vncserver. A quick guide to starting up: $ vncpasswd Password: Verify: $ vncserver :1 Then launch vncviewer on the remote node, and connect to display 1.


2

Just try X11 Forwarding via SSH. It's very convenient and easy to configure You need not any monitors or video cards on your server, which is just headless. Yes, you should need Gnome or KDE if you want to a complete desktop. If having no desktop environment, you still can run single graphic application in your laptop. (try xclock, xlogo etc.) I highly ...


2

You've got it backwards - in X, the server is the display and the client is the software. So one machine can only act as a display server for itself. Doing otherwise requires something like vnc. The other implication of this, however, is that X software can be launched on a remote machine and have their display be local... the easy way is to first launch ...


2

You didn't specify GNOME or KDE, but KDE 4.2 has built-in support for this. If you look under System Settings > Accessibility, you can turn on the visual bell there. KDE also lets you customize actions for various system notifications that go beyond sounds. For example, you can show a popup, run a command, mark a taskbar entry, etc. This is under System ...



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