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


10

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


8

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


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

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

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

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.


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.


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


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

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

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


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


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

X11 is not installed in MacOS X Lion. MacOS X Lion users have to install XQuartz for ssh -X or -Y to work. For reference: About X11 and OS X Mountain Lion


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


3

Also, check that X11Forwarding is set to yes in /etc/ssh/sshd_config (it is apparently the default in Debian).


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


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 can try with the xset command : if [[ ! $(xset -q) ]]; then # the X server is not reachable else # the X server is reachable fi


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.


3

How about Cygwin/X?



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