Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Xvnc geometry problem

    Posted on

    I have my RHEL7 server configured for remote access via VNC.

    In /etc/services:

    # Local services
    vnc1024         5900/tcp                # VNC & XDM
    

    The contents of /etc/xinetd.d/vnc1024 (Yes, I know that it says '800x600' even though I called the service 'vnc1024'. I originally had the geometry set to 1024x768, but I changed it to 800x600 to see if changing it would have any effect. It doesn't seem to have had any effect at all.)

    service vnc1024
    {
    disable = no
    socket_type = stream
    protocol = tcp
    group = tty
    wait = no
    user = nobody
    server = /usr/bin/Xvnc
    server_args = -inetd -query localhost -geometry 800x600 -depth 16 -once -fp /usr/share/X11/fonts/misc -securitytypes=none
    }
    

    When I connect from a workstation via VNC, Xvnc seems to be started with the correct geometry option:

    # ps -fC Xvnc
    UID        PID  PPID  C STIME TTY          TIME CMD
    nobody    5078  5068  0 11:41 ?        00:00:02 Xvnc -inetd -query localhost -geometry 800x600 -depth 16 -once -fp /usr/shar
    

    But the VNC display created appears to have a size of 1920x1200, which is larger than my monitor's 1920x1080 resolution.

    I've searched the forum and Google, but I haven't found a similar issue. Can someone point me in the right direction?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat