Tag Info

Hot answers tagged

6

If you want to install x11vnc on the remote machine you can use it like this: ssh remote_ip_address sudo x11vnc -auth /home/some_user/.Xauthority -display :0 Remember to have X11 Forwarding enabled in sshd.config. And you need a VNC client. If you don't want to use VNC you can use any other program like Xnest: Xnest -geometry 1024x768 :1& DISPLAY=:1 ...


4

By default Ubuntu Server (as of 9.04) does not have xauth installed. You will need to install via apt-get as root or via sudo. [root@myserver]# apt-get install xauth In General it's a good idea to verify your SSH settings. On your server check to make sure /etc/sshd_config contains: X11Forwarding yes On your client ensure /etc/ssh_config contains: ...


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

Absolutely. Have Xvnc take the place of Xorg as the X server.


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

Please update the question for clarity, from reading this it sounds like you are trying to run a graphical app and have it appear on the X server running locally on the box you ssh'ed into. If that is the case you need to set the DISPLAY variable, you can get more information about that here: http://www.cisl.ucar.edu/docs/ssh/guide/node29.html ...


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


2

You can try to update/add the screen section to your xorg.conf file: Section "Screen" Identifier "Default Screen" Device "Generic Video Card" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection ...


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

As far as I am aware the x11 font server is now all but deprecated in favor of client side fonts. Ubuntu certainly doesn't use xfs any more (unless you specifically install it) and I doubt that Debian Unstable installs it by default either. After booting up, rather than restarting xfs, try stopping it. If everything continues to work as expected then just ...


2

I have set the scrolling to something like 65535 lines. Have you tried setting this to something more ... sane? Like 5000 lines. Experiment. Correlation may be causation, in this case. FWIW, my gnome-terminal is 38MB VIRT 15MB RES (while running htop), everything is default, and no compositing.


2

You need to install a few minimal X11 packages on your server. Not the whole thing, but stuff like xauth and fonts. You didn't mention your distro, but on RedHat/CentOS that would be like xorg-x11-xauth and xorg-x11-fonts-base. Often times, installing 'xterm' will pull in all the necessary dependencies for you. Sorry I don't know the whole list of required ...


2

I have this in bin/startvnc in my machines: x11vnc -display :0 -localhost -nopw -clear_mods If the box has other users on it remove the -nopw if you are paranoid about security. I login with something like this: ssh -C -L 5904:localhost:5900 box and then run startvnc then on my local machine run xvncviewer 0:1 It's not as automated as a single ...


2

[richardjh@centos ~]$ cat /etc/redhat-release CentOS release 5.4 (Final) [richardjh@centos ~]$ sudo yum list xorg-x11-server-Xorg Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile ... Excluding Packages in global exclude list Finished Available Packages xorg-x11-server-Xorg.i386 1.1.1-48.67.el5_4.1 updates ...


2

In X11 architecture, the "server" is the side where is the graphical output displayed. So you are probably doing this wrong. If you want to run remote apps on your local side, then you just export DISPLAY correctly. If you need to run remote apps and access them via VNC, then you should run Xvnc; thus no need to run any 'xorg -configure'. Xvnc is a (fake) X ...


2

You're installing a centos 4 package on what's most likely not a centos 4 machine. Get a version of the wine package that matches your OS. And if your os is really centos 4: time to upgrade, centos 4 doesn't even get security patches anymore.


2

I found a solution that works with puppet: in the file section, you need to include replace => "no". By default puppet will ship the right xorg.conf file, but once a user modifies it, the modification won't be overwritten. file { "$name": replace => "no", mode => 666, owner => root, group => ...


1

ssh -Y is what you want to use, you will have to install the package xbase-clients at a minimum (and some font packages), otherwise you'll see an error that the xauth binary doesn't exist. if xauth is installed, ssh -Y will setup the DISPLAY variable and add the Xauth for you, just start the application. The other solution is to run a VNC server on it, but ...


1

Odd question to ask here and good luck with the 5-6 users trying to use the 2 x 9800's at the same time but with regard to your questions then; a) you'll see little if any difference between copper and fibre at 1Gbps for the distances you mention and a managed switch usually doesn't inherently make your network quicker, it just allows you to see what your ...


1

I think I can answer the first question: if your clients are that close, Gigabit ethernet is equal to fiber but less expensive. so that's your answer there. As for network performance, the important thing to realize is that some cheaper 40-port gigabit switch cannot handle 40 Gbps of sustained traffic. Rather, a single bank has a limit for the net usage of ...


1

This appears to be a bug that has come about after recent updates. I too am suffering from this one. See here: ubuntuforums.org


1

Yes, the Xorg module allows you to share your :0 (local) display. In /etc/X11/xorg.conf in the "Module" section add Load "vnc" and in the "Screen" section add: Option "SecurityTypes" "VncAuth" Option "UserPasswdVerifier" "VncAuth" Option "PasswordFile" "/root/.vnc/passwd" Do explore other options for "UserPasswdVerifier." The VNC server ...


1

Run dpkg-reconfigure xserver-xorg as root or via sudo, accept the defaults if you're not sure. Then reboot. If you could post an error message etc also?


1

Heres a possible WayToDoIt, not sure how good it is though. x_works(){ # If there is no xdpyinfo # Bash will return 127 # If X cant connect, it returns 1 # If X can connect, it returns 0 xdpyinfo 1>/dev/null 2>&1 WORKS="$?" return $WORKS } if x_works; then ... This appears to be working.


1

I am guessing there is a better solution. But you can always just use a small tool like xclock and check the exit status. if [[ ! xclock ]]; then exit 1 fi pkill xclock But man, that is ugly :-) Less Hacky, put the following in checkX.c: #include <X11/Xlib.h> #include <stdio.h> int main() { Display *display; if( ! ...


1

Thanks for all the answers. I solved my problem using the /etc/init.d/skeleton script to call xinit. #! /bin/sh # ... Description and comments extracted ... # Do NOT "set -e" PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="Xorg server" NAME=xinit DAEMON=/usr/bin/$NAME DAEMON_ARGS="/path/to/.xinitrc" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME # ...


1

I've done this before by creating a new .desktop file similar to the ones that start KDE and Gnome that starts my application. Then I configure GDM (usually, KDM used to work as well, haven't used in years) to auto-login to my application's user using my new .desktop file as the session type. Mostly I use this on MythTV frontends.


1

I don't know the actual cause of the keyboard and mouse dying, but I would recommend two courses of action. 1) Unplug and plug them back in If that doesn't work, then... 2) ssh in and kill X yourself, then attempt to determine why the peripherals died, too


1

You might also consider just not starting the X server / GDM at boot and leaving the packages there. I guess they will take up some space and add time to updates, but other than that I wouldn't think they will cause any issues. For your situation you might really want them removed, or you might have already considered this, but I just though I would put it ...


1

I have the wrong VirtualBox command line expression. Running the following in a terminal: VirtualManage.exe setextradata BSD7.2-Mk2 CustomVideoMode1 1680x1050x16 and then making the appropriate entries in xorg.conf works. Unfortunately, it only works in 16-bit mode; 24-bit doesn't work.



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