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

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


3

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


2

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


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

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

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

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

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

You are mixing several 3rd party repositories. You need to set up the yum priorities plugin. Especially, EPEL is known to cause conflicts with other 3rd party repos. Please read and follow the instructions in: http://wiki.centos.org/AdditionalResources/Repositories http://wiki.centos.org/PackageManagement/Yum/Priorities Because you need wine, and wine is ...


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

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

Have you tried installing Guest Additions? From your VM, mount the ISO and run the script that corresponds to your OS.


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.


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

Sounds like it could be this known bug in Xorg 1.5: Bug 18259: Xorg 7.4 with xfs breaks GTK+ 1.2 applications, such as Xdialog I would be grateful if someone could point me to a relevant discussion list or bugzilla site, because I am stuck with this problem. Xorg bugzilla: http://bugs.freedesktop.org - use the product "xorg" Xorg mailing list: ...


1

I personally would recommend not running a GUI as root; it's a quick trip to always running as root (administrator), and that way lie viruses, spyware, and rootkits. They do exist for Linux. (That way also lies accidentally entering 'rm -rf /' on a terminal. As a normal user, it errors out. As root, it erases your hard drive. I learned this the hard way ;D) ...


1

Since I can't post comments... It would be helpful to know what chipset/graphics chip you're using. If its the Intel GMA 500, you'll find that there is very little support from Intel at this point. Checkout www.happyassassin.net/2009/01/30/intel-gma-500-poulsbo-graphics-on-linux-a-precise-and-comprehensive-summary-as-to-why-youre-screwed/ for more info on ...


1

If you set up the Modes (in SubSection Display of Section Screen), the X server will only use those (or quit if none of those can be used). So, just list all the resolutions that would be acceptable. I'd put something like this: Section "Screen" ... SubSection "Display" Depth 24 Modes "1440x900" "1280x1024" ...


1

Compositing requires certain graphical extensions (most commonly GLX) to be available on your graphics card and enabled in your X server. However, few drivers have simultaneous support for the technologies that drive Xinerama and GLX - enabling one tends to disable the other. Recent (GeForce 7 or so and newer) Nvidia cards are capable of enabling such ...


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?



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