LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-21-2024, 04:12 AM   #1
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Rep: Reputation: 26
Debian Bullseye - Synaptic not starting in VNC session


I have a Debian machine that runs in mostly-headless mode. I connect to it via VNC, which runs on desktop :2.

It has been recently upgraded to Bullseye. Since the upgrade, I can only run Synaptic (synaptic-pkexec) on the computer itself. It starts fine with password prompt. It works from both the menu item and terminal.

When running in remote VNC session, the menu item does nothing, but I can see (and subsequently kill) the process for synaptic in ps -e list. Running synaptic-pkexec in terminal hangs the terminal until Ctrl-C is pressed, and again nothing happens.

Did anyone experience and fix the same?

PS. I plan to upgrade to Bookworm in the near future - will it self-fix there? If yes, I will just proceed with upgrade.
 
Old 04-22-2024, 04:27 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,901

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
if I understand well probably it is put on :0, not on :2. So it is on another display. But it is only a guess.
 
Old 04-22-2024, 04:28 AM   #3
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by pan64 View Post
if I understand well probably it is put on :0, not on :2. So it is on another display. But it is only a guess.
Thanks, I could have the same guess. But how should I route it to :2?
 
Old 04-22-2024, 04:34 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,901

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
synaptic-pkexec is a small script executing pkexec synaptic
https://askubuntu.com/questions/1254...n-as-root-user
 
Old 04-22-2024, 08:07 AM   #5
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by pan64 View Post
synaptic-pkexec is a small script executing pkexec synaptic
https://askubuntu.com/questions/1254...n-as-root-user
I see. However, I don't understand how I can re-route the application to show on my desktop rather on :0.
 
Old 04-22-2024, 09:09 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,901

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
you can modify that synaptic-pkexec script to contain something like this: pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY synaptic
but you need to check it. You might want to save the original script before.
 
Old 04-22-2024, 09:13 AM   #7
darkduck
Member
 
Registered: Jan 2011
Location: Cyprus
Distribution: Kubuntu, OpenSuSE
Posts: 502

Original Poster
Rep: Reputation: 26
Angry

Quote:
Originally Posted by pan64 View Post
you can modify that synaptic-pkexec script to contain something like this: pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY synaptic
but you need to check it. You might want to save the original script before.
I tried to run it.. it does not work.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
LXer: Debian 11 "Bullseye" and Debian 12 "Bookworm" Are Coming After Debian 10 "Buster" LXer Syndicated Linux News 0 04-18-2018 12:26 PM
XFCE session in VNC not starting darkduck Linux - Software 30 02-10-2015 06:03 PM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-15-2010 11:30 PM
Fluxbox not starting in VNC session rh_bomani Linux - Desktop 2 08-17-2007 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:06 PM.

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