Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21
Hello, I have a strange problem. I want to connect to my opensuse 10.3 only via remote(VNC, NX and ssh). Everything is working fine, but when I unplug my monitor ...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    16

    Remote access without plugged monitor

    Hello,

    I have a strange problem. I want to connect to my opensuse 10.3 only via remote(VNC, NX and ssh). Everything is working fine, but when I unplug my monitor opensuse is just booting up to command line login(autologin to KDE desktop is activated). If I restart afterwards via ssh the X-server/Desktop is loaded fine. How can I make sure my X-server/Desktop will be loaded on first time?

    Thanks
    Thomas

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    You need to run a script at logon that starts X

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Posts
    16
    Hello gogalthorp,

    could you give me some hints as Iīm a linux beginner?
    Where do I have to put the script in (/etc/init.d)?
    Why does it work when I boot second time via ssh? I mean thereīs still no script which starts X!

    Thanks
    Thomas

  4. #4
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    maybe .profile in the users home directory. Initd is already trying to load X but you have no monitor device. So you need to do it at user log in when you have the remote device connected and x can load.

    Note .profile is a hidden file.

    add the line startx this will start a x session with the default GUI.

  5. #5
    Just Joined!
    Join Date
    Mar 2008
    Posts
    16
    Hello gogalthorp,

    thanks again for your answer...
    I tried what youīve suggested, but it doesnīt work.
    I think there isnīt a problem, that the X-server doesnīt start...thereīs a problem with the autologin. Iīve checked it again, and autologin is active. As soon as I unplug my monitor the booting stops at the commandline login. When I plug afterwards the monitor itīs working again.
    Any ideas?

    Regards
    Thomas

  6. #6
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Sorry beyond me. Maybe someone else knows.

    Still not sure exactly what you are trying to do.

  7. #7
    Just Joined!
    Join Date
    Mar 2008
    Posts
    16
    ok...here again. I have enabled "autologin" for my opensuse 10.3 user "test".
    Inside System->Configuration->SaX2 I configured:
    Monitor: -->VESA 1024x768 (which is the resolution I want to have)
    Furthermore I activated for
    Remote Access: X-Server Remote Control:
    allow access to display and keyboard/mouse of your X-Server as enabled.

    Until my monitor is plugged everything is fine and my X-Server /KDE desktop is starting fine.

    Now Iīm going to UNPLUG my monitor, because I just want to access via remote(VNC/NX and ssh -X) WITHOUT plugged Monitor/Mouse/Keyboard.
    When Iīm rebooting now, my System stops at the commandline login...X-Server doesnīt start anymore like before when my monitor was plugged.

    I hope I explained my situation and you got now, what I want to do!?

    Where to setup that my desktop is starting WITHOUT plugged monitor?

  8. #8
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    How do you expect the X server to run without a monitor? What seems to be happening is that since there are no in out devices the init 5 processes are hanging. This is blocking the startx or what ever command you are using to start the remote GUI. I think you need to boot into level 3 (terminal) rather then GUI

    So now is the question why do you want to do this? Is this a server or is this just a second computer and you want to have only one keyboard video and mouse on your desktop? If the latter you might try a KVM switch.

  9. #9
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    If you are remoting in using ssh -X you don't need X running on the host computer. For VNC you would, but I would say if you are in a position to run an X server to facilitate ssh -X on the client/guest then just go with the ssh method.

    Or if you are running two desktops side by side I would recommend gogalthorp's suggestion of trying a KVM switch. It will be much faster.

  10. #10
    Just Joined!
    Join Date
    Mar 2008
    Posts
    16
    Itīs a server and there are graphical programms running on it.
    I donīt have a KVM-switch and I donīt want to buy one.
    I have already 4 PCīs running like this, and the X-server/desktop is running without monitor plugged..so itīs possible. I just donīt know why or how I got this work. I just know...first time when Iīve started without monitor, booting stopped at commandline login. Then I connected with putty and restarted them with
    "shutdown -r now". Afterwards my desktop was loading...but not always on the 1st try. Therefore I have to find out where I can configure this.
    Any ideas?

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...