LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-16-2023, 12:12 AM   #1
patrick999
LQ Newbie
 
Registered: Jun 2022
Distribution: Mint
Posts: 12

Rep: Reputation: 0
Accessing computer remotely using VNC causes inability to access computer locally


I have a new problem with Vino VNC server, running on Mint version 21. The computer running VNC server is in my basement and is used primarily for running various VMs, backups, and batch jobs. Usually when I access it, I do so remotely from a laptop running a VNC client (Reminna).

At some point in the past few months, I started having a problem with this setup. Specifically, on the rare occasions when I'm in my basement messing around with my servers, and I need to access the computer in question locally to check something, I am unable to do so. All I get is a blank screen, and no combination of keystrokes will bring a signal. The only way I can get a signal on the screen is to go to a computer that has Reminna installed and connect to VNC remotely. Then, once I do, and the screen comes back on, I can access the screen locally. In other words, if the screen has timed out in a remote session, there is no way to bring the screen back in a local session.

I should also point out that the computer in question that runs the VNC server is connected to a monitor through VGA, not HDMI, because it also has IPMI, and due to a poorly designed motherboard, connecting via HDMI with integrated graphics prevents IPMI from working properly. I doubt the fact that it's connected through VGA matters, but I figured it was worth pointing out.

Any pointers anyone could provide would be appreciated.

Last edited by patrick999; 02-16-2023 at 12:14 AM.
 
Old 02-16-2023, 05:11 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,861

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
you need to allow 2 (or more) sessions, at least one remote session and one local (I guess now you can have only one session).
 
1 members found this post helpful.
Old 02-16-2023, 02:43 PM   #3
patrick999
LQ Newbie
 
Registered: Jun 2022
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: 0
That makes sense. However, I'm not sure how to change the number of sessions. I don't know about in Ubuntu or Debian, but at least in Mint, the GUI remote desktop manager was removed in the version that came out a few years ago, and the only way to configure Vino is by command line or shell script with gsettings. I have never fully understood gsettings, which I think is a Gnome thing but also works in Cinnamon, which is the Gnome fork used by Mint. I have never found a comprehensive list of gsettings commands to configure VNC. Also, from what I remember about the remote desktop GUI which used to exist, it did not have a setting for configuring the number of concurrent sessions.

VNC used to work out of the box, so that one could be logged in remotely and locally at the same time. In other words, in the past, multiple sessions were allowed. It's only in the past year that it no longer works. There have been all kinds of problems with VNC recently, including inability to access it remotely after the screen times out, which I had to fix a few months ago by disabling the keyring password as discussed in this thread: https://www.reddit.com/r/Ubuntu/comm...cks_turns_off/.

Anyway, if anyone knows how to increase the number of allowed sessions in Vino VNC server, I would appreciate hearing it.

Last edited by patrick999; 02-16-2023 at 02:57 PM.
 
Old 02-16-2023, 03:58 PM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,861

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
You don't need to know much about debian and/or ubuntu, but you need to check how can you configure vnc to allow more than one sessions. It has a config file and you need to read the documentation about it.
Probably this helps: https://superuser.com/questions/4340...heads-with-vnc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
absence of linux mint home page ,and inability to access forums katosan Linux Mint 5 12-04-2019 08:43 PM
[SOLVED] using two slackware computers how to ssh across, run xclock remotely and display locally myoung Slackware 9 08-01-2016 05:08 AM
VNC viewer showing black screen. unable to connect VNC server remotely on the server? cyberdome Linux - Server 1 08-01-2014 08:21 AM
ubuntu LAMP server, can't access site remotely, locally works by local ip and wan weylin Linux - Newbie 8 04-25-2012 06:37 AM
Inability to accessing shared directory through an unreadable one. Any way to do it? KTheorem Linux - General 2 04-15-2010 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration